Representation of a peptide evidence. More...
#include <OpenMS/METADATA/PeptideEvidence.h>
Public Member Functions | |
PeptideEvidence () | |
constructor More... | |
PeptideEvidence (const PeptideEvidence &source) | |
copy constructor More... | |
~PeptideEvidence () | |
destructor More... | |
PeptideEvidence & | operator= (const PeptideEvidence &source) |
assignment operator More... | |
bool | operator== (const PeptideEvidence &rhs) const |
Equality operator. More... | |
bool | operator< (const PeptideEvidence &rhs) const |
Less operator. More... | |
bool | operator!= (const PeptideEvidence &rhs) const |
not equal More... | |
bool | hasValidLimits () const |
start and end numbers in evidence represent actual numeric indices More... | |
const String & | getProteinAccession () const |
get the protein accession the peptide matches to. If not available the empty string is returned. More... | |
void | setProteinAccession (const String &s) |
set the protein accession the peptide matches to. If not available set to empty string. More... | |
void | setStart (const Int a) |
set the position of the last AA of the peptide in protein coordinates (starting at 0 for the N-terminus). If not available, set to UNKNOWN_POSITION. N-terminal positions must be marked with N_TERMINAL_AA More... | |
Int | getStart () const |
get the position in the protein (starting at 0 for the N-terminus). If not available UNKNOWN_POSITION constant is returned. More... | |
void | setEnd (const Int a) |
set the position of the last AA of the peptide in protein coordinates (starting at 0 for the N-terminus). If not available, set UNKNOWN_POSITION. C-terminal positions must be marked with C_TERMINAL_AA More... | |
Int | getEnd () const |
get the position of the last AA of the peptide in protein coordinates (starting at 0 for the N-terminus). If not available UNKNOWN_POSITION constant is returned. More... | |
void | setAABefore (const char acid) |
sets the amino acid single letter code before the sequence (preceding amino acid in the protein). If not available, set to UNKNOWN_AA. If N-terminal set to N_TERMINAL_AA More... | |
char | getAABefore () const |
returns the amino acid single letter code before the sequence (preceding amino acid in the protein). If not available, UNKNOWN_AA is returned. If N-terminal, N_TERMINAL_AA is returned. More... | |
void | setAAAfter (const char acid) |
sets the amino acid single letter code after the sequence (subsequent amino acid in the protein). If not available, set to UNKNOWN_AA. If C-terminal set to C_TERMINAL_AA More... | |
char | getAAAfter () const |
returns the amino acid single letter code after the sequence (subsequent amino acid in the protein). If not available, UNKNOWN_AA is returned. If C-terminal, C_TERMINAL_AA is returned. More... | |
Static Public Attributes | |
static const int | UNKNOWN_POSITION |
static const int | N_TERMINAL_POSITION |
static const char | UNKNOWN_AA |
static const char | N_TERMINAL_AA |
static const char | C_TERMINAL_AA |
Protected Attributes | |
String | accession_ |
Int | start_ |
Int | end_ |
char | aa_before_ |
char | aa_after_ |
Representation of a peptide evidence.
A peptide evidence object describes a single peptide to protein match.
PeptideEvidence | ( | ) |
constructor
PeptideEvidence | ( | const PeptideEvidence & | source | ) |
copy constructor
|
inline |
destructor
References KDTree::operator!=(), OpenMS::operator<(), and KDTree::operator==().
char getAAAfter | ( | ) | const |
returns the amino acid single letter code after the sequence (subsequent amino acid in the protein). If not available, UNKNOWN_AA is returned. If C-terminal, C_TERMINAL_AA is returned.
char getAABefore | ( | ) | const |
returns the amino acid single letter code before the sequence (preceding amino acid in the protein). If not available, UNKNOWN_AA is returned. If N-terminal, N_TERMINAL_AA is returned.
Int getEnd | ( | ) | const |
get the position of the last AA of the peptide in protein coordinates (starting at 0 for the N-terminus). If not available UNKNOWN_POSITION constant is returned.
Referenced by IDFilter::DigestionFilter::operator()().
const String& getProteinAccession | ( | ) | const |
get the protein accession the peptide matches to. If not available the empty string is returned.
Referenced by IDFilter::GetMatchingItems< OpenMS::PeptideEvidence, OpenMS::FASTAFile::FASTAEntry >::getHitKey(), PercolatorFeatureSetHelper::lq_PeptideEvidence::operator()(), IDFilter::HasMatchingAccession< HitType >::operator()(), and IDFilter::DigestionFilter::operator()().
Int getStart | ( | ) | const |
get the position in the protein (starting at 0 for the N-terminus). If not available UNKNOWN_POSITION constant is returned.
Referenced by IDFilter::DigestionFilter::operator()().
bool hasValidLimits | ( | ) | const |
start and end numbers in evidence represent actual numeric indices
Referenced by IDFilter::DigestionFilter::operator()().
bool operator!= | ( | const PeptideEvidence & | rhs | ) | const |
not equal
bool operator< | ( | const PeptideEvidence & | rhs | ) | const |
Less operator.
PeptideEvidence& operator= | ( | const PeptideEvidence & | source | ) |
assignment operator
bool operator== | ( | const PeptideEvidence & | rhs | ) | const |
Equality operator.
void setAAAfter | ( | const char | acid | ) |
sets the amino acid single letter code after the sequence (subsequent amino acid in the protein). If not available, set to UNKNOWN_AA. If C-terminal set to C_TERMINAL_AA
void setAABefore | ( | const char | acid | ) |
sets the amino acid single letter code before the sequence (preceding amino acid in the protein). If not available, set to UNKNOWN_AA. If N-terminal set to N_TERMINAL_AA
void setEnd | ( | const Int | a | ) |
set the position of the last AA of the peptide in protein coordinates (starting at 0 for the N-terminus). If not available, set UNKNOWN_POSITION. C-terminal positions must be marked with C_TERMINAL_AA
void setProteinAccession | ( | const String & | s | ) |
set the protein accession the peptide matches to. If not available set to empty string.
void setStart | ( | const Int | a | ) |
set the position of the last AA of the peptide in protein coordinates (starting at 0 for the N-terminus). If not available, set to UNKNOWN_POSITION. N-terminal positions must be marked with N_TERMINAL_AA
|
protected |
|
protected |
|
protected |
|
static |
|
protected |
|
static |
|
static |
|
protected |
|
static |
|
static |
OpenMS / TOPP release 2.3.0 | Documentation generated on Tue Jan 9 2018 18:22:11 using doxygen 1.8.13 |