lehtiolab / proteogenomics-analysis-workflow

IPAW: a Nextflow workflow for proteogenomics
25 stars 9 forks source link

Set q-val to 1.0 on ZeroDivisionError #6

Closed husensofteng closed 6 years ago

husensofteng commented 6 years ago

when decoys are found but not tagers the q-val is set to 1.0 to avoid ZeroDivisionError.

glormph commented 6 years ago

This of course also applies if the very first spectrum in the list matches the decoy db. LGTM!