21 class TheoreticalSpectrumGenerator;
83 void dia_isotope_scores(
const std::vector<TransitionType>& transitions,
88 double& isotope_overlap)
const;
93 const std::vector<double>& normalized_library_intensity,
95 double& ppm_score_weighted,
96 std::vector<double>& diff_ppm)
const;
107 double& ppm_score)
const;
111 double& isotope_corr,
double& isotope_overlap,
int charge_state)
const;
113 double& isotope_corr,
double& isotope_overlap,
const EmpiricalFormula& sum_formula)
const;
118 int charge,
double& bseries_score,
double& yseries_score)
const;
122 const std::vector<TransitionType>& transitions,
124 double& manhattan)
const;
141 std::map<std::string, double>& intensities,
142 double& isotope_corr,
143 double& isotope_overlap)
const;
149 std::map<std::string, double>& intensities
181 int putative_fragment_charge)
const;
206 std::vector<double>& isotopes_int,
207 int charge_state)
const;
Representation of a peptide/protein sequence.
Definition: AASequence.h:86
Scoring of an spectrum at the peak apex of an chromatographic elution peak.
Definition: DIAScoring.h:58
TheoreticalSpectrumGenerator * generator
Definition: DIAScoring.h:219
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
void dia_ms1_isotope_scores_averagine(double precursor_mz, const SpectrumPtrType &spectrum, double &isotope_corr, double &isotope_overlap, int charge_state) const
Precursor isotope scores for precursors (peptides and metabolites)
double dia_byseries_intensity_min_
Definition: DIAScoring.h:211
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 dia_ms1_isotope_scores(double precursor_mz, const SpectrumPtrType &spectrum, double &isotope_corr, double &isotope_overlap, const EmpiricalFormula &sum_formula) const
void getIsotopeIntysFromExpSpec_(double precursor_mz, const SpectrumPtrType &spectrum, std::vector< double > &isotopes_int, int charge_state) const
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:216
DIAScoring(const DIAScoring &rhs)
Copy constructor (algorithm class)
OpenSwath::LightTransition TransitionType
Transition interface (Transition, Peptide, Protein)
Definition: DIAScoring.h:64
void dia_massdiff_score(const std::vector< TransitionType > &transitions, const 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:62
void dia_by_ion_score(const SpectrumPtrType &spectrum, AASequence &sequence, int charge, double &bseries_score, double &yseries_score) const
b/y ion scores
void diaIsotopeScoresSub_(const std::vector< TransitionType > &transitions, const SpectrumPtrType &spectrum, std::map< std::string, double > &intensities, double &isotope_corr, double &isotope_overlap) const
Subfunction of dia_isotope_scores.
void largePeaksBeforeFirstIsotope_(const 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 dia_extract_window_
Definition: DIAScoring.h:210
double peak_before_mono_max_ppm_diff_
Definition: DIAScoring.h:215
void updateMembers_() override
Synchronize members with param class.
double dia_nr_charges_
Definition: DIAScoring.h:214
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:212
~DIAScoring() override
Destructor.
double dia_nr_isotopes_
Definition: DIAScoring.h:213
DIAScoring & operator=(const DIAScoring &rhs)
Assignment operator (algorithm class)
bool dia_centroided_
Definition: DIAScoring.h:217
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:66
Definition: IsotopeDistribution.h:39
Generates theoretical spectra for peptides with various options.
Definition: TheoreticalSpectrumGenerator.h:44
Definition: ITransition.h:31
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22
boost::shared_ptr< Spectrum > SpectrumPtr
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/DataStructures.h:270
Definition: TransitionExperiment.h:20