bulkrna-batch-correcti…
Load when correcting batch effects in bulk expression using R sva ComBat or the legacy Python parametric approximation. Skip…
Load when ingesting a MaxQuant `proteinGroups.txt`, FragPipe `combined_protein.tsv`, DIA-NN
$ npx -y skills add tiangzlab/omicsclaw --skill proteomics-data-import --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/proteomics-data-importContext preview
The summary Claude sees to decide when to auto-load this skill.
Load when ingesting a MaxQuant `proteinGroups.txt`, FragPipe `combined_protein.tsv`, DIA-NN
name: proteomics-data-import description: Load when ingesting a MaxQuant `proteinGroups.txt`, FragPipe `combined_protein.tsv`, DIA-NN report, or generic CSV / TSV protein-quantification table — normalises columns to a standard schema, emits `tables/proteins.csv`. Skip when raw spectra are the input (run the search engine first); the file is already OmicsClaw schema. trigger: data import, convert proteomics, format conversion tags: - proteomics - import - maxquant - fragpipe - diann - spectronaut
maxquant is the default; fragpipe, diann and generic normalize their own column names. read_table detects CSV/TSV separation. 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-data-import')
data = library.demo_data(random_state=42)
result = library.standardize(data)
write_output(result, 'tables/proteins.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 -->
Read a CSV or TSV; pass this function as reader= to read_input.
:param path: Search-engine output file; the first line selects comma or tab separation. :returns: Unmodified input columns as a DataFrame. :raises OSError: The file cannot be read.
Return a standardized copy of a search-engine protein table.
:param data: Original protein table with engine-specific column names. :param format: CLI default maxquant; fragpipe, diann and generic use their own mappings. :returns: Protein table; MaxQuant reverse, contaminant and site-only flags are filtered. :raises ValueError: The format is unsupported.
Read import diagnostics.
:param table: Standardized protein table. :param keep: True preserves attrs; False removes diagnostics. :returns: A separate diagnostic dictionary. :raises TypeError: The input is not a DataFrame.
Plot numeric column medians for checking an imported table.
:param table: Standardized protein table; numeric metadata is included. :returns: A matplotlib Figure without writing files. :raises TypeError: The input is not a DataFrame.
Generate a synthetic MaxQuant table in memory.
:param random_state: CLI seed 42; change for another simulation. :returns: Two hundred protein rows, including five flagged rows. :raises ValueError: The seed is invalid.
<!-- api:end -->
maxquant is the default; fragpipe, diann and generic normalize their own column names. read_table detects CSV/TSV separation. 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-data-import/proteomics_data_import.py --demo --output /tmp/proteomics_data_import
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…