41 explicit PeptideEvidence(
const String& accession,
Int start=UNKNOWN_POSITION,
Int end=UNKNOWN_POSITION,
char aa_before=UNKNOWN_AA,
char aa_after=UNKNOWN_AA);
Representation of a peptide evidence.
Definition: PeptideEvidence.h:25
static const char C_TERMINAL_AA
Definition: PeptideEvidence.h:35
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:107
char aa_after_
Definition: PeptideEvidence.h:109
Int end_
Definition: PeptideEvidence.h:105
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:34
static const int UNKNOWN_POSITION
Definition: PeptideEvidence.h:27
bool operator<(const PeptideEvidence &rhs) const
Less operator.
static const int N_TERMINAL_POSITION
Definition: PeptideEvidence.h:30
PeptideEvidence(const String &accession, Int start=UNKNOWN_POSITION, Int end=UNKNOWN_POSITION, char aa_before=UNKNOWN_AA, char aa_after=UNKNOWN_AA)
Constructor.
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:101
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:31
Int start_
Definition: PeptideEvidence.h:103
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
A more convenient string class.
Definition: String.h:34
int Int
Signed integer type.
Definition: Types.h:76
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22