MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / resolveID

Method resolveID

src/openms/source/ANALYSIS/QUANTITATION/ProteinResolver.cpp:76–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 }
75
76 void ProteinResolver::resolveID(vector<PeptideIdentification> & peptide_identifications)
77 {
78 vector<ProteinEntry> * protein_nodes = new vector<ProteinEntry>;
79 vector<PeptideEntry> * peptide_nodes = new vector<PeptideEntry>;
80 vector<ISDGroup> * isd_groups = new vector<ISDGroup>;
81 vector<MSDGroup> * msd_groups = new vector<MSDGroup>;
82 vector<Size> * reindexed_proteins = new vector<Size>;
83 vector<Size> * reindexed_peptides = new vector<Size>;
84
85 // building ISD Groups
86 buildingISDGroups_(*protein_nodes, *peptide_nodes, *isd_groups);
87 OPENMS_LOG_INFO << "ISD groups done! size: " << isd_groups->size() << std::endl;
88
89 // Including all MSMS derived peptides into the graph
90 includeMSMSPeptides_(peptide_identifications, *peptide_nodes);
91
92 // building MSD Groups
93 buildingMSDGroups_(*msd_groups, *isd_groups);
94
95 // calculations + reindexing
96 reindexingNodes_(*msd_groups, *reindexed_proteins, *reindexed_peptides);
97 primaryProteins_(*peptide_nodes, *reindexed_peptides);
98 //TODO indistinguishableProteins(msd_groups);
99
100 //
101 countTargetDecoy(*msd_groups, peptide_identifications);
102
103 ResolverResult result;
104 //result.identifier = file_identifier;
105 result.isds = isd_groups;
106 result.msds = msd_groups;
107 result.peptide_entries = peptide_nodes;
108 result.protein_entries = protein_nodes;
109 result.reindexed_peptides = reindexed_peptides;
110 result.reindexed_proteins = reindexed_proteins;
111 result.input_type = ResolverResult::PeptideIdent;
112 result.peptide_identification = &peptide_identifications;
113
114 resolver_result_.push_back(result);
115 }
116
117 void ProteinResolver::resolveConsensus(ConsensusMap & consensus)
118 {

Callers 2

main_Method · 0.80
applyDesign2ResolverMethod · 0.80

Calls 2

sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected