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

write only grouped peptides

parent 0202f6f6
No related branches found
No related tags found
No related merge requests found
......@@ -74,6 +74,7 @@ public:
/** @brief get the list of peptide match included in this group
* warning : it only contains the first protein representant in one subgroup
* use a double loop with getProteinMatchList to scan every peptide match
* */
std::vector<const PeptideMatch *> getPeptideMatchList() const;
......
......@@ -437,7 +437,7 @@ void ProticdbMl::writepeptideHitsbyGroup(GroupingGroup * p_group) {
std::vector <ProticPeptideHit> protic_peptide_hit_list;
for (const ProteinMatch* p_protein_match : p_group->getProteinMatchList()) {
for (const PeptideMatch* p_peptide_match : p_protein_match->getPeptideMatchList()) {
for (const PeptideMatch* p_peptide_match : p_protein_match->getPeptideMatchList(ValidationState::grouped)) {
ProticPeptideHit protic_peptide_hit = {getProticPeptideHitKey(p_peptide_match), p_peptide_match};
protic_peptide_hit_list.push_back(protic_peptide_hit);
}
......
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