{"library":"pyopenms","title":"pyOpenMS","description":"pyOpenMS is the Python wrapper for OpenMS, a C++ library for LC-MS data analysis and computational proteomics. Current version 3.5.0. Release cadence is approximately bi-annual.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install pyopenms"],"cli":null},"imports":["from pyopenms import MSExperiment","from pyopenms import MZMLFile"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from pyopenms import MSExperiment, MZMLFile\n\nexp = MSExperiment()\nMZMLFile().load(\"input.mzML\", exp)\nprint(f\"Number of spectra: {exp.size()}\")\nms2 = [s for s in exp if s.getMSLevel() == 2]\nprint(f\"Number of MS2 spectra: {len(ms2)}\")","lang":"python","description":"Load an mzML file and count MS2 spectra.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}