MSMetaEnhancer
MSMetaEnhancer: A Python package for mass spectra metadata annotation - Published in JOSS (2022)
Science Score: 95.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 6 DOI reference(s) in README and JOSS metadata -
✓Academic publication links
Links to: ncbi.nlm.nih.gov, joss.theoj.org -
✓Committers with academic emails
1 of 8 committers (12.5%) from academic institutions -
○Institutional organization owner
-
✓JOSS paper metadata
Published in Journal of Open Source Software
Keywords
Keywords from Contributors
Scientific Fields
Repository
Tool for mass spectra metadata annotation.
Basic Info
- Host: GitHub
- Owner: RECETOX
- License: mit
- Language: Python
- Default Branch: main
- Homepage: https://msmetaenhancer.readthedocs.io/
- Size: 730 KB
Statistics
- Stars: 8
- Watchers: 6
- Forks: 10
- Open Issues: 7
- Releases: 13
Topics
Metadata Files
README.md
MSMetaEnhancer
MSMetaEnhancer is a tool used for .msp files annotation.
It adds metadata like SMILES, InChI, and CAS number fetched from the following services: CIR, CTS, PubChem, IDSM, and BridgeDb.
The app uses asynchronous implementation of annotation process allowing for optimal fetching speed.
If you use MSMetaEnhancer in your work, please cite the following publication:
Troják et al., (2022). MSMetaEnhancer: A Python package for mass spectra metadata annotation. Journal of Open Source Software, 7(79), 4494, https://doi.org/10.21105/joss.04494
Usage
```python import asyncio
from MSMetaEnhancer import Application
app = Application()
import your .msp file
app.loadspectra('tests/testdata/sample.msp', file_format='msp')
curate given metadata (e.g. fix CAS numbers)
app.curate_metadata()
specify requested services (these are supported)
services = ['CTS', 'CIR', 'IDSM', 'PubChem', 'BridgeDb', 'RDKit']
specify requested jobs
jobs = [('name', 'inchi', 'IDSM'), ('inchi', 'formula', 'IDSM'), ('inchi', 'inchikey', 'IDSM'), ('inchi', 'iupacname', 'IDSM'), ('inchi', 'canonicalsmiles', 'IDSM')]
run asynchronous annotations of spectra data
asyncio.run(app.annotate_spectra(services, jobs))
export .msp file
app.savespectra('tests/testdata/sampleout.msp', fileformat='msp') ```
Installation
Prerequisites:
- Python 3.9+
- Anaconda
Install MSMetaEnhancer from Bioconda with:
```
install MSMetaEnhancer in a new virtual environment to avoid dependency clashes
conda create --name MSMetaEnhancer python=3.9 conda activate MSMetaEnhancer conda install --channel bioconda --channel conda-forge MSMetaEnhancer ```
Developer Documentation
Setup
Create your development environment using the provided script via conda to install all required dependencies.
Contributing
We appreciate contributions - feel free to open an issue on our repository, create your own fork, work on the problem and post a PR. Please add your contributions to the changelog and to adhere to the versioning. For more information see here.
Testing
All functionality is tested with the pytest framework.
Owner
- Name: RECETOX
- Login: RECETOX
- Kind: organization
- Location: Brno, Czechia
- Website: https://www.recetox.muni.cz/
- Twitter: RECETOX
- Repositories: 17
- Profile: https://github.com/RECETOX
At RECETOX we are engaged in research and education in the management of environmental and health risks associated with the chemicals around us.
JOSS Publication
MSMetaEnhancer: A Python package for mass spectra metadata annotation
Authors
Tags
mass spectra annotationGitHub Events
Total
- Create event: 2
- Release event: 1
- Issues event: 7
- Issue comment event: 1
- Member event: 4
- Push event: 2
- Pull request event: 3
- Pull request review event: 11
- Pull request review comment event: 5
- Fork event: 2
Last Year
- Create event: 2
- Release event: 1
- Issues event: 7
- Issue comment event: 1
- Member event: 4
- Push event: 2
- Pull request event: 3
- Pull request review event: 11
- Pull request review comment event: 5
- Fork event: 2
Committers
Last synced: 5 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Matej Trojak | t****k@m****z | 297 |
| hechth | h****t@r****z | 83 |
| maximskorik | m****k@g****m | 21 |
| acquayefrank | a****k@g****m | 9 |
| Martin Cech | m****n@b****u | 8 |
| Egon Willighagen | e****n@g****m | 1 |
| Charlotte Soneson | c****n@g****m | 1 |
| Jakub Galgonek | j****k@u****z | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 4 months ago
All Time
- Total issues: 58
- Total pull requests: 56
- Average time to close issues: 2 months
- Average time to close pull requests: 7 days
- Total issue authors: 7
- Total pull request authors: 8
- Average comments per issue: 0.97
- Average comments per pull request: 0.63
- Merged pull requests: 55
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 5
- Pull requests: 3
- Average time to close issues: 22 days
- Average time to close pull requests: 13 days
- Issue authors: 2
- Pull request authors: 2
- Average comments per issue: 0.0
- Average comments per pull request: 0.0
- Merged pull requests: 3
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- hechth (30)
- xtrojak (18)
- martenson (3)
- marshallmcdonnell (3)
- chryswoods (2)
- egonw (1)
- acquayefrank (1)
Pull Request Authors
- xtrojak (33)
- hechth (10)
- maximskorik (5)
- martenson (3)
- acquayefrank (3)
- galgonek (2)
- egonw (1)
- csoneson (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- flake8 ^7.0.0 develop
- mock ^5.1.0 develop
- myst-parser ^2.0.0 develop
- pytest ^8.0.2 develop
- pytest-aiohttp ^1.0.5 develop
- pytest-cov ^4.1.0 develop
- pytest-dependency ^0.6.0 develop
- readthedocs-sphinx-ext ^2.2.5 docs
- sphinx ^7.2.6 docs
- sphinx-rtd-theme ^2.0.0 docs
- aiocircuitbreaker ^2.0.0
- aiohttp ^3.9.3
- asyncstdlib ^3.12.0
- frozendict ^2.4.0
- matchms ^0.14
- multidict ^6.0.5
- openpyxl ^3.1.2
- pandas ^2.2.1
- python >=3.9,<3.13
- rdkit ^2023.9.5
- requests ^2.31.0
- scipy ^1.12.0
- tabulate ^0.9.0
- twine ^5.0.0
- actions/checkout v3 composite
- github/codeql-action/analyze v2 composite
- github/codeql-action/init v2 composite
- actions/checkout v3 composite
- actions/setup-python v3 composite
- pypa/gh-action-pypi-publish release/v1.5 composite
- actions/checkout v2 composite
- actions/setup-python v2 composite
