pyopenms
Analyze mass spectrometry data
Also available from: davila7
Process proteomics and metabolomics data with comprehensive mass spectrometry tools. This skill provides access to OpenMS algorithms for file format handling, spectral processing, feature detection, and peptide identification workflows.
Download the skill ZIP
Upload in Claude
Go to Settings → Capabilities → Skills → Upload skill
Toggle on and start using
Test it
Using "pyopenms". Load an mzML file and show me the first spectrum
Expected outcome:
- Use MSExperiment to hold the data and MzMLFile to load it
- Access spectra via iteration or getSpectrum(index) method
- Extract m/z and intensity values with get_peaks() which returns numpy arrays
- Get metadata like MS level and retention time with getMSLevel() and getRT()
Using "pyopenms". How do I apply signal processing to my spectra?
Expected outcome:
- Use GaussFilter or SavitzkyGolayFilter for smoothing
- Set parameters with getParameters() and setValue()
- Apply with filterExperiment() method
- Consider normalization with LinearNormalizer before processing
Security Audit
SafeThis skill contains only markdown documentation files with Python code examples. The static analyzer incorrectly flagged markdown syntax patterns as security threats. All 295 static findings are false positives. No executable code exists in this skill.
Risk Factors
⚡ Contains scripts
🌐 Network access (1)
📁 Filesystem access
🔑 Env variables
Quality Score
What You Can Build
Quantitative proteomics
Process LC-MS/MS datasets to identify and quantify proteins across multiple samples
Pipeline development
Build automated mass spectrometry data processing pipelines with Python
Metabolite analysis
Perform untargeted metabolomics preprocessing and feature annotation
Try These Prompts
How do I load an mzML file and access the spectra and chromatograms using pyopenms?
Show me how to detect features in centroided mass spectrometry data using the FeatureFinder in pyopenms.
How do I load identification results from an idXML file and apply false discovery rate filtering in pyopenms?
Create a complete pyopenms workflow that loads mzML data, processes spectra, detects features, and exports results to a pandas DataFrame.
Best Practices
- Use IndexedMzMLFileLoader for large files to avoid loading entire dataset into memory
- Apply appropriate signal processing (smoothing, filtering) before feature detection
- Validate file existence with os.path.exists() before loading data
Avoid
- Loading very large mzML files entirely into memory without using streaming or indexed access
- Skipping quality control steps before downstream analysis
- Ignoring instrument metadata that may affect data interpretation
Frequently Asked Questions
What file formats does pyopenms support?
How do I install pyopenms?
Can pyopenms run without OpenMS installed?
Does pyopenms include search engines?
How do I export data to pandas?
What is the difference between pyopenms and matchms?
Developer Details
Author
K-Dense-AILicense
3 clause BSD license
Repository
https://github.com/K-Dense-AI/claude-scientific-skills/tree/main/scientific-skills/pyopenmsRef
main
File structure