bulkrna-batch-correcti…
Load when correcting batch effects in bulk expression using R sva ComBat or the legacy Python parametric approximation. Skip…
Load when summarising cross-linking MS (XL-MS) results — intra/inter-protein link split,
$ npx -y skills add tiangzlab/omicsclaw --skill proteomics-structural --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/proteomics-structuralContext preview
The summary Claude sees to decide when to auto-load this skill.
Load when summarising cross-linking MS (XL-MS) results — intra/inter-protein link split,
name: proteomics-structural description: Load when summarising cross-linking MS (XL-MS) results — intra/inter-protein link split, optional FDR filtering, distance-constraint validation against a per-crosslinker (DSS / BS3 / EDC / DSSO / DSBU) max distance. Skip when raw spectra are the input (run XlinkX / pLink / xiSEARCH first); no XL-MS experiment was performed. trigger: structural proteomics, cross-linking MS, XL-MS, XlinkX, pLink, xiSEARCH tags: - proteomics - structural - xl-ms - crosslinking - dss - bs3 - dsso - dsbu - edc
The CLI defaults are DSS and fdr_threshold=0.05. DSS/BS3/DSSO/DSBU use 30 angstrom; EDC uses 20 angstrom. Use existing search-engine tables; this skill does not search raw spectra.
from skills._sdk.notebook import load_skill, write_output
library = load_skill('proteomics-structural')
data = library.demo_data(random_state=42)
result = library.analyse_crosslinks(data)
write_output(result, 'tables/crosslinks.csv')For real data, use `read_input` and pass any `read_table` helper as `reader=`. The executable `examples/example_step.py` also checks the result and writes a Figure.
<!-- api:begin generated from _api.py; regenerate with run.py api <skill dir> --write -->
Return filtered crosslinks with protein-pair and optional distance classifications.
:param data: Crosslink rows with protein_a and protein_b, optional fdr and distance_angstrom. :param fdr_threshold: CLI default 0.05; filters only when an fdr column is present. :param crosslinker: CLI default DSS; BS3, DSSO and DSBU use 30 A, EDC uses 20 A. :returns: New crosslink table; absent distance evidence remains unchecked in run_info. :raises ValueError: Protein identifiers, crosslinker or confidence threshold are invalid.
Read crosslink analysis diagnostics.
:param table: Output of analyse_crosslinks. :param keep: True preserves attrs; False removes diagnostics. :returns: A separate dictionary stating which optional checks ran. :raises TypeError: The input is not a DataFrame.
Plot measured crosslink distances.
:param table: Crosslinks containing distance_angstrom. :returns: A matplotlib Figure without writing files. :raises KeyError: distance_angstrom is absent.
Generate synthetic crosslink records in memory.
:param random_state: CLI seed 42; change for another simulation. :returns: Two hundred crosslinks with simulated distances and confidence. :raises ValueError: The seed is invalid.
<!-- api:end -->
The CLI defaults are DSS and fdr_threshold=0.05. DSS/BS3/DSSO/DSBU use 30 angstrom; EDC uses 20 angstrom. Functions return new DataFrames. `run_info(result)` reads diagnostic attrs; use `keep=False` before serialization when those attrs are not needed.
The CLI reads CSV tables and writes:
Functions return data and Figures without writing files. Steps own their outputs. Demo mode also writes its synthetic input when the original CLI used a file.
python skills/proteomics/proteomics-structural/struct_proteomics.py --demo --output /tmp/proteomics_structural
For real input replace `--demo` with `--input <table>`.
`numpy`, `pandas`, `matplotlib`
Conversational & memory-enabled AI research partner for multi-omics analysis. CLI + Desktop App (installers in Releases). From biological idea to full research paper.
Load when correcting batch effects in bulk expression using R sva ComBat or the legacy Python parametric approximation. Skip…
Load when discovering bulk gene co-expression modules and hub genes with R WGCNA. Skip direct expression contrasts (use…
Load when comparing gene expression between two conditions in bulk RNA-seq count data. Skip
Load when estimating cell-type proportions in bulk RNA-seq samples from a single-cell or
Load when running pathway / GO term enrichment on a bulk RNA-seq DE result list. Skip when
Load when converting Ensembl, Entrez or symbol IDs in a bulk RNA count matrix using an explicit mapping or a small human demo…