This is the Python interface to OpenMS, the computational mass spectrometry library that proteomics and metabolomics researchers actually use. It handles the full pipeline: reading mzML/mzXML files, signal processing, feature detection across LC-MS runs, and peptide identification workflows. The API wraps C++ underneath, so you get decent performance while staying in Python. Especially useful if you're dealing with quantitative proteomics where you need to align features across multiple samples or integrate results from search engines like Comet or Mascot. The parameter system takes some getting used to, but once you're past that, it beats writing custom parsers for every mass spec file format.

skills.sh installs
219
GitHub stars
33.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add davila7/claude-code-templates --skill pyopenms --agent claude-code

Installs into .claude/skills of the current project.

Files

PyOpenMS

Overview

PyOpenMS provides Python bindings to the OpenMS library for computational mass spectrometry, enabling analysis of proteomics and metabolomics data. Use for handling mass spectrometry file formats, processing spectral data, detecting features, identifying peptides/proteins, and performing quantitative analysis.

Installation

Install using uv:

uv uv pip install pyopenms

Verify installation:

import pyopenms
print(pyopenms.__version__)

Core Capabilities

PyOpenMS organizes functionality into these domains:

1. File I/O and Data Formats

Handle mass spectrometry file formats and convert between representations.

Supported formats: mzML, mzXML, TraML, mzTab, FASTA, pepXML, protXML, mzIdentML, featureXML, consensusXML, idXML

Basic file reading:

import pyopenms as ms

# Read mzML file
exp = ms.MSExperiment()
ms.MzMLFile().load("data.mzML", exp)

# Access spectra
for spectrum in exp:
    mz, intensity = spectrum.get_peaks()
    print(f"Spectrum: {len(mz)} peaks")

For detailed file handling: See references/file_io.md

2. Signal Processing

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Category
Python
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618

Recommended

More Python
1davila7 avatarpydeseq2davila7/claude-code-templatesDifferential gene expression analysis (Python DESeq2). Identify DE genes from bulk RNA-seq counts, Wald tests, FDR correction, volcano/MA plots, for RNA-seq ana217skills.sh installs
2davila7 avatarpennylanedavila7/claude-code-templatesCross-platform Python library for quantum computing, quantum machine learning, and quantum chemistry. Enables building and training quantum circuits with automa215skills.sh installs
3solatis avatarproblem-analysissolatis/claude-configInvoke IMMEDIATELY via python script when user requests problem analysis or root cause investigation. Do NOT explore first - the script orchestrates the investi215skills.sh installs
4davila7 avatarhubspot-integrationdavila7/claude-code-templatesExpert patterns for HubSpot CRM integration including OAuth authentication, CRM objects, associations, batch operations, webhooks, and custom objects. Covers No212skills.sh installs
5davila7 avatarazure-functionsdavila7/claude-code-templatesExpert patterns for Azure Functions development including isolated worker model, Durable Functions orchestration, cold start optimization, and production patter211skills.sh installs
6martinholovsky avatarasync-expertmartinholovsky/claude-skills-generatorExpert in asynchronous programming patterns across languages (Python asyncio, JavaScript/TypeScript promises, C# async/await, Rust futures). Use for concurrent 211skills.sh installs