{"id":28093,"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.","status":"active","version":"3.5.0","language":"python","source_language":"en","source_url":"https://github.com/OpenMS/OpenMS","tags":["proteomics","mass-spectrometry","bioinformatics","LC-MS"],"install":[{"cmd":"pip install pyopenms","lang":"bash","label":"pip install"}],"dependencies":[{"reason":"Required for numerical operations","package":"numpy","optional":false},{"reason":"Optional for plotting spectra","package":"matplotlib","optional":true}],"imports":[{"note":"","wrong":"","symbol":"MSExperiment","correct":"from pyopenms import MSExperiment"},{"note":"","wrong":"","symbol":"MZMLFile","correct":"from pyopenms import MZMLFile"}],"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."},"warnings":[{"fix":"Be patient; pre-built wheels are available on PyPI for many platforms. Use a virtual environment.","message":"Library is large and can take a long time to install or import; first import may appear to hang.","severity":"gotcha","affected_versions":"all"},{"fix":"Use pyopenms types like StringList or std::vector wrappers when expected.","message":"Some functions accept C++ types directly; passing Python lists of strings may fail silently or raise cryptic errors.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'3.5.0':23 'analysi':17 'annual':30 'approxim':27 'bi':29 'bi-annu':28 'bioinformat':35 'c':10 'cadenc':25 'comput':19 'current':21 'data':16 'lc':14,37 'lc-ms':13,36 'librari':11 'mass':33 'mass-spectrometri':32 'ms':15,38 'openm':8 'proteom':20,31 'pyopenm':1,2 'python':5 'releas':24 'spectrometri':34 'version':22 'wrapper':6","created_at":"2026-05-09T05:53:41.576597+00:00","updated_at":"2026-05-09T05:53:41.576597+00:00","problems":[{"fix":"Run `pip install pyopenms` in your active Python environment. Ensure you are using Python 3.7+.","cause":"Library not installed or installed in wrong environment.","error":"ImportError: No module named pyopenms"},{"fix":"Install pyopenms via conda: `conda install -c conda-forge pyopenms`. This resolves shared library dependencies.","cause":"Missing OpenMS C++ runtime libraries (on Linux/macOS).","error":"OSError: libOpenMS.so: cannot open shared object file"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":"https://openms.de","github":"https://github.com/OpenMS/pyopenms-docs","docs":"https://pyopenms.readthedocs.io","changelog":null,"pypi":"https://pypi.org/project/pyopenms/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["ai-ml","data"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-29","last_verified":"2026-06-29","next_check":"2026-07-29","install_tag":null}}