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
37 stars 18 forks source link

Set isDecoy to 0 in peptidetoprotein table in DLIB output #140

Closed RalfG closed 2 years ago

RalfG commented 3 years ago

By default this value is None. EncyclopeDIA seems to ignore peptide-to-protein mappings if isDecoy is not 0 or 1. On these lines, we should add 0 for the isDecoy column:

https://github.com/paretje/ms2pip_c/blob/f339f78d82656b28634aaa2040f6045e77d813a6/ms2pip/ms2pip_tools/spectrum_output.py#L767-L772