56 return lhs->identified_molecule_var.getIdentifiedCompoundRef()->identifier < rhs->identified_molecule_var.getIdentifiedCompoundRef()->identifier;
67 std::map<Size,MzTabParameter>
custom;
132 std::map<Size, MzTabString>
uri;
135 std::map<Size, MzTabSampleMetaData>
sample;
136 std::map<Size, MzTabMMSRunMetaData>
ms_run;
137 std::map<Size, MzTabMAssayMetaData>
assay;
140 std::map<Size, MzTabCVMetaData>
cv;
175 std::vector<MzTabOptionalColumnEntry>
opt_;
195 std::vector<MzTabOptionalColumnEntry>
opt_;
222 std::vector<MzTabOptionalColumnEntry>
opt_;
288 std::vector<MzTabOptionalColumnEntry>& opt,
312 std::set<String>& feature_user_value_keys,
313 std::set<String>& observationmatch_user_value_keys,
314 std::set<String>& compound_user_value_keys);
A container for features.
Definition: FeatureMap.h:106
Definition: MzTabBase.h:387
Definition: MzTabBase.h:105
Definition: MzTabBase.h:67
Definition: MzTabBase.h:127
Data model of MzTab-M files Please see the MzTab-M specification at https://github....
Definition: MzTabM.h:234
MzTabMSmallMoleculeFeatureSectionRows m_small_molecule_feature_data_
Definition: MzTabM.h:301
const std::map< Size, String > & getCommentRows() const
Get comment rows.
MzTabM()=default
Default constructor.
std::vector< Size > empty_rows_
index of empty rows
Definition: MzTabM.h:303
void setMetaData(const MzTabMMetaData &m_md)
Set MzTabMMetaData.
const std::vector< Size > & getEmptyRows() const
Get empty rows.
~MzTabM()=default
Destructor.
static void addMetaInfoToOptionalColumns(const std::set< String > &keys, std::vector< MzTabOptionalColumnEntry > &opt, const String &id, const MetaInfoInterface &meta)
const MzTabMMetaData & getMetaData() const
Extract MzTabMMetaData.
static String getAdductString_(const IdentificationDataInternal::ObservationMatchRef &match_ref)
std::map< Size, String > comment_rows_
comments
Definition: MzTabM.h:304
MzTabMSmallMoleculeEvidenceSectionRows m_small_molecule_evidence_data_
Definition: MzTabM.h:302
void setMSmallMoleculeEvidenceSectionRows(const MzTabMSmallMoleculeEvidenceSectionRows &m_smesd)
Set MzTabMSmallMoleculeEvidenceSectionRows.
std::vector< String > getMSmallMoleculeFeatureOptionalColumnNames() const
Extract opt_ (custom, optional column names)
MzTabMSmallMoleculeSectionRows m_small_molecule_data_
Definition: MzTabM.h:300
static MzTabM exportFeatureMapToMzTabM(const FeatureMap &feature_map)
Export FeatureMap with Identifications to MzTabM.
const MzTabMSmallMoleculeSectionRows & getMSmallMoleculeSectionRows() const
Extract MzTabMSmallMoleculeSectionRows.
const MzTabMSmallMoleculeEvidenceSectionRows & getMSmallMoleculeEvidenceSectionRows() const
Extract MzTabMSmallMoleculeEvidenceSectionRows.
static void getFeatureMapMetaValues_(const FeatureMap &feature_map, std::set< String > &feature_user_value_keys, std::set< String > &observationmatch_user_value_keys, std::set< String > &compound_user_value_keys)
std::vector< String > smf_optional_column_names_
Definition: MzTabM.h:306
std::vector< String > sml_optional_column_names_
Definition: MzTabM.h:305
MzTabMMetaData m_meta_data_
Definition: MzTabM.h:299
void setEmptyRows(const std::vector< Size > &empty)
Set empty rows.
void setMSmallMoleculeFeatureSectionRows(const MzTabMSmallMoleculeFeatureSectionRows &m_smfsd)
Set MzTabMSmallMoleculeFeatureSectionRows.
std::vector< String > getMSmallMoleculeEvidenceOptionalColumnNames() const
Extract opt_ (custom, optional column names)
std::vector< String > sme_optional_column_names_
Definition: MzTabM.h:307
std::vector< String > getMSmallMoleculeOptionalColumnNames() const
Extract opt_ (custom, optional column names)
void setCommentRows(const std::map< Size, String > &com)
Set comment rows.
void setMSmallMoleculeSectionRows(const MzTabMSmallMoleculeSectionRows &m_smsd)
Set MzTabMSmallMoleculeSectionRows.
const MzTabMSmallMoleculeFeatureSectionRows & getMSmallMoleculeFeatureSectionRows() const
Extract MzTabMSmallMoleculeFeatureSectionRows.
Definition: MzTabBase.h:269
Definition: MzTabBase.h:232
Definition: MzTabBase.h:318
Definition: MzTabBase.h:292
Definition: MzTabBase.h:206
A more convenient string class.
Definition: String.h:60
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
MzTabSpectraRef spectra_ref
Reference to a spectrum.
Definition: MzTabM.h:217
MzTabDouble calc_mass_to_charge
Precursor ion’s m/z.
Definition: MzTabM.h:216
std::map< Size, MzTabParameter > scan_polarity
The polarity mode of a given run.
Definition: MzTabM.h:84
MzTabString inchi
InChi of the potential compound identifications.
Definition: MzTabM.h:209
MzTabString prefix
The prefix used in the “identifier” column of data tables.
Definition: MzTabM.h:110
MzTabStringList adducts
Adducts.
Definition: MzTabM.h:167
MzTabStringList inchi
InChi of the potential compound identifications.
Definition: MzTabM.h:163
MzTabParameter isotopomer
If de-isotoping has not been performed, then the isotopomer quantified MUST be reported here.
Definition: MzTabM.h:188
MzTabString name
Name of the assay.
Definition: MzTabM.h:66
MzTabString external_uri
A reference to further information about the assay.
Definition: MzTabM.h:68
MzTabParameter format
Parameter specifying the data format of the external MS data file.
Definition: MzTabM.h:81
MzTabParameter derivatized_form
derivatized form.
Definition: MzTabM.h:212
std::map< Size, MzTabDouble > small_molecule_feature_abundance_assay
Feature abundance in every assay.
Definition: MzTabM.h:194
MzTabString sml_identifier
The small molecule’s identifier.
Definition: MzTabM.h:158
MzTabParameter ms_level
The highest MS level used to inform identification.
Definition: MzTabM.h:219
MzTabString smiles
Potential molecular structure as SMILES.
Definition: MzTabM.h:208
MzTabString uri
The URI to the database.
Definition: MzTabM.h:112
std::map< Size, MzTabParameter > fragmentation_method
The type of fragmentation used in a given ms run.
Definition: MzTabM.h:83
std::vector< int > assay_refs
References to the IDs of assays grouped in the study variable.
Definition: MzTabM.h:96
MzTabString reliability
Reliability of the given small molecule identification.
Definition: MzTabM.h:169
std::map< Size, MzTabParameter > custom
Additional parameters or values for a given assay.
Definition: MzTabM.h:67
MzTabInteger sme_id_ref_ambiguity_code
Ambiguity in identifications.
Definition: MzTabM.h:186
MzTabStringList uri
The source entry’s location.
Definition: MzTabM.h:165
MzTabParameter id_format
Parameter specifying the id format used in the external data file.
Definition: MzTabM.h:82
MzTabInteger charge
Precursor ion’s charge.
Definition: MzTabM.h:190
MzTabParameter variation_function
The function used to calculate the study variable quantification variation value.
Definition: MzTabM.h:98
MzTabString adduct
Adduct.
Definition: MzTabM.h:187
MzTabInteger instrument_ref
Link to a specific instrument.
Definition: MzTabM.h:80
MzTabString description
A textual description of the study variable.
Definition: MzTabM.h:99
MzTabStringList chemical_name
Possible chemical/common names or general description.
Definition: MzTabM.h:164
MzTabDouble rt_end
The end time of the feature on the retention time axis.
Definition: MzTabM.h:193
MzTabDouble retention_time
Time point in seconds.
Definition: MzTabM.h:191
MzTabParameter identification_method
Database search, search engine or process that was used to identify this small molecule.
Definition: MzTabM.h:218
MzTabStringList sme_id_refs
Reference to the identification evidence.
Definition: MzTabM.h:185
MzTabParameter average_function
The function used to calculate the study variable quantification value.
Definition: MzTabM.h:97
MzTabString smf_identifier
Within file unique identifier for the small molecule feature.
Definition: MzTabM.h:184
std::map< Size, MzTabDouble > small_molecule_abundance_study_variable
The small molecule’s abundance in all the study variables described in the metadata section.
Definition: MzTabM.h:173
MzTabParameter database
The description of databases used.
Definition: MzTabM.h:109
MzTabDouble rt_start
The start time of the feature on the retention time axis.
Definition: MzTabM.h:192
std::map< Size, MzTabDouble > small_molecule_abundance_variation_study_variable
A measure of the variability of the study variable abundance measurement.
Definition: MzTabM.h:174
MzTabString database_identifier
The putative identification for the small molecule sourced from an external database.
Definition: MzTabM.h:206
std::vector< MzTabMSmallMoleculeFeatureSectionRow > MzTabMSmallMoleculeFeatureSectionRows
Definition: MzTabM.h:226
MzTabStringList database_identifier
Names of the used databases.
Definition: MzTabM.h:160
MzTabStringList smiles
Molecular structure in SMILES format.
Definition: MzTabM.h:162
MzTabString location
Location of the external data file.
Definition: MzTabM.h:79
std::vector< MzTabMSmallMoleculeEvidenceSectionRow > MzTabMSmallMoleculeEvidenceSectionRows
Definition: MzTabM.h:227
MzTabParameter hash_method
Parameter specifying the hash methods.
Definition: MzTabM.h:86
MzTabDoubleList theoretical_neutral_mass
Precursor theoretical neutral mass.
Definition: MzTabM.h:166
MzTabDouble exp_mass_to_charge
Precursor ion’s m/z.
Definition: MzTabM.h:189
MzTabDouble best_id_confidence_value
The best confidence measure.
Definition: MzTabM.h:171
MzTabStringList smf_id_refs
References to all the features on which quantification has been based.
Definition: MzTabM.h:159
std::vector< MzTabOptionalColumnEntry > opt_
Optional columns must start with “opt_”.
Definition: MzTabM.h:175
MzTabString chemical_name
Possible chemical/common names or general description.
Definition: MzTabM.h:210
std::vector< MzTabMSmallMoleculeSectionRow > MzTabMSmallMoleculeSectionRows
Definition: MzTabM.h:225
MzTabString chemical_formula
The putative molecular formula.
Definition: MzTabM.h:207
MzTabString hash
Hash value of the corresponding external MS data file.
Definition: MzTabM.h:85
MzTabString sme_identifier
Within file unique identifier for the small molecule evidence result.
Definition: MzTabM.h:204
MzTabString evidence_input_id
Within file unique identifier for the input data used to support this identification e....
Definition: MzTabM.h:205
std::map< Size, MzTabDouble > small_molecule_abundance_assay
The small molecule’s abundance in every assay described in the metadata section.
Definition: MzTabM.h:172
MzTabParameterList factors
Additional parameters or factors.
Definition: MzTabM.h:100
MzTabInteger sample_ref
An association from a given assay to the sample analysed.
Definition: MzTabM.h:69
std::map< Size, MzTabDouble > id_confidence_measure
Statistical value or score for the identification.
Definition: MzTabM.h:220
MzTabString version
The database version.
Definition: MzTabM.h:111
MzTabInteger rank
Rank of the identification (1 = best)
Definition: MzTabM.h:221
MzTabParameter best_id_confidence_measure
The identification approach with the highest confidence.
Definition: MzTabM.h:170
MzTabInteger ms_run_ref
An association from a given assay to the source MS run.
Definition: MzTabM.h:70
MzTabStringList chemical_formula
Potential chemical formula of the reported compound.
Definition: MzTabM.h:161
SME Small molecule evidence section (mztab-m)
Definition: MzTabM.h:202
SMF Small molecule feature section (mztab-m)
Definition: MzTabM.h:182
SML Small molecule section (mztab-m)
Definition: MzTabM.h:156
Data model of MzTabM files. Please see the official MzTabM specification at https://github....
Definition: MzTabM.h:53
bool operator()(const IdentificationDataInternal::ObservationMatchRef &lhs, const IdentificationDataInternal::ObservationMatchRef &rhs) const
Definition: MzTabM.h:54
Wrapper that adds operator< to iterators, so they can be used as (part of) keys in maps/sets or multi...
Definition: MetaData.h:46