OpenMS  2.8.0
Classes | Static Public Member Functions | List of all members
RNPxlFragmentAnnotationHelper Class Reference

Convenience functions to construct appealing fragment annotation strings and store them as PeptideHit::PeakAnnotation. More...

#include <OpenMS/ANALYSIS/RNPXL/RNPxlFragmentAnnotationHelper.h>

Classes

struct  FragmentAnnotationDetail_
 Single fragment annotation. More...
 

Static Public Member Functions

static String getAnnotatedImmoniumIon (char c, const String &fragment_shift_name)
 
static std::vector< PeptideHit::PeakAnnotationfragmentAnnotationDetailsToPHFA (const String &ion_type, std::map< Size, std::vector< FragmentAnnotationDetail_ > > ion_annotation_details)
 conversion of RNPxl annotations to PeptideHit::PeakAnnotation More...
 
static std::vector< PeptideHit::PeakAnnotationshiftedToPHFA (const std::map< String, std::set< std::pair< String, double > > > &shifted_ions)
 
static String shiftedIonsToString (const std::vector< PeptideHit::PeakAnnotation > &as)
 
static void addShiftedPeakFragmentAnnotation_ (const std::map< Size, std::vector< FragmentAnnotationDetail_ >> &shifted_b_ions, const std::map< Size, std::vector< FragmentAnnotationDetail_ >> &shifted_y_ions, const std::map< Size, std::vector< FragmentAnnotationDetail_ >> &shifted_a_ions, const std::vector< PeptideHit::PeakAnnotation > &shifted_immonium_ions, const std::vector< PeptideHit::PeakAnnotation > &annotated_marker_ions, const std::vector< PeptideHit::PeakAnnotation > &annotated_precursor_ions, std::vector< PeptideHit::PeakAnnotation > &fas)
 

Detailed Description

Convenience functions to construct appealing fragment annotation strings and store them as PeptideHit::PeakAnnotation.

Member Function Documentation

◆ addShiftedPeakFragmentAnnotation_()

static void addShiftedPeakFragmentAnnotation_ ( const std::map< Size, std::vector< FragmentAnnotationDetail_ >> &  shifted_b_ions,
const std::map< Size, std::vector< FragmentAnnotationDetail_ >> &  shifted_y_ions,
const std::map< Size, std::vector< FragmentAnnotationDetail_ >> &  shifted_a_ions,
const std::vector< PeptideHit::PeakAnnotation > &  shifted_immonium_ions,
const std::vector< PeptideHit::PeakAnnotation > &  annotated_marker_ions,
const std::vector< PeptideHit::PeakAnnotation > &  annotated_precursor_ions,
std::vector< PeptideHit::PeakAnnotation > &  fas 
)
static

◆ fragmentAnnotationDetailsToPHFA()

static std::vector<PeptideHit::PeakAnnotation> fragmentAnnotationDetailsToPHFA ( const String ion_type,
std::map< Size, std::vector< FragmentAnnotationDetail_ > >  ion_annotation_details 
)
static

conversion of RNPxl annotations to PeptideHit::PeakAnnotation

◆ getAnnotatedImmoniumIon()

static String getAnnotatedImmoniumIon ( char  c,
const String fragment_shift_name 
)
static

◆ shiftedIonsToString()

static String shiftedIonsToString ( const std::vector< PeptideHit::PeakAnnotation > &  as)
static

◆ shiftedToPHFA()

static std::vector<PeptideHit::PeakAnnotation> shiftedToPHFA ( const std::map< String, std::set< std::pair< String, double > > > &  shifted_ions)
static