adaptyv
How to use the Adaptyv Bio Foundry API and Python SDK for protein experiment design, submission, and results retrieval. Use this skill whenever the user…
Complete mass spectrometry analysis platform. Use for proteomics and metabolomics workflows—feature detection, peptide/protein identification, label-free and isobaric quantification, adduct/accurate-mass annotation, and complex LC-MS/MS pipelines. Supports extensive file formats
$ npx -y skills add K-Dense-AI/scientific-agent-skills --skill pyopenms --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/pyopenmsContext preview
The summary Claude sees to decide when to auto-load this skill.
Complete mass spectrometry analysis platform. Use for proteomics and metabolomics workflows—feature detection, peptide/protein identification, label-free and isobaric quantification, adduct/accurate-mass annotation, and complex LC-MS/MS pipelines. Supports extensive file formats
name: pyopenms description: Complete mass spectrometry analysis platform. Use for proteomics and metabolomics workflows—feature detection, peptide/protein identification, label-free and isobaric quantification, adduct/accurate-mass annotation, and complex LC-MS/MS pipelines. Supports extensive file formats and algorithms. For simple spectral comparison and small-molecule library matching use matchms. license: 3 clause BSD license allowed-tools: Read Write Edit Bash compatibility: Requires Python 3.9+ and uv. Examples and scripts target pyOpenMS 3.5.0. metadata: version: "2.1" skill-author: K-Dense Inc.
PyOpenMS provides Python bindings to the OpenMS library for computational mass spectrometry, enabling analysis of proteomics and metabolomics data. Use it to read/write MS file formats, process raw spectra, detect and quantify features, identify peptides and proteins, and run end-to-end LC-MS/MS pipelines.
**This skill ships ready-to-run scripts in `scripts/`** covering the most common high-level workflows. Prefer running a script over writing new code—each is a parameterized CLI tool that handles loading, processing, and export. Drop into the Python API (and the `references/`) only when no script fits.
uv pip install pyopenms
Verify (note: `__version__` works, but the bundled binary prints a one-line memory-status notice on import that is harmless):
import pyopenms as ms print(ms.__version__) # 3.5.0
Run with `python scripts/<name>.py --help` for full options. All accept standard MS file formats and write featureXML/consensusXML/CSV/mzTab/PNG as appropriate.
| Script | What it does | |--------|--------------| | `inspect_ms_data.py` | Summarize any mzML/mzXML/featureXML/consensusXML/idXML (counts, RT/m/z ranges, TIC, metadata); optional per-spectrum CSV. | | `convert_format.py` | Convert between mzML/mzXML/MGF with optional MS-level, RT, and intensity filtering. | | `process_spectra.py` | Configurable signal-processing chain: smoothing (Gauss/SGolay), centroiding (PeakPickerHiRes), normalization, S/N and intensity thresholds. |
| Script | What it does | |--------|--------------| | `detect_features_metabo.py` | Untargeted metabolomics feature finding: MassTraceDetection → ElutionPeakDetection → FeatureFindingMetabo. | | `detect_features_centroided.py` | Peptide/centroided feature detection via FeatureFinderAlgorithmPicked. | | `align_link_quantify.py` | Multi-sample pipeline: detect (or load) features → RT alignment → consensus linking → quant matrix CSV. | | `consensus_to_matrix.py` | consensusXML → wide intensity matrix + metadata, with optional median/quantile normalization and long format. |
| Script | What it does | |--------|--------------| | `detect_adducts.py` | Group adducts/charge variants of the same neutral mass (MetaboliteFeatureDeconvolution). | | `accurate_mass_search.py` | Annotate features against HMDB by accurate mass (AccurateMassSearchEngine → mzTab/CSV). | | `export_gnps_sirius.py` | Export GNPS FBMN inputs (MGF + quant table) or a SIRIUS `.ms` file. |
| Script | What it does | |--------|--------------| | `process_identifications.py` | Re-index against FASTA, estimate FDR/q-values, filter (FDR/length/best-per-spectrum), export idXML + CSV. |
| Script | What it does | |--------|--------------| | `mass_calculator.py` | Monoisotopic/average mass, charged m/z, formula, and isotope pattern for peptides or empirical formulas. | | `digest_protein.py` | In-silico protease digestion of FASTA/sequence → theoretical peptides with masses and m/z. | | `theoretical_spectrum.py` | Generate annotated theoretical fragment spectra (b/y/a/c/x/z, losses) for a peptide. |
| Script | What it does | |--------|--------------| | `extract_chromatograms.py` | Build TIC/BPC and XIC traces for target m/z (CSV + optional plot). | | `plot_ms_data.py` | Quick plots: single spectrum, TIC, 2D feature map, MS1 signal map. |
# Inspect a file python scripts/inspect_ms_data.py sample.mzML --spectra-csv spectra.csv # Untargeted metabolomics: features for one sample python scripts/detect_features_metabo.py sample.mzML --out-csv features.csv # Full multi-sample quantification study python scripts/align_link_quantify.py s1.mzML s2.mzML s3.mzML --out-prefix study python scripts/consensus_to_matrix.py study.consensusXML --out quant.csv --normalize median # Peptide chemistry python scripts/mass_calculator.py --peptide "PEPTIDEM(Oxidation)K" --charges 1 2 3 --isotopes 5 python scripts/digest_protein.py proteins.fasta --enzyme Trypsin --missed 2 --out peptides.csv # Identification post-processing python scripts/process_identifications.py search.idXML --fasta db.fasta --fdr 0.01 --out filtered.idXML --csv hits.csv
These changed from older OpenMS releases—older tutorials and code will break:
`FeatureFinderAlgorithmPicked` (proteomics/centroided) or the `MassTraceDetection → ElutionPeakDetection → FeatureFindingMetabo` pipeline (metabolomics). See `detect_features_*.py`.
for peptide IDs (a plain Python `list` raises "can not handle type"). Protein IDs remain a plain list.
use `Elements:Charge:Probability` syntax (e.g. `H:+:0.4`, `H-2O-1:0:0.05`)—not bracket notation like `[M+H]+`.
`ConsensusMap` provides `get_intensity_df()` and `get_metadata_df()`.
`HMDB2StructMapping.tsv`; `accurate_
🔔 Claude Scientific Skills is now Scientific Agent Skills. Same skills, broader compatibility — now works with any AI agent that supports the open Agent Skills standard, not just Claude.
How to use the Adaptyv Bio Foundry API and Python SDK for protein experiment design, submission, and results retrieval. Use this skill whenever the user…
This skill should be used for time series machine learning tasks including classification, regression, clustering, forecasting, anomaly detection,…
AlphaGenome API key, free for non-commercial use from deepmind.google.com/science/alphagenome. ALPHA_GENOME_API_KEY is accepted as an alternative spelling.
Plan, execute, and document validation, verification, and transfer of analytical procedures under the governing framework - ICH Q2(R2) and Q14, USP…
Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data…
Autonomously improve a real artifact (code, training recipe, agent harness, data pipeline, prompt) against an objective and an evaluator, using Hypothesis Tree…