112 use_ms1_traces_(false),
113 use_ms1_ion_mobility_(false),
116 threads_outer_loop_(-1)
132 OpenSwathWorkflowBase(
bool use_ms1_traces,
bool use_ms1_ion_mobility,
bool prm,
bool pasef,
int threads_outer_loop) :
133 use_ms1_traces_(use_ms1_traces),
134 use_ms1_ion_mobility_(use_ms1_ion_mobility),
137 threads_outer_loop_(threads_outer_loop)
155 const std::vector< OpenSwath::SwathMap > & swath_maps,
156 std::vector< MSChromatogram >& ms1_chromatograms,
160 bool ms1only =
false,
161 int ms1_isotopes = 0);
180 void prepareExtractionCoordinates_(std::vector< OpenSwath::ChromatogramPtr > & chrom_list,
181 std::vector< ChromatogramExtractorAlgorithm::ExtractionCoordinates > & coordinates,
185 const bool ms1 =
false,
186 const int ms1_isotopes = -1)
const;
294 std::vector< OpenSwath::SwathMap > & swath_maps,
298 const Param & feature_finder_param,
300 const Param& irt_detection_param,
301 const Param& calibration_param,
302 const String& irt_mzml_out,
306 bool load_into_memory =
false);
341 const std::vector< OpenMS::MSChromatogram >& chromatograms,
343 std::vector< OpenSwath::SwathMap > & swath_maps,
346 const Param& default_ffparam,
347 const Param& irt_detection_param,
348 const Param& calibration_param,
363 void simpleExtractChromatograms_(
const std::vector< OpenSwath::SwathMap > & swath_maps,
365 std::vector< OpenMS::MSChromatogram > & chromatograms,
370 bool load_into_memory);
432 OpenSwathWorkflow(
bool use_ms1_traces,
bool use_ms1_ion_mobility,
bool prm,
bool pasef,
int threads_outer_loop) :
462 void performExtraction(
const std::vector< OpenSwath::SwathMap > & swath_maps,
466 const Param & feature_finder_param,
469 bool store_features_in_featureFile,
475 bool load_into_memory);
494 void writeOutFeaturesAndChroms_(std::vector< OpenMS::MSChromatogram > & chromatograms,
495 std::vector< MSChromatogram >& ms1_chromatograms,
537 void scoreAllChromatograms_(
538 const std::vector< OpenMS::MSChromatogram > & ms2_chromatograms,
539 const std::vector< OpenMS::MSChromatogram > & ms1_chromatograms,
540 const std::vector< OpenSwath::SwathMap >& swath_maps,
542 const Param& feature_finder_param,
544 const double rt_extraction_window,
548 int nr_ms1_isotopes = 0,
549 bool ms1only =
false)
const;
579 void copyBatchTransitions_(
const std::vector<OpenSwath::LightCompound>& used_compounds,
580 const std::vector<OpenSwath::LightTransition>& all_transitions,
581 std::vector<OpenSwath::LightTransition>& output);
641 void performExtractionSonar(
const std::vector< OpenSwath::SwathMap > & swath_maps,
645 const Param & feature_finder_param,
653 bool load_into_memory);
658 void computeSonarWindows_(
const std::vector< OpenSwath::SwathMap > & swath_maps,
659 double & sonar_winsize,
660 double & sonar_start,
662 int & sonar_total_win);
667 void performSonarExtraction_(
const std::vector< OpenSwath::SwathMap > & used_maps,
668 const std::vector< ChromatogramExtractor::ExtractionCoordinates > & coordinates,
669 std::vector< OpenSwath::ChromatogramPtr > & chrom_list,
int threads_outer_loop_
How many threads should be used for the outer loop.
Definition: OpenSwathWorkflow.h:233
A more convenient string class.
Definition: String.h:58
OpenSwathWorkflowSonar(bool use_ms1_traces)
Definition: OpenSwathWorkflow.h:615
OpenSwathWorkflowBase()
Default constructor.
Definition: OpenSwathWorkflow.h:111
boost::shared_ptr< ISpectrumAccess > SpectrumAccessPtr
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:87
The representation of a chromatogram.
Definition: MSChromatogram.h:53
OpenSwathCalibrationWorkflow()
Definition: OpenSwathWorkflow.h:258
A container for features.
Definition: FeatureMap.h:98
Definition: OpenSwathWorkflow.h:100
Class to write out an OpenSwath TSV output (mProphet input).
Definition: OpenSwathTSVWriter.h:129
MRMTransitionGroup< MSChromatogram, TransitionType > MRMTransitionGroupType
Definition: OpenSwathWorkflow.h:414
double mz_extraction_window
Extraction window in Da or ppm (e.g. 50ppm means extraction +/- 25ppm)
Definition: OpenSwathWorkflow.h:87
Execute all steps in an OpenSwath analysis.
Definition: OpenSwathWorkflow.h:410
Execute all steps in an OpenEcho analysis (OpenSwath for SONAR data)
Definition: OpenSwathWorkflow.h:609
OpenSwath::LightTransition TransitionType
Definition: OpenSwathWorkflow.h:413
OpenSwathWorkflow(bool use_ms1_traces, bool use_ms1_ion_mobility, bool prm, bool pasef, int threads_outer_loop)
Constructor.
Definition: OpenSwathWorkflow.h:432
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
Class to write out an OpenSwath OSW SQLite output (PyProphet input).
Definition: OpenSwathOSWWriter.h:115
bool pasef_
Whether data is diaPASEF data.
Definition: OpenSwathWorkflow.h:222
double im_extraction_window
Extraction window in ion mobility.
Definition: OpenSwathWorkflow.h:89
The representation of a group of transitions in a targeted proteomics experiment. ...
Definition: MRMTransitionGroup.h:67
bool ppm
Whether the extraction window is given in ppm or Da.
Definition: OpenSwathWorkflow.h:91
bool use_ms1_traces_
Whether to use the MS1 traces.
Definition: OpenSwathWorkflow.h:199
double rt_extraction_window
The retention time extraction window.
Definition: OpenSwathWorkflow.h:95
bool use_ms1_ion_mobility_
Whether to use ion mobility extraction on MS1 traces.
Definition: OpenSwathWorkflow.h:202
String extraction_function
The extraction function in mass space.
Definition: OpenSwathWorkflow.h:93
boost::shared_ptr< Chromatogram > ChromatogramPtr
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/DataStructures.h:172
double min_upper_edge_dist
Whether to not extract anything closer than this (in Da) from the upper edge.
Definition: OpenSwathWorkflow.h:85
OpenSwathWorkflowBase(bool use_ms1_traces, bool use_ms1_ion_mobility, bool prm, bool pasef, int threads_outer_loop)
Constructor.
Definition: OpenSwathWorkflow.h:132
Management and storage of parameters / INI files.
Definition: Param.h:69
Definition: TransitionExperiment.h:45
double extra_rt_extract
Whether to extract some extra in the retention time (can be useful if one wants to look at the chroma...
Definition: OpenSwathWorkflow.h:97
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
The interface of a consumer of spectra and chromatograms.
Definition: IMSDataConsumer.h:69
OpenSwathCalibrationWorkflow(bool use_ms1_traces)
Definition: OpenSwathWorkflow.h:263
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:52
Execute all steps for retention time and m/z calibration of SWATH-MS data.
Definition: OpenSwathWorkflow.h:253
Definition: TransitionExperiment.h:218
bool prm_
Whether data is acquired in targeted DIA (e.g. PRM mode) with potentially overlapping windows...
Definition: OpenSwathWorkflow.h:212