OpenMS
Loading...
Searching...
No Matches
MS1LabelState.h File Reference
#include <OpenMS/CHEMISTRY/AASequence.h>
#include <OpenMS/CONCEPT/Types.h>
#include <OpenMS/METADATA/PeptideHit.h>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  Keys
 The registry indices of the three keys, resolved once for a loop over many hits. More...
 

Namespaces

namespace  OpenMS
 Main OpenMS namespace.
 
namespace  OpenMS::MS1LabelState
 The label state of an identification in MS1-labeled (SILAC, Dimethyl, ...) data.
 

Functions

const std::vector< std::string > & keys ()
 The three keys, in the order they are reported.
 
bool hasMatchedSequence (const PeptideHit &hit)
 
bool hasMatchedSequence (const PeptideHit &hit, const Keys &keys)
 Index-based variant of hasMatchedSequence() for loops over many hits.
 
AASequence matchedSequence (const PeptideHit &hit)
 The peptidoform hit was matched to the spectrum with.
 
AASequence matchedSequence (const PeptideHit &hit, const Keys &keys)
 Index-based variant of matchedSequence() for loops over many hits.
 
PeptideHit withMatchedSequence (const PeptideHit &hit)
 A copy of hit whose sequence is matchedSequence(); an unchanged copy when no label state is recorded.
 

Variables

const std::string LABELED_SEQUENCE = "MS1Label:labeled_sequence"
 Meta value key: the peptidoform the spectrum was matched with (see the namespace documentation)
 
const std::string REMOVED_LABELS = "MS1Label:removed_labels"
 Meta value key: the labels removed from the matched peptidoform, or "none".
 
const std::string CHANNEL = "MS1Label:channel"
 Meta value key: the 1-based channel the spectrum belongs to (0 = unknown)