23 class TheoreticalSpectrumGenerator;
88 void dia_isotope_scores(
const std::vector<TransitionType>& transitions,
94 double& isotope_overlap)
const;
99 const std::vector<double>& normalized_library_intensity,
102 double& ppm_score_weighted,
103 std::vector<double>& diff_ppm)
const;
115 double& ppm_score)
const;
119 double& isotope_corr,
double& isotope_overlap)
const;
121 double& isotope_corr,
double& isotope_overlap,
const EmpiricalFormula& sum_formula)
const;
125 int charge,
const RangeMobility& im_range,
double& bseries_score,
double& yseries_score)
const;
129 const std::vector<TransitionType>& transitions,
132 double& manhattan)
const;
149 std::map<std::string, double>& intensities,
151 double& isotope_corr,
152 double& isotope_overlap)
const;
158 std::map<std::string, double>& intensities
190 int putative_fragment_charge)
const;
215 std::vector<double>& isotopes_int)
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:63
void dia_ms1_isotope_scores(double precursor_mz, const std::vector< SpectrumPtrType > &spectrum, RangeMobility &im_range, double &isotope_corr, double &isotope_overlap, const EmpiricalFormula &sum_formula) const
TheoreticalSpectrumGenerator * generator
Definition: DIAScoring.h:227
bool dia_ms1_massdiff_score(double precursor_mz, const SpectrumSequence &spectrum, const RangeMobility &im_range, double &ppm_score) const
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:219
void diaIsotopeScoresSub_(const std::vector< TransitionType > &transitions, const SpectrumSequence &spectrum, std::map< std::string, double > &intensities, const RangeMobility &im_range, double &isotope_corr, double &isotope_overlap) const
Subfunction of dia_isotope_scores.
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.
void largePeaksBeforeFirstIsotope_(const SpectrumSequence &spectrum, double mono_mz, double mono_int, int &nr_occurrences, double &max_ratio, const RangeMobility &im_range) const
Determine whether the current m/z value is a monoisotopic peak.
bool dia_extraction_ppm_
Definition: DIAScoring.h:224
void dia_by_ion_score(const SpectrumSequence &spectrum, AASequence &sequence, int charge, const RangeMobility &im_range, double &bseries_score, double &yseries_score) const
b/y ion scores
DIAScoring(const DIAScoring &rhs)
Copy constructor (algorithm class)
OpenSwath::LightTransition TransitionType
Transition interface (Transition, Peptide, Protein)
Definition: DIAScoring.h:69
void dia_massdiff_score(const std::vector< TransitionType > &transitions, const SpectrumSequence &spectrum, const std::vector< double > &normalized_library_intensity, const RangeMobility &im_range, 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:67
double dia_extract_window_
Definition: DIAScoring.h:218
void getIsotopeIntysFromExpSpec_(double precursor_mz, const SpectrumSequence &spectrum, int charge_state, const RangeMobility &im_range, std::vector< double > &isotopes_int) const
double peak_before_mono_max_ppm_diff_
Definition: DIAScoring.h:223
void updateMembers_() override
Synchronize members with param class.
double dia_nr_charges_
Definition: DIAScoring.h:222
void dia_ms1_isotope_scores_averagine(double precursor_mz, const SpectrumSequence &spectrum, int charge_state, RangeMobility &im_range, double &isotope_corr, double &isotope_overlap) const
Precursor isotope scores for precursors (peptides and metabolites)
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:220
~DIAScoring() override
Destructor.
double dia_nr_isotopes_
Definition: DIAScoring.h:221
void score_with_isotopes(SpectrumSequence &spectrum, const std::vector< TransitionType > &transitions, const RangeMobility &im_range, double &dotprod, double &manhattan) const
Dotproduct / Manhattan score with theoretical spectrum.
DIAScoring & operator=(const DIAScoring &rhs)
Assignment operator (algorithm class)
bool dia_centroided_
Definition: DIAScoring.h:225
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:45
Definition: ITransition.h:31
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
std::vector< OpenSwath::SpectrumPtr > SpectrumSequence
a vector of spectrum pointers that DIA scores can operate on, allows for clever integration of only t...
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:20
boost::shared_ptr< Spectrum > SpectrumPtr
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/DataStructures.h:276
Definition: RangeManager.h:466
Definition: TransitionExperiment.h:20