compomics / ms2pip

MS²PIP: Fast and accurate peptide spectrum prediction for multiple fragmentation methods, instruments, and labeling techniques.
https://ms2pip.readthedocs.io
Apache License 2.0
38 stars 18 forks source link

Check for unknown modifications before predicting #100

Closed RalfG closed 4 years ago

RalfG commented 4 years ago

If the PEPREC contains modifications that are not configured in the config file (or in the form on iomics.ugent.be/ms2pip), MS²PIP currently just skips those peptides. This can lead to a wall of warnings for a unknown modification and an output that only contains a fraction of the input peptides.

Should we check for unknown modifications and raise an exception before starting the predictions?