35 #ifndef OPENMS_METADATA_PEPTIDEHIT_H 36 #define OPENMS_METADATA_PEPTIDEHIT_H 91 else if (mz > other.
mz)
100 else if (charge > other.
charge)
128 if (charge != other.
charge || mz != other.
mz ||
138 class OPENMS_DLLAPI ScoreMore
142 template <
typename Arg>
145 return a.getScore() > b.getScore();
154 template <
typename Arg>
157 return a.getScore() < b.getScore();
166 template <
typename Arg>
169 return a.getRank() < b.getRank();
179 template <
typename Arg>
182 if (a.getSequence().toString() < b.getSequence().toString())
return true;
207 if (
this == &source)
return *
this;
254 Int getCharge()
const;
257 void setCharge(
Int charge);
260 const std::vector<PeptideEvidence>& getPeptideEvidences()
const;
263 void setPeptideEvidences(
const std::vector<PeptideEvidence>& peptide_evidences);
269 double getScore()
const;
272 void setScore(
double score);
275 void setAnalysisResults(std::vector<PepXMLAnalysisResult> aresult);
281 const std::vector<PepXMLAnalysisResult>& getAnalysisResults()
const;
284 UInt getRank()
const;
287 void setRank(
UInt newrank);
290 std::vector<PeptideHit::PeakAnnotation> getPeakAnnotations()
const;
293 void setPeakAnnotations(std::vector<PeptideHit::PeakAnnotation> frag_annotations);
298 std::set<String> extractProteinAccessionsSet()
const;
324 #endif // OPENMS_METADATA_PEPTIDEHIT_H double main_score
Definition: PeptideHit.h:194
A more convenient string class.
Definition: String.h:57
Lesser predicate for scores of hits.
Definition: PeptideHit.h:163
std::vector< PeptideHit::PeakAnnotation > fragment_annotations_
annotations of fragments in the corresponding spectrum
Definition: PeptideHit.h:319
UInt rank_
the position(rank) where the hit appeared in the hit list
Definition: PeptideHit.h:310
unsigned int UInt
Unsigned integer type.
Definition: Types.h:95
bool operator<(const PeptideHit::PeakAnnotation &other) const
Definition: PeptideHit.h:84
bool operator==(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:806
std::map< String, double > sub_scores
Definition: PeptideHit.h:195
Representation of a peptide/protein sequence.
Definition: AASequence.h:108
double mz
Definition: PeptideHit.h:81
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
Lesser predicate for (modified) sequence of hits.
Definition: PeptideHit.h:177
std::vector< PepXMLAnalysisResult > * analysis_results_
additional scores attached to the original, aggregated score
Definition: PeptideHit.h:307
bool operator()(const Arg &a, const Arg &b)
Definition: PeptideHit.h:143
bool higher_is_better
Definition: PeptideHit.h:193
bool operator()(const Arg &a, const Arg &b)
Definition: PeptideHit.h:167
String annotation
Definition: PeptideHit.h:79
String score_type
Definition: PeptideHit.h:192
bool operator==(const PeptideHit::PeakAnnotation &other) const
Definition: PeptideHit.h:126
Representation of a peptide hit.
Definition: PeptideHit.h:55
Representation of a peptide evidence.
Definition: PeptideEvidence.h:51
Int charge_
the charge of the peptide
Definition: PeptideHit.h:313
bool operator==(const PepXMLAnalysisResult &rhs) const
additional scores attached to the original, aggregated score
Definition: PeptideHit.h:197
double intensity
Definition: PeptideHit.h:82
Analysis Result (containing search engine / prophet results)
Definition: PeptideHit.h:189
bool operator!=(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:824
Lesser predicate for scores of hits.
Definition: PeptideHit.h:151
bool operator()(const Arg &a, const Arg &b)
Definition: PeptideHit.h:180
int charge
Definition: PeptideHit.h:80
double score_
the score of the peptide hit
Definition: PeptideHit.h:304
Contains annotations of a peak.
Definition: PeptideHit.h:77
int Int
Signed integer type.
Definition: Types.h:103
bool operator()(const Arg &a, const Arg &b)
Definition: PeptideHit.h:155
AASequence sequence_
Definition: PeptideHit.h:301
PepXMLAnalysisResult & operator=(const PepXMLAnalysisResult &source)
Definition: PeptideHit.h:205
std::vector< PeptideEvidence > peptide_evidences_
information on the potential peptides observed through this PSM.
Definition: PeptideHit.h:316