Skip to content
Snippets Groups Projects
Commit fd3f1694 authored by Olivier Langella's avatar Olivier Langella
Browse files

do not compute mass deviation using decoy proteins

parent a12fcf01
No related branches found
No related tags found
No related merge requests found
...@@ -149,7 +149,9 @@ std::size_t IdentificationGroup::countSubGroup()const { ...@@ -149,7 +149,9 @@ std::size_t IdentificationGroup::countSubGroup()const {
void IdentificationGroup::collectMhDelta(std::vector< pappso::pappso_double> & delta_list, pappso::PrecisionUnit unit, ValidationState state) const { void IdentificationGroup::collectMhDelta(std::vector< pappso::pappso_double> & delta_list, pappso::PrecisionUnit unit, ValidationState state) const {
for (auto & p_protein_match : _protein_match_list) { for (auto & p_protein_match : _protein_match_list) {
if (p_protein_match->getValidationState() >= state) { if (p_protein_match->getValidationState() >= state) {
p_protein_match->collectMhDelta(delta_list, unit, state); if (!p_protein_match->getProteinXtpSp().get()->isDecoy()) {
p_protein_match->collectMhDelta(delta_list, unit, state);
}
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment