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

count peptide directly without protein validity

parent b514c2e8
No related branches found
No related tags found
No related merge requests found
......@@ -152,10 +152,10 @@ IdentificationGroup::countPeptideEvidence(ValidationState state) const
std::set<const PeptideEvidence *> peptide_evidence_set;
for(auto &p_protein_match : _protein_match_list)
{
if(p_protein_match->getValidationState() >= state)
{
p_protein_match->collectPeptideEvidences(peptide_evidence_set, state);
}
// if(p_protein_match->getValidationState() >= state)
// {
p_protein_match->collectPeptideEvidences(peptide_evidence_set, state);
// }
}
return peptide_evidence_set.size();
}
......@@ -166,14 +166,13 @@ IdentificationGroup::countDecoyPeptideEvidence(ValidationState state) const
std::set<const PeptideEvidence *> peptide_evidence_set;
for(auto &p_protein_match : _protein_match_list)
{
if(p_protein_match->getValidationState() >= state)
// if(p_protein_match->getValidationState() >= state)
// {
if(p_protein_match->getProteinXtpSp().get()->isDecoy())
{
if(p_protein_match->getProteinXtpSp().get()->isDecoy())
{
p_protein_match->collectPeptideEvidences(peptide_evidence_set,
state);
}
p_protein_match->collectPeptideEvidences(peptide_evidence_set, state);
}
// }
}
return peptide_evidence_set.size();
}
......
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