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

do not take into account decoy proteins in grouping

parent fd3f1694
No related branches found
No related tags found
No related merge requests found
......@@ -153,7 +153,7 @@ const std::vector<PeptideMatch *> & ProteinMatch::getPeptideMatchList() const {
void ProteinMatch::setGroupingExperiment(GroupingExperiment * p_grp_experiment) {
_sp_grp_protein = nullptr;
if (isValidAndChecked()) {
if ((isValidAndChecked() && (!_protein_sp.get()->isDecoy()))) {
_sp_grp_protein = p_grp_experiment->getGrpProteinSp(this);
for (auto & p_peptide_match : _peptide_match_list) {
......
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