OpenMS
Loading...
Searching...
No Matches
SpectrumAnnotator.h
Go to the documentation of this file.
1// Copyright (c) 2002-present, OpenMS Inc. -- EKU Tuebingen, ETH Zurich, and FU Berlin
2// SPDX-License-Identifier: BSD-3-Clause
3//
4// --------------------------------------------------------------------------
5// $Maintainer: Mathias Walzer $
6// $Authors: Mathias Walzer $
7// --------------------------------------------------------------------------
8
9#pragma once
10
15
17
20
22
23namespace OpenMS
24{
122}
123
A base class for all classes handling default parameters.
Definition DefaultParamHandler.h:66
The representation of a 1D spectrum.
Definition MSSpectrum.h:45
Represents a single spectrum match (candidate) for a specific tandem mass spectrum (MS/MS).
Definition PeptideHit.h:52
Represents the set of candidates (SpectrumMatches) identified for a single precursor spectrum.
Definition PeptideIdentification.h:66
Compiled Perl-compatible regular expression, including named capture groups.
Definition RegularExpression.h:30
Aligns the peaks of two sorted spectra Method 1: Using a banded (width via 'tolerance' parameter) ali...
Definition SpectrumAlignment.h:43
Annotates spectra from identifications and theoretical spectra or identifications from spectra and th...
Definition SpectrumAnnotator.h:36
unsigned topNmatch_fragmenterrors_
Definition SpectrumAnnotator.h:113
static const RegularExpression seriesposition_regex_
Definition SpectrumAnnotator.h:120
static const RegularExpression nt_regex_
Definition SpectrumAnnotator.h:117
void annotateMatches(PeakSpectrum &spec, const PeptideHit &ph, const TheoreticalSpectrumGenerator &tg, const SpectrumAlignment &sa) const
Adds ion match annotation to the spec input spectrum.
static const RegularExpression noloss_regex_
Definition SpectrumAnnotator.h:119
bool fragmenterror_statistics_
Definition SpectrumAnnotator.h:114
SpectrumAnnotator(const SpectrumAnnotator &source)
copy constructor
static const RegularExpression ct_regex_
Definition SpectrumAnnotator.h:118
bool basic_statistics_
Definition SpectrumAnnotator.h:108
void addPeakAnnotationsToPeptideHit(PeptideHit &ph, const PeakSpectrum &spec, const TheoreticalSpectrumGenerator &tg, const SpectrumAlignment &sa, bool include_unmatched_peaks=false) const
Adds peak annotations to the ph PeptideHit.
void addIonMatchStatistics(PeptideIdentification &pi, MSSpectrum &spec, const TheoreticalSpectrumGenerator &tg, const SpectrumAlignment &sa) const
Adds ion match statistics to pi PeptideIdentifcation.
SpectrumAnnotator & operator=(const SpectrumAnnotator &tsg)
assignment operator
~SpectrumAnnotator() override
destructor
bool precursor_statistics_
Definition SpectrumAnnotator.h:112
void updateMembers_() override
overwrite
bool terminal_series_match_ratio_
Definition SpectrumAnnotator.h:115
bool max_series_
Definition SpectrumAnnotator.h:110
SpectrumAnnotator()
default constructor
bool list_of_ions_matched_
Definition SpectrumAnnotator.h:109
bool SN_statistics_
Definition SpectrumAnnotator.h:111
Generates theoretical spectra for peptides with various options.
Definition TheoreticalSpectrumGenerator.h:45
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19