Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
PeptideEvidence Class Reference

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...
 
PeptideEvidenceoperator= (const PeptideEvidence &source)
 assignment operator More...
 
bool operator== (const PeptideEvidence &rhs) const
 Equality operator. More...
 
bool operator!= (const PeptideEvidence &rhs) const
 not equal More...
 
const StringgetProteinAccession () 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_
 

Detailed Description

Representation of a peptide evidence.

A peptide evidence object describes a single peptide to protein match.

Constructor & Destructor Documentation

constructor

PeptideEvidence ( const PeptideEvidence source)

copy constructor

~PeptideEvidence ( )
inline

destructor

Member Function Documentation

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.

const String& getProteinAccession ( ) const

get the protein accession the peptide matches to. If not available the empty string is returned.

Int getStart ( ) const

get the position in the protein (starting at 0 for the N-terminus). If not available UNKNOWN_POSITION constant is returned.

bool operator!= ( const PeptideEvidence rhs) const

not equal

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

Member Data Documentation

char aa_after_
protected
char aa_before_
protected
String accession_
protected
const char C_TERMINAL_AA
static
Int end_
protected
const char N_TERMINAL_AA
static
const int N_TERMINAL_POSITION
static
Int start_
protected
const char UNKNOWN_AA
static
const int UNKNOWN_POSITION
static

OpenMS / TOPP release 2.0.0 Documentation generated on Sat May 16 2015 16:14:01 using doxygen 1.8.9.1