msanalysis is a lightweight python package to read and process mass spectra, specifically those in the mzXML format.
| OS | Build Status |
|---|---|
| Linux | |
| OSX |
| OS | 3.5 | 3.6 | 3.7 | 3.8 |
|---|---|---|---|---|
| Linux | ✔️ | ✔️ | ✔️ | ✔️ |
| OSX | ✔️ | ✔️ | ✔️ | ❌ |
- pytest-cov
- matplotlib
- seaborn
- numpy
- scipy
- pandas
- pyopenms
- black (only required for contributors)
Set up is meant to be easy! First we suggest installing all of prerequisites in a clean Conda env (run this inside the main directory of the package):
conda env create -f devtools/conda-envs/msanalysis_env.yamlThen install using pip and we're done!
python -m pip install -e .If you aren't doing this in a conda env and don't have root user privileges use:
python -m pip install -e . --usergit clone https://github.com/jamesETsmith/msanalysis.git
cd msanalysis
conda env create -f devtools/conda-envs/msanalysis_env.yaml
python -m pip install -e .
cd patches
python add_elements.pyCurrently there is one patch while we wait to hear back on an issue from PyOpenMS.
If you want to work with species like Indium, run the python script to patch up msanalysis.
cd patches
python add_elements.pyTo check that everything is working, run the following from the main project directory:
pytest -v msanalysis --cov=msanalysisCopyright (c) 2019, James E. T. Smith/ CU Boulder
Project based on the Computational Molecular Science Python Cookiecutter version 1.1.