Skip to main content

Crate mzident

Crate mzident 

Source
Expand description

§Handle PSM files

Handling many different formats of PSM files. Supports these formats:

  • mzTab
  • Fasta
  • Spectrum Sequence List (SSL)
  • mzSpecLib (only with feature mzannotate)

And output from the following programs:

  • BiatNovo
  • DeepNovo
  • InstaNovo
  • MaxQuant
  • MetaMorpheus
  • MSFragger
  • NovoB
  • Novor
  • OPair
  • Peaks
  • PepNet
  • PGPointNovo
  • PLGS
  • pLink
  • PointNovo
  • PowerNovo
  • Proteoscape
  • pUniFind
  • Sage
  • π-HelixNovo
  • π-PrimeNovo

§Compilation features

  • mzannotate - Adds mzannotate as a dependency and allow mzSpecLib spectra to be used as PSM and allow other formats to parse annotated spectra

§Changelog

§0.2.1

  • Fix mzident being able to be built without feature mzannotate

§0.2.0

  • Better InstaNovo parsing and version detection thanks to @BioGeek
  • Full mzTab metadata support in reading and writing
  • Renamed identified peptidoform to PSM to align better with general terms
  • Better protein handling with the trait ProteinMetaData
  • All software now have a PSI-MS term

Modules§

mztab_writer
Write mzTab files.
prelude
A subset of the types and traits that are envisioned to be used the most, importing this is a good starting point for working with the crate

Structs§

BasicCSVFormat
The type to contain the format description for BasicCSV files.
BasicCSVPSM
The data for individual entries in BasicCSV files.
CVTerm
Define a parameter for an mzTab file
DeepNovoFamilyFormat
The type to contain the format description for DeepNovoFamily files.
DeepNovoFamilyPSM
The data for individual entries in DeepNovoFamily files.
FastaData
A single parsed line of a fasta file
InstaNovoFormat
The type to contain the format description for InstaNovo files.
InstaNovoPSM
The data for individual entries in InstaNovo files.
MSFraggerFormat
The type to contain the format description for MSFragger files.
MSFraggerPSM
The data for individual entries in MSFragger files.
MSFraggerProtein
The data for proteins in MSFragger files.
MaxQuantFormat
The type to contain the format description for MaxQuant files.
MaxQuantPSM
The data for individual entries in MaxQuant files. This can contain data from the database match and the de novo match at the same time when run with MaxNovo. In that case the de novo data will not be shown via the methods of the PSMMetaData trait. If access is needed solely to the de novo data and not to the database data the easiest way is detecting this case and overwriting the data in place.
MaybePeptidoform
A structure where a peptidoform might be present
MetaMorpheusFormat
The type to contain the format description for MetaMorpheus files.
MetaMorpheusPSM
The data for individual entries in MetaMorpheus files.
MetaMorpheusProtein
The data for proteins in MetaMorpheus files.
MzTabPSM
Peptidoform data from a mzTab file
MzTabProtein
A protein definition from mzTab
NoProtein
A basic type to use a placeholder when a PSM format does not contain any protein level information.
NovoBFormat
The type to contain the format description for NovoB files.
NovoBPSM
The data for individual entries in NovoB files.
NovorFormat
The type to contain the format description for Novor files.
NovorPSM
The data for individual entries in Novor files.
OpairFormat
The type to contain the format description for Opair files.
OpairPSM
The data for individual entries in Opair files.
OpairProtein
The data for proteins in Opair files.
PLGSFormat
The type to contain the format description for PLGS files.
PLGSPSM
The data for individual entries in PLGS files.
PLGSProtein
The data for proteins in PLGS files.
PLinkFormat
The type to contain the format description for PLink files.
PLinkPSM
The data for individual entries in PLink files.
PSM
A peptidoform that is identified by a de novo or database matching program as matching to a spectrum
PSMIter
An iterator returning parsed PSMs
PUniFindFormat
The type to contain the format description for PUniFind files.
PUniFindPSM
The data for individual entries in PUniFind files.
PeaksFamilyId
The scans identifier for a peaks identification
PeaksFormat
The type to contain the format description for Peaks files.
PeaksPSM
The data for individual entries in Peaks files.
PepNetFormat
The type to contain the format description for PepNet files.
PepNetPSM
The data for individual entries in PepNet files.
PeptidoformPresent
A structure where a peptidoform definitely is present
PiHelixNovoFormat
The type to contain the format description for PiHelixNovo files.
PiHelixNovoPSM
The data for individual entries in PiHelixNovo files.
PiPrimeNovoFormat
The type to contain the format description for PiPrimeNovo files.
PiPrimeNovoPSM
The data for individual entries in PiPrimeNovo files.
PowerNovoFormat
The type to contain the format description for PowerNovo files.
PowerNovoPSM
The data for individual entries in PowerNovo files.
ProteoscapeFormat
The type to contain the format description for Proteoscape files.
ProteoscapePSM
The data for individual entries in Proteoscape files.
SageFormat
The type to contain the format description for Sage files.
SagePSM
The data for individual entries in Sage files.
SpectrumSequenceListFormat
The type to contain the format description for SpectrumSequenceList files.
SpectrumSequenceListPSM
The data for individual entries in SpectrumSequenceList files.

Enums§

BasicCSVVersion
All possible basic CSV versions
DeepNovoFamilyVersion
All possible DeepNovoFamily versions
FastaIdentifier
A fasta identifier following the NCBI identifier definition
FileFormat
A file format that might not be (fully) known
InstaNovoVersion
All possible InstaNovo versions
KnownFileFormat
A file format that is fully known
MSFraggerOpenModification
A MSFragger open search modification
MSFraggerVersion
All possible MSFragger versions
MaxQuantVersion
All possible MaxQuant versions
MetaMorpheusMatchKind
MetaMorpheusVersion
All possible peaks versions
NovoBVersion
All possible NovoB versions
NovorVersion
All available Novor versions
OpairVersion
All possible peaks versions
PLGSVersion
All possible PLGS versions
PLinkPeptideType
The different types of peptides a cross-link experiment can result in
PLinkVersion
All possible pLink versions
PSMData
The definition of all special metadata for all types of PSM that can be read
PUniFindVersion
All possible pUniFind versions
PeaksVersion
All possible peaks versions
PepNetVersion
All possible PepNet versions
PiHelixNovoVersion
All possible π-HelixNovo versions
PiPrimeNovoVersion
All possible π-PrimeNovo versions
PowerNovoVersion
All possible PowerNovo versions
ProteinData
The definition of all special metadata for all types of Proteins that can be read
ProteoscapeVersion
All available Novor versions
Reliability
The reliability of a PSM
SageVersion
All possible Sage versions
SpectrumId
A spectrum identifier
SpectrumIds
Multiple spectrum identifiers
SpectrumSequenceListVersion
All possible SpectrumSequenceList versions
UsedModel
The model that produced the final prediction for an InstaNovoPlus

Constants§

AB
Version Ab of PEAKS export
BASIC
msms.txt
DB_PEPTIDE
Version DB peptide of PEAKS export
DB_PROTEIN_PEPTIDE
Version DB protein peptide of PEAKS export protein group, protein id, protein accession, unique, start, end,
DB_PSM
Version DB psm of PEAKS export
DEEPNOVO_V0_0_1
The only known version of DeepNovo
FRAGPIPE_V22
v22
FRAGPIPE_V20_OR_21
v20 or v21
INSTANOVOPLUS_V1_1_4
The known InstaNovoPlus 1.1.4 output schema
INSTANOVOPLUS_V1_2_2
InstaNovoPlus version 1.2.2 standalone output
INSTANOVO_COMBINED_V1_2_2
InstaNovo version 1.2.2 combined transformer and InstaNovoPlus refined output
INSTANOVO_V1_0_0
InstaNovo version 1.0.0
INSTANOVO_V1_1_0
InstaNovo version 1.1.0
INSTANOVO_V1_1_4
InstaNovo version 1.1.4
INSTANOVO_V1_2_2
InstaNovo version 1.2.2 transformer output
META_MORPHEUS
The only supported format for [MetaMorpheus] data
MSMS
msms.txt
MSMS_SCANS
msmsScans.txt
NEW_DENOVO
denovo: # id, scanNum, RT, mz(data), z, pepMass(denovo), err(data-denovo), ppm(1e6*err/(mz*z)), score, peptide, aaScore,
NEW_PSM
PSM: #id, spectraId, scanNum, RT, mz, z, pepMass, err, ppm, score, protein, start, length, origin, peptide, noPTMPeptide, aac, allProteins
NOVOB_V0_0_1
The only known version of NovoB
NOVO_MSMS_SCANS
MaxNovo msmsScans.txt
OLD_DENOVO
The older supported format for denovo.csv files from Novor
O_PAIR
The only supported format for Opair data
PEPNET_V1_0
The only known version of PepNet
PHILOSOPHER
Philosopher
PIHELIXNOVO_V1_1
The only known version of π-HelixNovo
PIPRIMENOVO_V0_1
The only known version of π-PrimeNovo
POINTNOVOFAMILY
The only known version of the PointNovo Family
POWERNOVO_V1_0_17
The only known version of PowerNovo
PSM202305
The older supported format (202305) for psms.csv files from Novor ID,Fraction,Scan #,m/z,z,Score,Mass,Error (ppm),“# Proteins”,Sequence
PSM202308
The older supported format (202308) for psms.csv files from Novor
PUNIFIND_V0_1
The only version of pUniFind
SILAC
MaxQuant v2.4.14.0 SILAC evidence.txt
SSL
General type of SSL files
V2_3
The only built in version of pLink export
V11
Version 11 of PEAKS export
V12
Version 12 of PEAKS export
V11_FEATURES
Version 11 of PEAKS export
V13_DIA
Version 13 Dia de novo missing: Delta RT, MS2 correlation, #precursors, gene, database, ion intensity, positional confidence
V2025B
Version 2025b
VERSION_0_14
An older version of a Sage export
VERSION_3_0
An older version of a PLGS export
VERSION_V4_2
The only supported format for MSFragger data
X
An older version of a PEAKS export
XPLUS
Version X+ of PEAKS export (made for build 20 November 2019)
X_PATCHED
Version X of PEAKS export (made for build 31 January 2019)

Traits§

PSMFileFormatVersion
A version for an PSM file format
PSMMetaData
Generalised access to meta data of PSMs
PSMSource
The required methods for any source of PSMs
PeptidoformAvailability
A trait to mark all options for availability of peptidoforms
ProteinMetaData
Generalised access to meta data of identified peptidoforms

Functions§

open_psm_file
Open the selected path and automatically determine the filetype. It will decompress gzipped files automatically.

Type Aliases§

BoxedIdentifiedPeptideIter
Convenience type to not have to type out long iterator types
GeneralPSMs
A general generic PSM iterator from any source format