Match those fragments!
Handle mass spectrometry data in Rust. This crate is set up to handle very complex peptides with
loads of ambiguity and complexity. It pivots around the [CompoundPeptidoform], [Peptidoform] and [LinearPeptide]
which encode the ProForma specification. Additionally
this crate enables the reading of mgf, doing spectrum annotation
(BU/MD/TD), finding isobaric sequences, doing alignments of peptides
, accessing the IMGT germline database, and reading identified peptide files.
Library features
- Read ProForma sequences (complete 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/proteoform
- Generate fragments from satellite ions (w, d, and v)
- Generate glycan fragments
- Generate theoretical fragments for modifications of unknown position
- Generate theoretical fragments for chimeric spectra
- Generate theoretical fragments for cross-links (also disulfides)
- Integrated with mzdata for reading raw data file
- 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 (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
Example usage
#
#
Compilation features
Rustyms ties together multiple smaller modules into one cohesive structure. It has multiple features which allow you to slim it down if needed (all are enabled by default).
align- gives access to mass based alignment of peptides.identification- gives access to methods reading many different identified peptide formats.imgt- enables access to the IMGT database of antibodies germline sequences, with annotations.isotopes- gives access to generation of an averagine model for isotopes, also enables two additional dependenciesrand- allows the generation of random peptides align.rayon- enables parallel iterators using rayon, mostly forimgtbut also in consecutive