OpenMS
Loading...
Searching...
No Matches
OpenMS Namespace Reference

Namespaces

namespace  Internal
namespace  NuXLPresets

Classes

struct  AALevelLocalization
struct  ProteinReport
struct  RegionLevelLocalization

Typedefs

typedef ToolDescriptionInternal TDE
using MapIonIndexToFragmentAnnotation = map<Size, vector<NuXLFragmentAnnotationHelper::FragmentAnnotationDetail_> >
using ProteinsReport = map<std::string, ProteinReport>

Functions

static PeakSpectrum createTotalLossSpectrumForAnnotations (const AASequence &fixed_and_variable_modified_peptide, size_t precursor_charge, Param new_param)
static void removeDuplicatedPeaks (MSSpectrum &spec)
 Removes duplicate peaks based on their m/z values.
static vector< PeptideHit::PeakAnnotation > createIonCentricFragmentAnnotationsForUnshiftedIons (const PeakSpectrum &total_loss_spectrum, const PeakSpectrum &exp_spectrum, const vector< pair< Size, Size > > &alignment, set< Size > &peak_is_annotated, vector< PeptideHit::PeakAnnotation > &annotated_precursor_ions, MapIonIndexToFragmentAnnotation &unshifted_b_ions, MapIonIndexToFragmentAnnotation &unshifted_y_ions, MapIonIndexToFragmentAnnotation &unshifted_a_ions, vector< PeptideHit::PeakAnnotation > &unshifted_loss_ions, vector< PeptideHit::PeakAnnotation > &annotated_immonium_ions)
ProteinsReport getProteinReportEntries (const PeptideIdentificationList &peps, const map< std::string, ProteinHit * > &acc2protein_targets, const std::map< string, set< string > > &peptide2proteins)
set< string > printXLSiteDetails (TextFile &tsv_file, const std::string &accession, size_t position, const AALevelLocalization &aa_loc, map< string, vector< RegionLevelLocalization::UnlocalizedXL > > &peptides2unlocalizedXL, std::map< std::string, std::set< std::string > > &peptide2proteins, map< string, map< string, set< pair< size_t, size_t > > > > &peptides2proteins2regions, map< string, set< string > > &protein2proteins)
void printXLRegionDetails (TextFile &tsv_file, const std::string &accession, const RegionLevelLocalization &region_loc, const set< string > &remaining_peptides, std::map< std::string, std::set< std::string > > &peptide2proteins, map< string, map< string, set< pair< size_t, size_t > > > > &peptides2proteins2regions, map< string, set< string > > &protein2proteins)
template<typename MIV>
void twoSpecErrors (MIV &mi, std::vector< double > &ppms, std::vector< double > &dalton, double &accumulator_ppm, UInt32 &counter_ppm)
void annotatePepIDfromSpectrum_ (const MSSpectrum &spectrum, PeptideIdentification &peptide_ID)
const FileTypeList supported_types ({ FileTypes::MZML, FileTypes::MZXML, FileTypes::MZDATA, FileTypes::SQMASS, FileTypes::FEATUREXML, FileTypes::CONSENSUSXML, FileTypes::IDXML, FileTypes::DTA, FileTypes::DTA2D, FileTypes::MGF, FileTypes::MS2, FileTypes::MSP, FileTypes::BZ2, FileTypes::GZ })
 supported types which can be opened with File-->Open

Variables

std::unordered_map< std::string, double > peptide_seq2XLFDR
const std::string user_section = "preferences:user:"

Class Documentation

◆ OpenMS::AALevelLocalization

struct OpenMS::AALevelLocalization
Class Members
string AA
map< string, vector< LocalizedXL > > peptide2XL

Typedef Documentation

◆ MapIonIndexToFragmentAnnotation

using MapIonIndexToFragmentAnnotation = map<Size, vector<NuXLFragmentAnnotationHelper::FragmentAnnotationDetail_> >

◆ ProteinsReport

using ProteinsReport = map<std::string, ProteinReport>

◆ TDE

typedef ToolDescriptionInternal TDE

Function Documentation

◆ annotatePepIDfromSpectrum_()

void annotatePepIDfromSpectrum_ ( const MSSpectrum & spectrum,
PeptideIdentification & peptide_ID )

◆ createIonCentricFragmentAnnotationsForUnshiftedIons()

vector< PeptideHit::PeakAnnotation > createIonCentricFragmentAnnotationsForUnshiftedIons ( const PeakSpectrum & total_loss_spectrum,
const PeakSpectrum & exp_spectrum,
const vector< pair< Size, Size > > & alignment,
set< Size > & peak_is_annotated,
vector< PeptideHit::PeakAnnotation > & annotated_precursor_ions,
MapIonIndexToFragmentAnnotation & unshifted_b_ions,
MapIonIndexToFragmentAnnotation & unshifted_y_ions,
MapIonIndexToFragmentAnnotation & unshifted_a_ions,
vector< PeptideHit::PeakAnnotation > & unshifted_loss_ions,
vector< PeptideHit::PeakAnnotation > & annotated_immonium_ions )
static

◆ createTotalLossSpectrumForAnnotations()

PeakSpectrum createTotalLossSpectrumForAnnotations ( const AASequence & fixed_and_variable_modified_peptide,
size_t precursor_charge,
Param new_param )
static

◆ getProteinReportEntries()

ProteinsReport getProteinReportEntries ( const PeptideIdentificationList & peps,
const map< std::string, ProteinHit * > & acc2protein_targets,
const std::map< string, set< string > > & peptide2proteins )

◆ printXLRegionDetails()

void printXLRegionDetails ( TextFile & tsv_file,
const std::string & accession,
const RegionLevelLocalization & region_loc,
const set< string > & remaining_peptides,
std::map< std::string, std::set< std::string > > & peptide2proteins,
map< string, map< string, set< pair< size_t, size_t > > > > & peptides2proteins2regions,
map< string, set< string > > & protein2proteins )

◆ printXLSiteDetails()

set< string > printXLSiteDetails ( TextFile & tsv_file,
const std::string & accession,
size_t position,
const AALevelLocalization & aa_loc,
map< string, vector< RegionLevelLocalization::UnlocalizedXL > > & peptides2unlocalizedXL,
std::map< std::string, std::set< std::string > > & peptide2proteins,
map< string, map< string, set< pair< size_t, size_t > > > > & peptides2proteins2regions,
map< string, set< string > > & protein2proteins )

◆ removeDuplicatedPeaks()

void removeDuplicatedPeaks ( MSSpectrum & spec)
static

Removes duplicate peaks based on their m/z values.

This function identifies and removes duplicate peaks from the spectrum based on their m/z values. Only the first occurrence of a peak with a given m/z value is retained. The function uses the select() method to efficiently remove the duplicate peaks and their corresponding entries in the data arrays.

Note
The spectrum should be sorted by position (m/z) before calling this function to ensure correct identification of duplicates.

References removeDuplicatedPeaks().

Referenced by removeDuplicatedPeaks().

◆ supported_types()

const FileTypeList supported_types ( { FileTypes::MZML, FileTypes::MZXML, FileTypes::MZDATA, FileTypes::SQMASS, FileTypes::FEATUREXML, FileTypes::CONSENSUSXML, FileTypes::IDXML, FileTypes::DTA, FileTypes::DTA2D, FileTypes::MGF, FileTypes::MS2, FileTypes::MSP, FileTypes::BZ2, FileTypes::GZ } )

supported types which can be opened with File-->Open

References supported_types().

Referenced by supported_types().

◆ twoSpecErrors()

template<typename MIV>
void twoSpecErrors ( MIV & mi,
std::vector< double > & ppms,
std::vector< double > & dalton,
double & accumulator_ppm,
UInt32 & counter_ppm )

References twoSpecErrors().

Referenced by twoSpecErrors().

Variable Documentation

◆ peptide_seq2XLFDR

std::unordered_map<std::string, double> peptide_seq2XLFDR

◆ user_section

const std::string user_section = "preferences:user:"