Representation of a peptide evidence.
Definition: PeptideEvidence.h:51
static const char C_TERMINAL_AA
Definition: PeptideEvidence.h:61
void setAAAfter(const char acid)
sets the amino acid single letter code after the sequence (subsequent amino acid in the protein)....
void setProteinAccession(const String &s)
set the protein accession the peptide matches to. If not available set to empty string.
Int getStart() const
get the position in the protein (starting at 0 for the N-terminus). If not available UNKNOWN_POSITION...
char aa_before_
Definition: PeptideEvidence.h:133
char aa_after_
Definition: PeptideEvidence.h:135
Int end_
Definition: PeptideEvidence.h:131
void setStart(const Int a)
set the position of the last AA of the peptide in protein coordinates (starting at 0 for the N-termin...
static const char N_TERMINAL_AA
Definition: PeptideEvidence.h:60
static const int UNKNOWN_POSITION
Definition: PeptideEvidence.h:53
bool operator<(const PeptideEvidence &rhs) const
Less operator.
static const int N_TERMINAL_POSITION
Definition: PeptideEvidence.h:56
const String & getProteinAccession() const
get the protein accession the peptide matches to. If not available the empty string is returned.
PeptideEvidence(PeptideEvidence &&) noexcept=default
Move constructor.
PeptideEvidence()
Constructor.
PeptideEvidence(const PeptideEvidence &)=default
Copy constructor.
char getAAAfter() const
returns the amino acid single letter code after the sequence (subsequent amino acid in the protein)....
String accession_
Definition: PeptideEvidence.h:127
bool hasValidLimits() const
start and end numbers in evidence represent actual numeric indices
char getAABefore() const
returns the amino acid single letter code before the sequence (preceding amino acid in the protein)....
static const char UNKNOWN_AA
Definition: PeptideEvidence.h:57
Int start_
Definition: PeptideEvidence.h:129
bool operator==(const PeptideEvidence &rhs) const
Equality operator.
void setEnd(const Int a)
set the position of the last AA of the peptide in protein coordinates (starting at 0 for the N-termin...
PeptideEvidence & operator=(PeptideEvidence &&)=default
Move assignment operator.
Int getEnd() const
get the position of the last AA of the peptide in protein coordinates (starting at 0 for the N-termin...
PeptideEvidence & operator=(const PeptideEvidence &)=default
Assignment operator.
void setAABefore(const char acid)
sets the amino acid single letter code before the sequence (preceding amino acid in the protein)....
bool operator!=(const PeptideEvidence &rhs) const
not equal
PeptideEvidence(const String &accession, Int start, Int end, char aa_before, char aa_after)
Constructor.
A more convenient string class.
Definition: String.h:61
int Int
Signed integer type.
Definition: Types.h:102
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47