agentleFS
zongtingweizongtingwei/Bioclaw_Skills_Hub/skills/proteomics-and-metabolomics/proteomics/SKILL.md

proteomics

Skill27 starsChanged 8 months agoMITView on GitHub

Mass spectrometry proteomics QC, quantification, comparative analysis, and export for DDA, DIA, and protein-level result tables.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the user needs:

    line 21
  2. Distinctive:

    Read technical_reference.md for assay branching, QC interpretation, and missingness handling.

    line 43
  3. Distinctive:

    Read commands_and_thresholds.md for table-loading patterns, QC thresholds, and output conventions.

    line 44
  4. Distinctive:

    Keep the normalization approach explicit and do not collapse peptides into proteins without documenting the rule.

    line 94
  5. Distinctive:

    Use replicate-aware differential abundance with clear filtering and missingness policy.

    line 98
  6. Distinctive:

    do not trust differential calls before batch structure and missingness are understood

    line 123

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Proteomics

Version Compatibility

Reference examples assume:

  • pyopenms 3.0+
  • pandas 2.2+
  • numpy 1.26+
  • seaborn 0.13+

Overview

Use this skill when the user needs:

  • proteomics QC
  • protein table cleanup
  • replicate review
  • differential abundance analysis
  • publication-ready proteomics figures

When To Use This Skill

  • MaxQuant, FragPipe, DIA-NN, or similar outputs exist
  • the task is protein-level quantification or comparative proteomics
  • missingness, batch effects, and replicate quality need review before interpretation

Quick Route

  • DDA and DIA should not be treated identically
  • protein-level tables should remain distinct from peptide-level tables
  • QC comes before differential analysis

Progressive Disclosure

  • Read technical_reference.md for assay branching, QC interpretation, and missingness handling.
  • Read commands_and_thresholds.md for table-loading patterns, QC thresholds, and output conventions.

Expected Inputs

  • protein or peptide result table
  • sample metadata
  • assay context: DDA, DIA, PTM-enriched, or targeted

Expected Outputs

  • results/protein_abundance.tsv
  • qc/proteomics_qc_summary.tsv
  • figures/correlation_heatmap.pdf
  • figures/missingness.pdf
  • results/differential_proteins.tsv

Starter Pattern

import pandas as pd

protein_df = pd.read_csv("protein_groups.tsv", sep="\t")
sample_cols = [c for c in protein_df.columns if c.startswith("LFQ intensity")]
matrix = protein_df[sample_cols].replace(0, pd.NA)
qc = pd.DataFrame({
    "n_proteins": matrix.notna().sum(),
    "missing_pct": matrix.isna().mean() * 100,
})
qc.to_csv("qc/proteomics_qc_summary.tsv", sep="\t")

Workflow

1. Clarify assay and table level

  • DDA versus DIA
  • peptide versus protein table
  • PTM-enriched versus unenriched data

2. Run QC before comparisons

Inspect:

  • missingness
  • replicate correlation
  • batch effects
  • intensity distributions

3. Normalize and summarize consistently

Keep the normalization approach explicit and do not collapse peptides into proteins without documenting the rule.

4. Perform comparative analysis

Use replicate-aware differential abundance with clear filtering and missingness policy.

5. Export interpretable artifacts

Save both the cleaned abundance matrix and the differential results table.

Output Artifacts

results/
├── protein_abundance.tsv
└── differential_proteins.tsv
qc/
└── proteomics_qc_summary.tsv
figures/
├── correlation_heatmap.pdf
├── missingness.pdf
└── intensity_density.pdf

Quality Review

  • overall missingness > 30% should trigger caution
  • technical replicate correlation should usually be > 0.9
  • biological replicate correlation much below 0.8 deserves review
  • do not trust differential calls before batch structure and missingness are understood

Anti-Patterns

  • mixing peptide and protein tables in one downstream matrix
  • running differential abundance before QC
  • ignoring missingness patterns
  • hiding whether values are raw, normalized, or imputed

Related Skills

  • Metabolomics
  • Structural Biology

Optional Supplements

  • pyopenms

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.