![]() |
OpenMS
|
Common functions for DDA workflows. More...
#include <OpenMS/ANALYSIS/QUANTITATION/DDAWorkflowCommons.h>
Static Public Member Functions | |
| static std::map< String, String > | mapMzML2Ids (StringList &in, StringList &in_ids) |
| static std::map< String, String > | mapId2MzMLs (const std::map< String, String > &m2i) |
| Small helper to get the mapping from id files to mzML files. More... | |
| static double | estimateMedianChromatographicFWHM (MSExperiment &ms_centroided) |
| static void | recalibrateMS1 (MSExperiment &ms_centroided, PeptideIdentificationList &peptide_ids, const String &id_file_abs_path="") |
| Recalibrates the masses of the MSExperiment using peptide identifications. More... | |
| static void | calculateSeeds (const MSExperiment &ms_centroided, const double intensity_threshold, FeatureMap &seeds, double median_fwhm, Size charge_min=2, Size charge_max=5) |
| Extracts seeding features from centroided MS data (e.g., for untarged extraction). More... | |
Common functions for DDA workflows.
|
static |
Extracts seeding features from centroided MS data (e.g., for untarged extraction).
MS1 spectra are subjected to a threshold filter to removelow-intensity peaks, and then uses the FeatureFinderMultiplex algorithm to identify potential seeding features. The function also takes into account the median full width at half maximum (FWHM) of the peaks to adjust the FeatureFinderMultiplex parameters for better seed detection.
| [in] | ms_centroided | <const MSExperiment&> The centroided MSExperiment object. Only MS1 level spectra are considered for seed feature calculation. |
| [in] | intensity_threshold | Intensity threshold below which peaks are discarded. |
| [out] | seeds | The FeatureMap object where the identified seeding features will be stored. |
| [in] | median_fwhm | The median FWHM of the peaks, used to adjust the FeatureFinderMultiplex parameters for seed detection. |
| [in] | charge_min | Minimum charge state to consider for feature seeds (default: 2). |
| [in] | charge_max | Maximum charge state to consider for feature seeds (default: 5). |
|
static |
Estimates the median chromatographic full width at half maximum (FWHM) for a given MSExperiment.
| [in] | ms_centroided | The centroided MSExperiment for which to estimate the FWHM. |
Small helper to get the mapping from id files to mzML files.
Basically just reverses the mapMzML2Ids function. Potential improvement: Could be combined into a single function exposed to the user.
| [in] | m2i | <const std::map<String, String>&> The mzML to id file mapping generated by mapMzML2Ids. |
|
static |
|
static |
Recalibrates the masses of the MSExperiment using peptide identifications.
This function recalibrates the masses of the MSExperiment by applying a mass recalibration based on the theoretical masses from identification data.
| [in,out] | ms_centroided | <MSExperiment&> The MSExperiment object containing the centroided spectra, which will be recalibrated in place. |
| [in] | peptide_ids | <PeptideIdentificationList&> The vector of PeptideIdentification objects containing the peptide identifications. |
| id_file_abs_path | The absolute path of the identification file. |