Skip to content

MassQL

MassQL is a mass-spectrometry query language with a reference Python implementation, command-line utility and documented web interfaces.

Catalog updated ·

Overview

MassQL is a mass-spectrometry query language with a reference Python implementation, command-line utility and documented web interfaces.

The process_query Python interface and massql CLI apply spectrum-centric expressions to data such as mzML and can return tabular query results.

Query matches are evidence for specified spectral conditions, not definitive molecular identifications. Hosted endpoints receive submitted queries or data; their availability was not exercised. MIT covers this implementation.

Key Features

  • The process_query Python interface and massql CLI apply spectrum-centric expressions to data such as mzML and can return tabular query results.

Use Cases

  • Search collections for spectra satisfying explicit mass, neutral-loss and intensity conditions.

How to Use

Install the package in a compatible Python environment, select an input spectrum file and construct a MassQL expression. Inspect the returned table and query tolerances.

See the official repository for installation and interface details: https://github.com/mwang87/MassQueryLanguage

Sources and verification

This entry describes capabilities documented by the linked project sources. Catalog edits are not evidence of a successful run, compatibility test or scientific performance evaluation.

Read the editorial and verification policy

Related resources

MassSpecGym provides MS/MS data and evaluation infrastructure for molecule generation, molecule retrieval and spectrum simulation.

Open sourcePython

Molecular Generation · Spectroscopy · Scientific Data

MetaboT

Agent

MetaboT is an LLM multi-agent framework that turns metabolomics questions into SPARQL queries over knowledge graphs.

Open sourcePython

Spectroscopy · Scientific Data

nf-core/metaboigniter is a Nextflow pipeline for mzML metabolomics processing, feature detection, alignment and candidate annotation.

Open source

Spectroscopy · Scientific Data

nmrglue

Open Source

nmrglue reads, writes and processes NMR data in Python, supporting Varian, Bruker, NMRPipe and Sparky formats together with apodization, transforms, baseline correction and peak analysis routines.

Open sourcePython

Spectroscopy · Scientific Data

OpenMS is a mass-spectrometry analysis toolkit with a C++ library, TOPP command-line tools and pyOpenMS Python bindings.

Open sourcePythonC++

Spectroscopy · Scientific Data

SpectraQL

Open Source

SpectraQL adds MassQL query support to R for mass-spectrometry data stored in Bioconductor Spectra objects.

Open source

Spectroscopy · Scientific Data

Related guides

Overview

MCP vs Skills vs Agents vs APIs: What's the Difference?

Understand how APIs, MCP servers, Skills, and agents divide interface, procedural guidance, execution, and planning responsibilities in chemistry workflows—and how to choose or combine them without confusing access with scientific validity.