OpenMS
|
#include <OpenMS/TRANSFORMATIONS/FEATUREFINDER/FeatureFinderAlgorithmMetaboIdent.h>
Classes | |
struct | FeatureCompare |
Comparison functor for features. More... | |
struct | FeatureFilterQuality |
Predicate for filtering features by overall quality. More... | |
struct | FeatureFinderMetaboIdentCompound |
represents a compound in the assay library More... | |
struct | MassTraceBounds |
Boundaries for a mass trace in a feature. More... | |
Public Member Functions | |
FeatureFinderAlgorithmMetaboIdent () | |
default constructor More... | |
void | run (const std::vector< FeatureFinderMetaboIdentCompound > &metaboIdentTable, FeatureMap &features, const String &spectra_file="") |
perform targeted feature extraction of compounds from More... | |
PeakMap & | getMSData () |
Retrieve chromatograms (empty if run was not executed) More... | |
const PeakMap & | getMSData () const |
void | setMSData (const PeakMap &m) |
Set spectra. More... | |
void | setMSData (PeakMap &&m) |
const PeakMap & | getChromatograms () const |
Retrieve chromatograms (empty if run was not executed) More... | |
PeakMap & | getChromatograms () |
const TargetedExperiment & | getLibrary () const |
Retrieve the assay library (e.g., to store as TraML, empty if run was not executed) More... | |
const TransformationDescription & | getTransformations () const |
Retrieve deviations between provided coordinates and extracted ones (e.g., to store as TrafoXML or for plotting) More... | |
size_t | getNShared () const |
Retrieve number of features with shared identifications. More... | |
String | prettyPrintCompound (const TargetedExperiment::Compound &compound) |
Public Member Functions inherited from DefaultParamHandler | |
DefaultParamHandler (const String &name) | |
Constructor with name that is displayed in error messages. More... | |
DefaultParamHandler (const DefaultParamHandler &rhs) | |
Copy constructor. More... | |
virtual | ~DefaultParamHandler () |
Destructor. More... | |
DefaultParamHandler & | operator= (const DefaultParamHandler &rhs) |
Assignment operator. More... | |
virtual bool | operator== (const DefaultParamHandler &rhs) const |
Equality operator. More... | |
void | setParameters (const Param ¶m) |
Sets the parameters. More... | |
const Param & | getParameters () const |
Non-mutable access to the parameters. More... | |
const Param & | getDefaults () const |
Non-mutable access to the default parameters. More... | |
const String & | getName () const |
Non-mutable access to the name. More... | |
void | setName (const String &name) |
Mutable access to the name. More... | |
const std::vector< String > & | getSubsections () const |
Non-mutable access to the registered subsections. More... | |
Protected Types | |
typedef std::map< UInt64, std::vector< MassTraceBounds > > | FeatureBoundsMap |
Boundaries for all mass traces per feature. More... | |
typedef FeatureFinderAlgorithmPickedHelperStructs::MassTrace | MassTrace |
typedef FeatureFinderAlgorithmPickedHelperStructs::MassTraces | MassTraces |
typedef std::vector< Feature * > | FeatureGroup |
group of (overlapping) features More... | |
Protected Member Functions | |
void | extractTransformations_ (const FeatureMap &features) |
void | addTargetToLibrary_ (const String &name, const String &formula, double mass, const std::vector< Int > &charges, const std::vector< double > &rts, std::vector< double > rt_ranges, const std::vector< double > &iso_distrib) |
Add a target (from the input file) to the assay library. More... | |
Size | addTargetAnnotations_ (FeatureMap &features) |
Add "peptide" identifications with information about targets to features. More... | |
void | addTargetRT_ (TargetedExperiment::Compound &target, double rt) |
double | calculateMZ_ (double mass, Int charge) const |
Calculate mass-to-charge ratio from mass and charge. More... | |
void | generateTransitions_ (const String &target_id, double mz, Int charge, const IsotopeDistribution &iso_dist) |
void | annotateFeatures_ (FeatureMap &features) |
void | ensureConvexHulls_ (Feature &feature) const |
void | selectFeaturesFromCandidates_ (FeatureMap &features) |
void | updateMembers_ () override |
This method is used to update extra member variables at the end of the setParameters() method. More... | |
Protected Member Functions inherited from DefaultParamHandler | |
void | defaultsToParam_ () |
Updates the parameters after the defaults have been set in the constructor. More... | |
Protected Attributes | |
struct OpenMS::FeatureFinderAlgorithmMetaboIdent::FeatureFilterQuality | feature_filter_ |
struct OpenMS::FeatureFinderAlgorithmMetaboIdent::FeatureCompare | feature_compare_ |
double | rt_window_ |
RT window width. More... | |
double | mz_window_ |
m/z window width More... | |
bool | mz_window_ppm_ |
m/z window width is given in PPM (not Da)? More... | |
double | isotope_pmin_ |
min. isotope probability for peptide assay More... | |
Size | n_isotopes_ |
number of isotopes for peptide assay More... | |
double | peak_width_ |
double | min_peak_width_ |
double | signal_to_noise_ |
String | elution_model_ |
String | candidates_out_ |
Size | debug_level_ |
PeakMap | ms_data_ |
input LC-MS data More... | |
PeakMap | chrom_data_ |
accumulated chromatograms (XICs) More... | |
MRMFeatureFinderScoring | feat_finder_ |
OpenSWATH feature finder. More... | |
TargetedExperiment | library_ |
accumulated assays for targets More... | |
TransformationDescription | trafo_ |
CoarseIsotopePatternGenerator | iso_gen_ |
isotope pattern generator More... | |
std::map< String, double > | isotope_probs_ |
isotope probabilities of transitions More... | |
std::map< String, double > | target_rts_ |
RTs of targets (assays) More... | |
size_t | n_shared_ = 0 |
Protected Attributes inherited from DefaultParamHandler | |
Param | param_ |
Container for current parameters. More... | |
Param | defaults_ |
Container for default parameters. This member should be filled in the constructor of derived classes! More... | |
std::vector< String > | subsections_ |
Container for registered subsections. This member should be filled in the constructor of derived classes! More... | |
String | error_name_ |
Name that is displayed in error messages during the parameter checking. More... | |
bool | check_defaults_ |
If this member is set to false no checking if parameters in done;. More... | |
bool | warn_empty_defaults_ |
If this member is set to false no warning is emitted when defaults are empty;. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from DefaultParamHandler | |
static void | writeParametersToMetaValues (const Param &write_this, MetaInfoInterface &write_here, const String &key_prefix="") |
Writes all parameters to meta values. More... | |
struct OpenMS::FeatureFinderAlgorithmMetaboIdent::MassTraceBounds |
|
protected |
Boundaries for all mass traces per feature.
|
protected |
group of (overlapping) features
|
protected |
|
protected |
default constructor
|
protected |
Add "peptide" identifications with information about targets to features.
|
protected |
|
protected |
Add a target (from the input file) to the assay library.
|
protected |
|
protected |
Calculate mass-to-charge ratio from mass and charge.
|
protected |
|
protected |
|
protected |
|
inline |
|
inline |
Retrieve chromatograms (empty if run was not executed)
|
inline |
Retrieve the assay library (e.g., to store as TraML, empty if run was not executed)
|
inline |
Retrieve chromatograms (empty if run was not executed)
|
inline |
|
inline |
Retrieve number of features with shared identifications.
|
inline |
Retrieve deviations between provided coordinates and extracted ones (e.g., to store as TrafoXML or for plotting)
String prettyPrintCompound | ( | const TargetedExperiment::Compound & | compound | ) |
void run | ( | const std::vector< FeatureFinderMetaboIdentCompound > & | metaboIdentTable, |
FeatureMap & | features, | ||
const String & | spectra_file = "" |
||
) |
perform targeted feature extraction of compounds from
metaboIdentTable | and stores them in |
feature. | If spectra_file is provided it will be used as a fall-back to setPrimaryMSRunPath in the feature map in case a proper primaryMSRunPath is not annotated in the MSExperiment. If there are no MS1 scans in the MSData return 'features' unchanged |
|
protected |
void setMSData | ( | const PeakMap & | m | ) |
Set spectra.
void setMSData | ( | PeakMap && | m | ) |
|
overrideprotectedvirtual |
This method is used to update extra member variables at the end of the setParameters() method.
Also call it at the end of the derived classes' copy constructor and assignment operator.
The default implementation is empty.
Reimplemented from DefaultParamHandler.
|
protected |
|
protected |
accumulated chromatograms (XICs)
|
protected |
|
protected |
|
protected |
OpenSWATH feature finder.
|
protected |
|
protected |
|
protected |
isotope pattern generator
|
protected |
min. isotope probability for peptide assay
|
protected |
isotope probabilities of transitions
|
protected |
accumulated assays for targets
|
protected |
|
protected |
input LC-MS data
|
protected |
m/z window width
|
protected |
m/z window width is given in PPM (not Da)?
|
protected |
number of isotopes for peptide assay
|
protected |
|
protected |
|
protected |
RT window width.
|
protected |
|
protected |
RTs of targets (assays)
|
protected |