47 class TheoreticalSpectrumGenerator;
109 void dia_isotope_scores(
const std::vector<TransitionType>& transitions,
113 double& isotope_corr,
114 double& isotope_overlap)
const;
119 const std::vector<double>& normalized_library_intensity,
121 double& ppm_score_weighted,
122 std::vector<double>& diff_ppm)
const;
133 double& ppm_score)
const;
137 double& isotope_corr,
double& isotope_overlap,
int charge_state)
const;
139 double& isotope_corr,
double& isotope_overlap,
const EmpiricalFormula& sum_formula)
const;
144 int charge,
double& bseries_score,
double& yseries_score)
const;
148 const std::vector<TransitionType>& transitions,
150 double& manhattan)
const;
167 std::map<std::string, double>& intensities,
168 double& isotope_corr,
169 double& isotope_overlap)
const;
175 std::map<std::string, double>& intensities
207 int putative_fragment_charge)
const;
232 std::vector<double>& isotopes_int,
233 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:84
TheoreticalSpectrumGenerator * generator
Definition: DIAScoring.h:245
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:237
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:242
DIAScoring(const DIAScoring &rhs)
Copy constructor (algorithm class)
OpenSwath::LightTransition TransitionType
Transition interface (Transition, Peptide, Protein)
Definition: DIAScoring.h:90
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:88
double dia_extract_window_
Definition: DIAScoring.h:236
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:241
void updateMembers_() override
Synchronize members with param class.
double dia_nr_charges_
Definition: DIAScoring.h:240
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:238
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:239
DIAScoring & operator=(const DIAScoring &rhs)
Assignment operator (algorithm class)
bool dia_centroided_
Definition: DIAScoring.h:243
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