37 #define USE_SP_INTERFACE
58 #include <boost/shared_ptr.hpp>
59 #include <boost/make_shared.hpp>
60 #include <boost/unordered_map.hpp>
155 std::vector<OpenSwath::SwathMap> swath_maps,
187 const std::vector<OpenSwath::SwathMap>& swath_maps,
189 bool ms1only =
false)
const;
231 double rt_extraction_window);
275 const size_t feature_idx,
276 const std::vector<std::string> & native_ids_detection,
277 const double det_intensity_ratio_score,
278 const double det_mi_ratio_score,
279 const std::vector<OpenSwath::SwathMap>& swath_maps)
const;
321 #undef run_identifier
bool SortDoubleDoublePairFirst(const std::pair< double, double > &left, const std::pair< double, double > &right)
Scoring of an spectrum at the peak apex of an chromatographic elution peak.
Definition: DIAScoring.h:85
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:93
Scoring of an elution peak using an exponentially modified gaussian distribution model.
Definition: EmgScoring.h:60
A container for features.
Definition: FeatureMap.h:105
The MRMFeatureFinder finds and scores peaks of transitions that co-elute.
Definition: MRMFeatureFinderScoring.h:96
MRMTransitionGroup< MSChromatogram, TransitionType > MRMTransitionGroupType
Definition: MRMFeatureFinderScoring.h:108
OpenSwath_Ind_Scores scoreIdentification_(MRMTransitionGroupType &transition_group_identification, OpenSwathScoring &scorer, const size_t feature_idx, const std::vector< std::string > &native_ids_detection, const double det_intensity_ratio_score, const double det_mi_ratio_score, const std::vector< OpenSwath::SwathMap > &swath_maps) const
Provides scoring for target and decoy identification against detecting transitions.
bool strict_
Definition: MRMFeatureFinderScoring.h:291
void mapExperimentToTransitionList(OpenSwath::SpectrumAccessPtr input, OpenSwath::LightTargetedExperiment &transition_exp, TransitionGroupMapType &transition_group_map, TransformationDescription trafo, double rt_extraction_window)
Map the chromatograms to the transitions.
OpenSwath::LightProtein ProteinType
Definition: MRMFeatureFinderScoring.h:104
int add_up_spectra_
Definition: MRMFeatureFinderScoring.h:296
double sn_win_len_
Definition: MRMFeatureFinderScoring.h:302
double spacing_for_spectra_resampling_
Definition: MRMFeatureFinderScoring.h:298
OpenMS::EmgScoring emgscoring_
Definition: MRMFeatureFinderScoring.h:313
int stop_report_after_feature_
Definition: MRMFeatureFinderScoring.h:289
OpenMS::SONARScoring sonarscoring_
Definition: MRMFeatureFinderScoring.h:312
MRMFeatureFinderScoring()
Constructor.
OpenSwath::LightCompound PeptideType
Definition: MRMFeatureFinderScoring.h:103
OpenMS::DIAScoring diascoring_
Definition: MRMFeatureFinderScoring.h:311
void pickExperiment(OpenSwath::SpectrumAccessPtr input, FeatureMap &output, OpenSwath::LightTargetedExperiment &transition_exp, TransformationDescription trafo, std::vector< OpenSwath::SwathMap > swath_maps, TransitionGroupMapType &transition_group_map)
Pick features in one experiment containing chromatogram.
bool write_convex_hull_
Definition: MRMFeatureFinderScoring.h:290
void splitTransitionGroupsIdentification_(const MRMTransitionGroupType &transition_group, MRMTransitionGroupType &transition_group_identification, MRMTransitionGroupType &transition_group_identification_decoy) const
Splits combined transition groups into identification transition groups.
~MRMFeatureFinderScoring() override
Destructor.
std::map< OpenMS::String, const PeptideType * > PeptideRefMap_
Definition: MRMFeatureFinderScoring.h:309
OpenSwath::SpectrumAccessPtr ms1_map_
Definition: MRMFeatureFinderScoring.h:316
OpenSwath::LightTransition TransitionType
Type definitions.
Definition: MRMFeatureFinderScoring.h:101
void setMS1Map(OpenSwath::SpectrumAccessPtr ms1_map)
Add an MS1 map containing spectra.
Definition: MRMFeatureFinderScoring.h:207
double rt_normalization_factor_
Definition: MRMFeatureFinderScoring.h:295
OpenSwath_Scores_Usage su_
Definition: MRMFeatureFinderScoring.h:310
double uis_threshold_sn_
Definition: MRMFeatureFinderScoring.h:299
double quantification_cutoff_
Definition: MRMFeatureFinderScoring.h:288
void splitTransitionGroupsDetection_(const MRMTransitionGroupType &transition_group, MRMTransitionGroupType &transition_group_detection) const
Splits combined transition groups into detection transition groups.
void setStrictFlag(bool f)
Set the flag for strict mapping.
Definition: MRMFeatureFinderScoring.h:193
unsigned int sn_bin_count_
Definition: MRMFeatureFinderScoring.h:303
double uis_threshold_peak_area_
Definition: MRMFeatureFinderScoring.h:300
String spectrum_addition_method_
Definition: MRMFeatureFinderScoring.h:297
void scorePeakgroups(MRMTransitionGroupType &transition_group, const TransformationDescription &trafo, const std::vector< OpenSwath::SwathMap > &swath_maps, FeatureMap &output, bool ms1only=false) const
Score all peak groups of a transition group.
void prepareProteinPeptideMaps_(const OpenSwath::LightTargetedExperiment &transition_exp)
Prepares the internal mappings of peptides and proteins.
OpenSwath::LightTargetedExperiment TargetedExpType
Definition: MRMFeatureFinderScoring.h:102
bool write_log_messages_
Definition: MRMFeatureFinderScoring.h:304
void updateMembers_() override
Synchronize members with param class.
void pickExperiment(PeakMap &chromatograms, FeatureMap &output, TargetedExperiment &transition_exp, TransformationDescription trafo, PeakMap &swath_map)
Picker and prepare functions.
std::map< String, MRMTransitionGroupType > TransitionGroupMapType
Definition: MRMFeatureFinderScoring.h:109
double rt_extraction_window_
Definition: MRMFeatureFinderScoring.h:287
OpenSwath::LightModification ModificationType
Definition: MRMFeatureFinderScoring.h:105
void prepareFeatureOutput_(OpenMS::MRMFeature &mrmfeature, bool ms1only, int charge) const
double im_extra_drift_
Definition: MRMFeatureFinderScoring.h:306
String scoring_model_
Definition: MRMFeatureFinderScoring.h:292
A multi-chromatogram MRM feature.
Definition: MRMFeature.h:52
The representation of a group of transitions in a targeted proteomics experiment.
Definition: MRMTransitionGroup.h:68
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:80
A class that calls the scoring routines.
Definition: OpenSwathScoring.h:60
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:55
Scoring of an spectrum using SONAR data.
Definition: SONARScoring.h:56
A more convenient string class.
Definition: String.h:61
A description of a targeted experiment containing precursor and production ions.
Definition: TargetedExperiment.h:65
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
A structure to store which scores should be used by the OpenSWATH Algorithm.
Definition: OpenSwathScores.h:51
boost::shared_ptr< ISpectrumAccess > SpectrumAccessPtr
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:87
Definition: TransitionExperiment.h:142
Definition: TransitionExperiment.h:201
Definition: OpenSwathScores.h:195
Definition: TransitionExperiment.h:149
Definition: TransitionExperiment.h:207
Definition: TransitionExperiment.h:46