Spectral library generation writes dubious spectra
Opened this issue · 0 comments
Alexander-Sol commented
Spectral library generation is writing all PSMs where the PEP is less than 0.5. (Hard-coded) This feels high, possibly a typo. @YulingDai, is this the intended behavior?
filteredPsmList = Parameters.AllPsms.Where(p => p.FdrInfo.PEP_QValue <= 0.01 || p.FdrInfo.PEP < 0.5).ToList();
filteredPsmList.RemoveAll(b => b.IsDecoy);
filteredPsmList.RemoveAll(b => b.IsContaminant);