mzcore

A Rust library for peptide centric mass spec calculations centered around ProForma and complex theoretical fragmentation

https://github.com/rusteomics/mzcore

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: acs.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.2%) to scientific vocabulary

Keywords

chemistry cross-linking glycans mass-spectrometry proforma proteomics rust

Keywords from Contributors

pypi interactive mesh interpretability sequences generic projection optim hacking network-simulation
Last synced: 6 months ago · JSON representation ·

Repository

A Rust library for peptide centric mass spec calculations centered around ProForma and complex theoretical fragmentation

Basic Info
  • Host: GitHub
  • Owner: rusteomics
  • License: apache-2.0
  • Language: Rust
  • Default Branch: main
  • Homepage:
  • Size: 161 MB
Statistics
  • Stars: 34
  • Watchers: 1
  • Forks: 8
  • Open Issues: 16
  • Releases: 23
Topics
chemistry cross-linking glycans mass-spectrometry proforma proteomics rust
Created almost 3 years ago · Last pushed 6 months ago
Metadata Files
Readme License Code of conduct Citation

README.md

🦀 Rust: Crates.io rustyms documentation 🐍 Python: PyPI version Python Docs

Match those fragments!

A peptide fragmentation matching library for Rust. Built to handle very complex peptidoforms in a sensible way.

Features

  • Read ProForma sequences (complete 2.0 specification supported: 'level 2-ProForma + top-down compliant + cross-linking compliant + glycans compliant + mass spectrum compliant')
  • Generate theoretical fragments with control over the fragmentation model from any ProForma peptidoform
    • Generate theoretical fragments for chimeric spectra
    • Generate theoretical fragments for cross-links (also disulfides)
    • Generate theoretical fragments for modifications of unknown position
    • Generate peptide backbone (a, b, c, x, y, and z) and satellite ion fragments (d, v, and w)
    • Generate glycan fragments (B, Y, and internal fragments)
  • Integrated with mzdata for reading raw data files
  • Match spectra to the generated fragments
  • Align peptides based on mass
  • Fast access to the IMGT database of antibody germlines
  • Reading of multiple identified peptide file formats (among others: Fasta, MaxQuant, MSFragger, Novor, OPair, Peaks, and Sage)
  • Exhaustively fuzz tested for reliability (using cargo-afl)
  • Extensive use of uom for compile time unit checking
  • Python bindings are provided to several core components of the rustyms library. Go to the Python documentation for more information.

Folder organisation

rustyms

This is the main library. This contains all source code, databases (Unimod etc) and example data to run the rustyms library.

examples

Some examples on how to use the rustyms library are provided here, see the readme file in the examples themselves for more details.

fuzz

The harness to fuzz test the library for increased stability, see the readme for more details.

rustyms-py

This Rust library provides python bindings (using pyO3) for rustyms.

rustyms-generate-databases

Using the rustyms-generate-databases the definitions for the databases can be updated. See the readme on the download locations for all databases. Then run cargo run -p rustyms-generate-databases (from the root folder of this repository).

rustyms-generate-imgt

Using the rustyms-generate-imgt the definitions for the germlines can be updated. Put the imgt.dat.Z file in the rustyms-generate-imgt/data directory and unpack it (this can be downloaded from https://www.imgt.org/download/LIGM-DB/imgt.dat.Z). Then run cargo run -p rustyms-generate-imgt (from the root folder of this repository).

Contributing

Any contribution is welcome (especially adding/fixing documentation as that is very hard to do as main developer).

Owner

  • Name: Rusteomics
  • Login: rusteomics
  • Kind: organization

Rust community for Mass Spectrometry and Proteomics

Citation (CITATION.cff)

title: rustyms
version: 0.9.0
abstract:  A rust library for parsing Pro Forma peptides and matching them against MS spectra .
authors:
  - affiliation: Utrecht University
    family-names: Schulte
    given-names: Douwe
    orcid: https://orcid.org/0000-0003-0594-0993
  - affiliation: VIB-UGent Center for Medical Biotechnology
    family-names: Gabriels
    given-names: Ralf
    orcid: https://orcid.org/0000-0002-1679-1711
  - affiliation: Utrecht University
    family-names: Heerdink
    given-names: Auke
cff-version: 1.2.0
identifiers:
  - description: Main paper (preprint)
    type: doi
    value: 10.1101/2025.01.18.633732 
  - description: Mass alignment algorithm paper
    type: doi
    value: 10.1021/acs.jproteome.4c00188
  - description: Mass alignment algorithm paper (preprint)
    type: url
    value: https://www.biorxiv.org/content/10.1101/2024.02.20.581155v1
  - description: Repository
    type: url
    value: https://github.com/snijderlab/rustyms
keywords:
  - sequencing
  - antibody
  - mass-spectrometry
  - de novo
license: MIT OR Apache-2.0
message: If you use this software, please cite it using these metadata.
repository-code: https://github.com/snijderlab/rustyms

GitHub Events

Total
  • Create event: 12
  • Release event: 1
  • Issues event: 26
  • Watch event: 10
  • Delete event: 7
  • Issue comment event: 38
  • Push event: 213
  • Pull request review comment event: 18
  • Pull request review event: 19
  • Pull request event: 30
  • Fork event: 2
Last Year
  • Create event: 12
  • Release event: 1
  • Issues event: 26
  • Watch event: 10
  • Delete event: 7
  • Issue comment event: 38
  • Push event: 213
  • Pull request review comment event: 18
  • Pull request review event: 19
  • Pull request event: 30
  • Fork event: 2

Committers

Last synced: 11 months ago

All Time
  • Total Commits: 825
  • Total Committers: 7
  • Avg Commits per committer: 117.857
  • Development Distribution Score (DDS): 0.102
Past Year
  • Commits: 422
  • Committers: 6
  • Avg Commits per committer: 70.333
  • Development Distribution Score (DDS): 0.14
Top Committers
Name Email Commits
Douwe Schulte d****e@u****l 741
RalfG r****g@h****e 29
William Fondrie f****w@g****m 26
Auke Heerdink 2****k 23
GitHub n****y@g****m 3
dependabot[bot] 4****] 2
Rien Leuvenink r****k@u****l 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 50
  • Total pull requests: 35
  • Average time to close issues: 4 months
  • Average time to close pull requests: 8 days
  • Total issue authors: 8
  • Total pull request authors: 5
  • Average comments per issue: 0.66
  • Average comments per pull request: 1.54
  • Merged pull requests: 20
  • Bot issues: 0
  • Bot pull requests: 1
Past Year
  • Issues: 18
  • Pull requests: 34
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 8 days
  • Issue authors: 6
  • Pull request authors: 5
  • Average comments per issue: 0.5
  • Average comments per pull request: 1.29
  • Merged pull requests: 19
  • Bot issues: 0
  • Bot pull requests: 1
Top Authors
Issue Authors
  • douweschulte (19)
  • RalfG (1)
  • LLautenbacher (1)
  • rodvrees (1)
  • aukeheerdink (1)
  • mobiusklein (1)
Pull Request Authors
  • RalfG (14)
  • douweschulte (9)
  • aukeheerdink (8)
  • wfondrie (2)
  • dependabot[bot] (1)
Top Labels
Issue Labels
A-core (8) C-enhancement (4) C-bug (3) A-identification (3) A-align (2) A-python (2) A-fragmentation (1)
Pull Request Labels
C-maintenance (14) A-rustyms-generate-databases (11) A-generate-databases (3) A-fragmentation (2) dependencies (1) A-align (1) A-identification (1)

Dependencies

Cargo.toml cargo
.github/workflows/rust.yml actions
  • actions/checkout v3 composite