37 #include <boost/math/special_functions/fpclassify.hpp>
48 class TheoreticalSpectrumGenerator;
110 void dia_isotope_scores(
const std::vector<TransitionType>& transitions,
114 double& isotope_corr,
115 double& isotope_overlap)
const;
120 const std::vector<double>& normalized_library_intensity,
122 double& ppm_score_weighted,
123 std::vector<double>& diff_ppm)
const;
134 double& ppm_score)
const;
138 double& isotope_corr,
double& isotope_overlap,
int charge_state)
const;
140 double& isotope_corr,
double& isotope_overlap,
const EmpiricalFormula& sum_formula)
const;
145 int charge,
double& bseries_score,
double& yseries_score)
const;
149 const std::vector<TransitionType>& transitions,
151 double& manhattan)
const;
168 std::map<std::string, double>& intensities,
169 double& isotope_corr,
170 double& isotope_overlap)
const;
176 std::map<std::string, double>& intensities
208 int putative_fragment_charge)
const;
233 std::vector<double>& isotopes_int,
234 int charge_state)
const;
Representation of a peptide/protein sequence.
Definition: AASequence.h:112
Scoring of an spectrum at the peak apex of an chromatographic elution peak.
Definition: DIAScoring.h:85
TheoreticalSpectrumGenerator * generator
Definition: DIAScoring.h:246
double scoreIsotopePattern_(const std::vector< double > &isotopes_int, const IsotopeDistribution &isotope_dist) const
Compare an experimental isotope pattern to a theoretical one.
void getFirstIsotopeRelativeIntensities_(const std::vector< TransitionType > &transitions, OpenSwath::IMRMFeature *mrmfeature, std::map< std::string, double > &intensities) const
double dia_byseries_intensity_min_
Definition: DIAScoring.h:238
void score_with_isotopes(SpectrumPtrType spectrum, const std::vector< TransitionType > &transitions, double &dotprod, double &manhattan) const
Dotproduct / Manhattan score with theoretical spectrum.
bool dia_ms1_massdiff_score(double precursor_mz, SpectrumPtrType spectrum, double &ppm_score) const
void largePeaksBeforeFirstIsotope_(SpectrumPtrType spectrum, double mono_mz, double mono_int, int &nr_occurrences, double &max_ratio) const
Determine whether the current m/z value is a monoisotopic peak.
double scoreIsotopePattern_(const std::vector< double > &isotopes_int, double product_mz, int putative_fragment_charge) const
Compare an experimental isotope pattern to a theoretical one.
bool dia_extraction_ppm_
Definition: DIAScoring.h:243
DIAScoring(const DIAScoring &rhs)
Copy constructor (algorithm class)
OpenSwath::LightTransition TransitionType
Transition interface (Transition, Peptide, Protein)
Definition: DIAScoring.h:91
void dia_massdiff_score(const std::vector< TransitionType > &transitions, SpectrumPtrType spectrum, const std::vector< double > &normalized_library_intensity, double &ppm_score, double &ppm_score_weighted, std::vector< double > &diff_ppm) const
Massdiff scores, see class description.
OpenSwath::SpectrumPtr SpectrumPtrType
Type definitions.
Definition: DIAScoring.h:89
double dia_extract_window_
Definition: DIAScoring.h:237
void dia_by_ion_score(SpectrumPtrType spectrum, AASequence &sequence, int charge, double &bseries_score, double &yseries_score) const
b/y ion scores
double peak_before_mono_max_ppm_diff_
Definition: DIAScoring.h:242
void updateMembers_() override
Synchronize members with param class.
double dia_nr_charges_
Definition: DIAScoring.h:241
void dia_ms1_isotope_scores_averagine(double precursor_mz, SpectrumPtrType spectrum, double &isotope_corr, double &isotope_overlap, int charge_state) const
Precursor isotope scores for precursors (peptides and metabolites)
void getIsotopeIntysFromExpSpec_(double precursor_mz, SpectrumPtrType spectrum, std::vector< double > &isotopes_int, int charge_state) const
double scoreIsotopePattern_(const std::vector< double > &isotopes_int, const EmpiricalFormula &sum_formula) const
Compare an experimental isotope pattern to a theoretical one.
double dia_byseries_ppm_diff_
Definition: DIAScoring.h:239
void dia_ms1_isotope_scores(double precursor_mz, SpectrumPtrType spectrum, double &isotope_corr, double &isotope_overlap, const EmpiricalFormula &sum_formula) const
void diaIsotopeScoresSub_(const std::vector< TransitionType > &transitions, SpectrumPtrType spectrum, std::map< std::string, double > &intensities, double &isotope_corr, double &isotope_overlap) const
Subfunction of dia_isotope_scores.
~DIAScoring() override
Destructor.
double dia_nr_isotopes_
Definition: DIAScoring.h:240
DIAScoring & operator=(const DIAScoring &rhs)
Assignment operator (algorithm class)
bool dia_centroided_
Definition: DIAScoring.h:244
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:93
Definition: IsotopeDistribution.h:65
Generates theoretical spectra for peptides with various options.
Definition: TheoreticalSpectrumGenerator.h:70
Definition: ITransition.h:57
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
boost::shared_ptr< Spectrum > SpectrumPtr
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/DataStructures.h:291
Definition: TransitionExperiment.h:46