 |
OpenMS
2.4.0
|
Go to the documentation of this file.
65 template <
typename Arg>
68 #pragma clang diagnostic push
69 #pragma clang diagnostic ignored "-Wfloat-equal"
70 if (a.getScore() != b.getScore())
71 #pragma clang diagnostic pop
73 return a.getScore() > b.getScore();
75 return a.getAccession() > b.getAccession();
84 template <
typename Arg>
87 #pragma clang diagnostic push
88 #pragma clang diagnostic ignored "-Wfloat-equal"
89 if (a.getScore() != b.getScore())
90 #pragma clang diagnostic pop
92 return a.getScore() < b.getScore();
94 return a.getAccession() < b.getAccession();
133 float getScore()
const;
136 UInt getRank()
const;
139 const String & getSequence()
const;
142 const String & getAccession()
const;
145 String getDescription()
const;
148 double getCoverage()
const;
151 void setScore(
const double score);
154 void setRank(
UInt newrank);
157 void setSequence(
const String & sequence);
160 void setAccession(
const String & accession);
163 void setDescription(
const String & description);
166 void setCoverage(
const double coverage);
double coverage_
coverage of the protein based upon the matched peptide sequences
Definition: ProteinHit.h:175
Lesser predicate for scores of hits.
Definition: ProteinHit.h:81
float score_
the score of the protein hit
Definition: ProteinHit.h:171
bool operator()(const Arg &a, const Arg &b)
Definition: ProteinHit.h:85
A more convenient string class.
Definition: String.h:57
bool operator!=(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:824
Representation of a protein hit.
Definition: ProteinHit.h:53
Greater predicate for scores of hits.
Definition: ProteinHit.h:62
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
static const double COVERAGE_UNKNOWN
Definition: ProteinHit.h:57
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
bool operator()(const Arg &a, const Arg &b)
Definition: ProteinHit.h:66
bool operator==(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:806
String sequence_
the amino acid sequence of the protein hit
Definition: ProteinHit.h:174
String accession_
the protein identifier
Definition: ProteinHit.h:173
UInt rank_
the position(rank) where the hit appeared in the hit list
Definition: ProteinHit.h:172