47 #pragma clang diagnostic push
48 #pragma clang diagnostic ignored "-Wnon-virtual-dtor"
99 std::vector<MzTabModification>
get()
const;
101 void set(
const std::vector<MzTabModification>& entries);
172 std::map<Size, MzTabString>
uri;
184 std::map<Size, MzTabMSRunMetaData>
ms_run;
188 std::map<Size, MzTabSampleMetaData>
sample;
190 std::map<Size, MzTabAssayMetaData>
assay;
194 std::map<Size, MzTabCVMetaData>
cv;
228 std::vector<MzTabOptionalColumnEntry>
opt_;
264 std::vector<MzTabOptionalColumnEntry>
opt_;
302 std::vector<MzTabOptionalColumnEntry>
opt_;
357 std::vector<MzTabOptionalColumnEntry>
opt_;
382 std::vector<MzTabOptionalColumnEntry>
opt_;
413 std::vector<MzTabOptionalColumnEntry>
opt_;
444 std::vector<MzTabOptionalColumnEntry>
opt_;
576 const std::vector<ProteinIdentification>& prot_ids,
577 const std::vector<PeptideIdentification>& peptide_ids,
579 bool first_run_inference_only,
580 bool export_empty_pep_ids =
false,
581 bool export_all_psms =
false,
582 const String& title =
"ID export from OpenMS");
606 const bool first_run_inference_only,
607 const bool export_unidentified_features,
608 const bool export_unassigned_ids,
609 const bool export_subfeatures,
610 const bool export_empty_pep_ids =
false,
611 const bool export_all_psms =
false,
612 const String& title =
"ConsensusMap export from OpenMS");
618 const std::vector<const ProteinIdentification*>& prot_ids,
619 const std::vector<const PeptideIdentification*>& peptide_ids,
621 bool first_run_inference_only,
622 bool export_empty_pep_ids =
false,
623 bool export_all_psms =
false,
624 const String& title =
"ID export from OpenMS");
661 size_t quant_study_variables_ = 0;
663 size_t PRT_STATE_ = 0;
664 size_t prt_run_id_ = 0;
665 size_t prt_hit_id_ = 0;
666 size_t prt_group_id_ = 0;
667 size_t prt_indistgroup_id_ = 0;
670 size_t current_psm_idx_ = 0;
686 const bool first_run_inference_only,
687 const bool export_unidentified_features,
688 const bool export_unassigned_ids,
689 const bool export_subfeatures,
690 const bool export_empty_pep_ids =
false,
691 const bool export_all_psms =
false,
692 const String& title =
"ConsensusMap export from OpenMS");
731 size_t quant_study_variables_ = 0;
732 size_t n_study_variables_ = 0;
733 size_t PRT_STATE_ = 0;
734 size_t prt_run_id_ = 0;
735 size_t prt_hit_id_ = 0;
736 size_t prt_group_id_ = 0;
737 size_t prt_indistgroup_id_ = 0;
739 size_t pep_counter_ = 0;
741 size_t current_psm_idx_ = 0;
759 std::vector<ProteinIdentification const*>
const& prot_id,
760 std::map<String, size_t>& idrun_2_run_index,
761 std::map<std::pair<size_t, size_t>,
size_t>& map_run_fileidx_2_msfileidx,
762 std::map<
Size, std::vector<std::pair<String, String>>>& run_to_search_engines,
763 Size const current_psm_idx,
767 bool const export_empty_pep_ids,
768 bool const export_all_psms);
774 const Size n_study_variables,
775 const std::set<String>& consensus_feature_user_value_keys,
776 const std::set<String>& peptide_identifications_user_value_keys,
777 const std::set<String>& peptide_hit_user_value_keys,
778 const std::map<String, size_t>& idrun_2_run_index,
779 const std::map<std::pair<size_t,size_t>,
size_t>& map_run_fileidx_2_msfileidx,
780 const std::map< std::pair< String, unsigned >,
unsigned>& path_label_to_assay,
781 const std::vector<String>& fixed_mods,
782 bool export_subfeatures);
786 const std::set<String>& feature_user_value_keys,
787 const std::set<String>& peptide_identifications_user_value_keys,
788 const std::set<String>& peptide_hit_user_value_keys,
789 const std::vector<String>& fixed_mods);
795 const std::set<String>& protein_hit_user_value_keys);
803 const std::vector<ProteinHit>& protein_hits,
806 const std::map<
Size, std::set<Size>>& ind2prot,
811 const std::map<size_t, String>& msrunindex_2_msfilename,
815 const std::vector<const ProteinIdentification*>& prot_ids,
817 std::map<String, size_t>& msfilename_2_msrunindex,
818 std::map<size_t, String>& msrunindex_2_msfilename);
826 std::set<String>& consensus_feature_user_value_keys,
827 std::set<String>& peptide_identification_user_value_keys,
828 std::set<String>& peptide_hit_user_value_keys);
831 std::set<String>& feature_user_value_keys,
832 std::set<String>& peptide_identification_user_value_keys,
833 std::set<String>& peptide_hit_user_value_keys);
836 const std::vector<const ProteinIdentification*>& prot_ids,
837 std::vector<const PeptideIdentification*>& peptide_ids_,
838 std::set<String>& protein_hit_user_value_keys,
839 std::set<String>& peptide_id_user_value_keys,
840 std::set<String>& peptide_hit_user_value_keys);
846 const std::vector<const ProteinIdentification*>& prot_ids,
847 const std::vector<const PeptideIdentification*>& pep_ids,
849 std::map<std::tuple<String, String, String>, std::set<Size>>& search_engine_to_runs,
850 std::map<
Size, std::vector<std::pair<String, String>>>& run_to_search_engines,
851 std::map<
Size, std::vector<std::vector<std::pair<String, String>>>>& run_to_search_engines_settings,
852 std::map<
String, std::vector<std::pair<String, String>>>& search_engine_to_settings);
855 const std::vector<ProteinIdentification::ProteinGroup>& groups,
856 const std::vector<ProteinHit>& proteins);
859 const std::vector<const ProteinIdentification*>& prot_ids,
860 const std::map<std::tuple<String, String, String>, std::set<Size>>& search_engine_to_runs,
861 const std::map<
String, std::vector<std::pair<String,String>>>& search_engine_to_settings,
863 bool first_run_inference_only);
866 const std::vector<const ProteinIdentification*>& prot_ids,
867 const std::map<String, size_t>& msfilename_2_msrunindex,
869 std::map<std::pair<size_t, size_t>,
size_t>& map_run_fileidx_2_msfileidx);
872 const std::vector<const ProteinIdentification*>& prot_ids,
897 #pragma clang diagnostic pop
A consensus feature spanning multiple LC-MS/MS experiments.
Definition: ConsensusFeature.h:71
A container for consensus elements.
Definition: ConsensusMap.h:92
A container for features.
Definition: FeatureMap.h:106
An LC-MS feature.
Definition: Feature.h:72
Definition: MzTabBase.h:387
Definition: MzTabBase.h:182
Definition: MzTabBase.h:105
Definition: MzTabBase.h:67
Definition: MzTabBase.h:127
void set(const std::vector< MzTabModification > &entries)
std::vector< MzTabModification > get() const
String toCellString() const
void fromCellString(const String &s)
~MzTabModificationList()=default
std::vector< MzTabModification > entries_
Definition: MzTab.h:105
Data model of MzTab files.
Definition: MzTab.h:61
MzTabString getModOrSubstIdentifier() const
String toCellString() const
void fromCellString(const String &s)
MzTabString mod_identifier_
Definition: MzTab.h:85
void setPositionsAndParameters(const std::vector< std::pair< Size, MzTabParameter > > &ppp)
set (potentially ambiguous) position(s) with associated parameter (might be null if not set)
std::vector< std::pair< Size, MzTabParameter > > pos_param_pairs_
Definition: MzTab.h:84
std::vector< std::pair< Size, MzTabParameter > > getPositionsAndParameters() const
~MzTabModification()=default
void setModificationIdentifier(const MzTabString &mod_id)
Definition: MzTabBase.h:269
Definition: MzTabBase.h:232
Definition: MzTabBase.h:318
String getSpecRef() const
Definition: MzTabBase.h:292
Definition: MzTabBase.h:206
std::vector< String > pep_optional_column_names_
Definition: MzTab.h:745
const ConsensusMap & consensus_map_
Definition: MzTab.h:705
std::map< Size, std::vector< std::pair< String, String > > > run_to_search_engines_
Definition: MzTab.h:715
std::map< std::pair< size_t, size_t >, size_t > map_id_run_fileidx_2_msfileidx_
Definition: MzTab.h:717
std::vector< const ProteinIdentification * > prot_ids_
Definition: MzTab.h:720
std::set< String > consensus_feature_peptide_identification_user_value_keys_
Definition: MzTab.h:708
String filename_
Definition: MzTab.h:725
std::map< Size, std::set< Size > > pg2prot_
Definition: MzTab.h:713
bool export_empty_pep_ids_
Definition: MzTab.h:729
bool nextPRTRow(MzTabProteinSectionRow &row)
bool export_unidentified_features_
Definition: MzTab.h:727
bool nextPEPRow(MzTabPeptideSectionRow &row)
const std::vector< String > & getProteinOptionalColumnNames() const
std::set< String > protein_hit_user_value_keys_
Definition: MzTab.h:706
std::vector< String > psm_optional_column_names_
Definition: MzTab.h:746
StringList fixed_mods_
Definition: MzTab.h:726
std::map< String, size_t > idrunid_2_idrunindex_
Definition: MzTab.h:714
bool export_all_psms_
Definition: MzTab.h:730
std::vector< const PeptideIdentification * > peptide_ids_
Definition: MzTab.h:721
std::map< Size, std::set< Size > > ind2prot_
Definition: MzTab.h:712
const MzTabMetaData & getMetaData() const
StringList ms_runs_
Definition: MzTab.h:723
bool nextPSMRow(MzTabPSMSectionRow &row)
CMMzTabStream(const ConsensusMap &consensus_map, const String &filename, const bool first_run_inference_only, const bool export_unidentified_features, const bool export_unassigned_ids, const bool export_subfeatures, const bool export_empty_pep_ids=false, const bool export_all_psms=false, const String &title="ConsensusMap export from OpenMS")
std::map< std::pair< String, unsigned >, unsigned > path_label_to_assay_
Definition: MzTab.h:718
bool first_run_inference_
Definition: MzTab.h:724
std::map< Size, std::vector< std::vector< std::pair< String, String > > > > run_to_search_engines_settings_
Definition: MzTab.h:716
const std::vector< String > & getPeptideOptionalColumnNames() const
bool export_subfeatures_
Definition: MzTab.h:728
std::vector< String > prt_optional_column_names_
Definition: MzTab.h:744
std::set< String > consensus_feature_user_value_keys_
Definition: MzTab.h:707
MzTabString db_
Definition: MzTab.h:742
const std::vector< String > & getPSMOptionalColumnNames() const
MzTabMetaData meta_data_
Definition: MzTab.h:748
std::set< String > consensus_feature_peptide_hit_user_value_keys_
Definition: MzTab.h:709
std::vector< String > pep_optional_column_names_
Definition: MzTab.h:674
std::map< Size, std::vector< std::pair< String, String > > > run_to_search_engines_
Definition: MzTab.h:644
std::map< std::pair< size_t, size_t >, size_t > map_id_run_fileidx_2_msfileidx_
Definition: MzTab.h:646
std::vector< const ProteinIdentification * > prot_ids_
Definition: MzTab.h:649
String filename_
Definition: MzTab.h:654
std::map< Size, std::set< Size > > pg2prot_
Definition: MzTab.h:642
bool export_empty_pep_ids_
Definition: MzTab.h:659
bool nextPRTRow(MzTabProteinSectionRow &row)
bool nextPEPRow(MzTabPeptideSectionRow &row)
const std::vector< String > & getProteinOptionalColumnNames() const
std::set< String > protein_hit_user_value_keys_
Definition: MzTab.h:636
std::vector< String > psm_optional_column_names_
Definition: MzTab.h:675
StringList fixed_mods_
Definition: MzTab.h:655
std::map< String, size_t > idrunid_2_idrunindex_
Definition: MzTab.h:643
bool export_all_psms_
Definition: MzTab.h:660
std::vector< const PeptideIdentification * > peptide_ids_
Definition: MzTab.h:650
std::map< Size, std::set< Size > > ind2prot_
Definition: MzTab.h:641
const MzTabMetaData & getMetaData() const
StringList ms_runs_
Definition: MzTab.h:652
bool nextPSMRow(MzTabPSMSectionRow &row)
std::map< std::pair< String, unsigned >, unsigned > path_label_to_assay_
Definition: MzTab.h:647
std::set< String > peptide_hit_user_value_keys_
Definition: MzTab.h:638
bool first_run_inference_
Definition: MzTab.h:653
std::map< Size, std::vector< std::vector< std::pair< String, String > > > > run_to_search_engines_settings_
Definition: MzTab.h:645
const std::vector< String > & getPeptideOptionalColumnNames() const
IDMzTabStream(const std::vector< const ProteinIdentification * > &prot_ids, const std::vector< const PeptideIdentification * > &peptide_ids, const String &filename, bool first_run_inference_only, bool export_empty_pep_ids=false, bool export_all_psms=false, const String &title="ID export from OpenMS")
std::vector< String > prt_optional_column_names_
Definition: MzTab.h:673
std::set< String > peptide_id_user_value_keys_
Definition: MzTab.h:637
MzTabString db_
Definition: MzTab.h:671
const std::vector< String > & getPSMOptionalColumnNames() const
MzTabMetaData meta_data_
Definition: MzTab.h:677
Data model of MzTab files. Please see the official MzTab specification at https://code....
Definition: MzTab.h:478
static void getSearchModifications_(const std::vector< const ProteinIdentification * > &prot_ids, StringList &var_mods, StringList &fixed_mods)
const std::map< Size, String > & getCommentRows() const
static MzTabString getModificationIdentifier_(const ResidueModification &r)
void setOligonucleotideSectionRows(const MzTabOligonucleotideSectionRows &onsd)
MzTabOSMSectionRows osm_data_
/ oligonucleotide-spectrum matches
Definition: MzTab.h:890
std::vector< Size > empty_rows_
index of empty rows
Definition: MzTab.h:891
MzTabSmallMoleculeSectionRows small_molecule_data_
Definition: MzTab.h:887
const std::vector< Size > & getEmptyRows() const
static void addMetaInfoToOptionalColumns(const std::set< String > &keys, std::vector< MzTabOptionalColumnEntry > &opt, const String &id, const MetaInfoInterface &meta)
std::vector< String > getSmallMoleculeOptionalColumnNames() const
Extract opt_ (custom, optional column names)
static MzTab exportConsensusMapToMzTab(const ConsensusMap &consensus_map, const String &filename, const bool first_run_inference_only, const bool export_unidentified_features, const bool export_unassigned_ids, const bool export_subfeatures, const bool export_empty_pep_ids=false, const bool export_all_psms=false, const String &title="ConsensusMap export from OpenMS")
export linked peptide features aka consensus map
std::vector< String > getOligonucleotideOptionalColumnNames() const
Extract opt_ (custom, optional column names)
static MzTab exportIdentificationsToMzTab(const std::vector< ProteinIdentification > &prot_ids, const std::vector< PeptideIdentification > &peptide_ids, const String &filename, bool first_run_inference_only, bool export_empty_pep_ids=false, bool export_all_psms=false, const String &title="ID export from OpenMS")
Export peptide and protein identifications to mzTab.
MzTabOligonucleotideSectionRows oligonucleotide_data_
Definition: MzTab.h:889
static MzTabParameter getProteinScoreType_(const ProteinIdentification &prot_id)
MzTabPSMSectionRows & getPSMSectionRows()
static void addMSRunMetaData_(const std::map< size_t, String > &msrunindex_2_msfilename, MzTabMetaData &meta_data)
std::map< Size, String > comment_rows_
comments
Definition: MzTab.h:892
const MzTabMetaData & getMetaData() const
const MzTabNucleicAcidSectionRows & getNucleicAcidSectionRows() const
static MzTabPeptideSectionRow peptideSectionRowFromConsensusFeature_(const ConsensusFeature &c, const ConsensusMap &consensus_map, const StringList &ms_runs, const Size n_study_variables, const std::set< String > &consensus_feature_user_value_keys, const std::set< String > &peptide_identifications_user_value_keys, const std::set< String > &peptide_hit_user_value_keys, const std::map< String, size_t > &idrun_2_run_index, const std::map< std::pair< size_t, size_t >, size_t > &map_run_fileidx_2_msfileidx, const std::map< std::pair< String, unsigned >, unsigned > &path_label_to_assay, const std::vector< String > &fixed_mods, bool export_subfeatures)
static std::optional< MzTabPSMSectionRow > PSMSectionRowFromPeptideID_(PeptideIdentification const &pid, std::vector< ProteinIdentification const * > const &prot_id, std::map< String, size_t > &idrun_2_run_index, std::map< std::pair< size_t, size_t >, size_t > &map_run_fileidx_2_msfileidx, std::map< Size, std::vector< std::pair< String, String >>> &run_to_search_engines, Size const current_psm_idx, Size const psm_id, MzTabString const &db, MzTabString const &db_version, bool const export_empty_pep_ids, bool const export_all_psms)
std::vector< String > getPeptideOptionalColumnNames() const
Extract opt_ (custom, optional column names)
std::vector< String > getOSMOptionalColumnNames() const
Extract opt_ (custom, optional column names)
void setNucleicAcidSectionRows(const MzTabNucleicAcidSectionRows &nasd)
static MzTabProteinSectionRow nextProteinSectionRowFromIndistinguishableGroup_(const std::vector< ProteinHit > &protein_hits, const ProteinIdentification::ProteinGroup &group, const size_t g, const std::map< Size, std::set< Size >> &ind2prot, const MzTabString &db, const MzTabString &db_version)
void setPeptideSectionRows(const MzTabPeptideSectionRows &psd)
static size_t getQuantStudyVariables_(const ProteinIdentification &pid)
static MzTabProteinSectionRow nextProteinSectionRowFromProteinGroup_(const ProteinIdentification::ProteinGroup &group, const MzTabString &db, const MzTabString &db_version)
static std::map< Size, std::set< Size > > mapGroupsToProteins_(const std::vector< ProteinIdentification::ProteinGroup > &groups, const std::vector< ProteinHit > &proteins)
const MzTabPeptideSectionRows & getPeptideSectionRows() const
void setSmallMoleculeSectionRows(const MzTabSmallMoleculeSectionRows &smsd)
void setProteinSectionRows(const MzTabProteinSectionRows &psd)
std::vector< String > getNucleicAcidOptionalColumnNames() const
Extract opt_ (custom, optional column names)
void setMetaData(const MzTabMetaData &md)
MzTabPSMSectionRows psm_data_
Definition: MzTab.h:886
const MzTabPSMSectionRows & getPSMSectionRows() const
static MzTabParameter getMSRunSpectrumIdentifierType_(const std::vector< const PeptideIdentification * > &peptide_ids_)
const MzTabOligonucleotideSectionRows & getOligonucleotideSectionRows() const
static void mapBetweenRunAndSearchEngines_(const std::vector< const ProteinIdentification * > &prot_ids, const std::vector< const PeptideIdentification * > &pep_ids, bool skip_first_run, std::map< std::tuple< String, String, String >, std::set< Size >> &search_engine_to_runs, std::map< Size, std::vector< std::pair< String, String >>> &run_to_search_engines, std::map< Size, std::vector< std::vector< std::pair< String, String >>>> &run_to_search_engines_settings, std::map< String, std::vector< std::pair< String, String >>> &search_engine_to_settings)
MzTabProteinSectionRows & getProteinSectionRows()
static void getFeatureMapMetaValues_(const FeatureMap &feature_map, std::set< String > &feature_user_value_keys, std::set< String > &peptide_identification_user_value_keys, std::set< String > &peptide_hit_user_value_keys)
MzTabNucleicAcidSectionRows nucleic_acid_data_
Definition: MzTab.h:888
static std::map< Size, MzTabModificationMetaData > generateMzTabStringFromVariableModifications(const std::vector< String > &mods)
MzTabProteinSectionRows protein_data_
Definition: MzTab.h:884
static std::map< Size, MzTabModificationMetaData > generateMzTabStringFromFixedModifications(const std::vector< String > &mods)
static void checkSequenceUniqueness_(const std::vector< PeptideIdentification > &curr_pep_ids)
static std::map< String, Size > mapIDRunIdentifier2IDRunIndex_(const std::vector< const ProteinIdentification * > &prot_ids)
std::vector< String > getProteinOptionalColumnNames() const
Extract opt_ (custom, optional column names)
void setEmptyRows(const std::vector< Size > &empty)
static MzTabPeptideSectionRow peptideSectionRowFromFeature_(const Feature &c, const std::set< String > &feature_user_value_keys, const std::set< String > &peptide_identifications_user_value_keys, const std::set< String > &peptide_hit_user_value_keys, const std::vector< String > &fixed_mods)
static MzTabModificationList extractModificationList(const PeptideHit &pep_hit, const std::vector< String > &fixed_mods, const std::vector< String > &localization_mods)
MzTabPeptideSectionRows peptide_data_
Definition: MzTab.h:885
const MzTabSmallMoleculeSectionRows & getSmallMoleculeSectionRows() const
static void mapIDRunFileIndex2MSFileIndex_(const std::vector< const ProteinIdentification * > &prot_ids, const std::map< String, size_t > &msfilename_2_msrunindex, bool skip_first_run, std::map< std::pair< size_t, size_t >, size_t > &map_run_fileidx_2_msfileidx)
MzTab()=default
Default constructor.
static void getIdentificationMetaValues_(const std::vector< const ProteinIdentification * > &prot_ids, std::vector< const PeptideIdentification * > &peptide_ids_, std::set< String > &protein_hit_user_value_keys, std::set< String > &peptide_id_user_value_keys, std::set< String > &peptide_hit_user_value_keys)
std::vector< String > getPSMOptionalColumnNames() const
Extract opt_ (custom, optional column names)
MzTabMetaData meta_data_
Definition: MzTab.h:883
const MzTabOSMSectionRows & getOSMSectionRows() const
static void mapBetweenMSFileNameAndMSRunIndex_(const std::vector< const ProteinIdentification * > &prot_ids, bool skip_first, std::map< String, size_t > &msfilename_2_msrunindex, std::map< size_t, String > &msrunindex_2_msfilename)
const MzTabProteinSectionRows & getProteinSectionRows() const
static std::map< Size, MzTabModificationMetaData > generateMzTabStringFromModifications(const std::vector< String > &mods)
MzTabPeptideSectionRows & getPeptideSectionRows()
void setCommentRows(const std::map< Size, String > &com)
void setPSMSectionRows(const MzTabPSMSectionRows &psd)
static void getConsensusMapMetaValues_(const ConsensusMap &consensus_map, std::set< String > &consensus_feature_user_value_keys, std::set< String > &peptide_identification_user_value_keys, std::set< String > &peptide_hit_user_value_keys)
static void addSearchMetaData_(const std::vector< const ProteinIdentification * > &prot_ids, const std::map< std::tuple< String, String, String >, std::set< Size >> &search_engine_to_runs, const std::map< String, std::vector< std::pair< String, String >>> &search_engine_to_settings, MzTabMetaData &meta_data, bool first_run_inference_only)
void setOSMSectionRows(const MzTabOSMSectionRows &osd)
static MzTabProteinSectionRow proteinSectionRowFromProteinHit_(const ProteinHit &hit, const MzTabString &db, const MzTabString &db_version, const std::set< String > &protein_hit_user_value_keys)
static MzTab exportFeatureMapToMzTab(const FeatureMap &feature_map, const String &filename)
Representation of a peptide hit.
Definition: PeptideHit.h:57
Represents the peptide hits for a spectrum.
Definition: PeptideIdentification.h:65
Representation of a protein hit.
Definition: ProteinHit.h:60
Bundles multiple (e.g. indistinguishable) proteins in a group.
Definition: ProteinIdentification.h:131
Representation of a protein identification run.
Definition: ProteinIdentification.h:76
Representation of a modification on an amino acid residue.
Definition: ResidueModification.h:79
A more convenient string class.
Definition: String.h:60
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:70
const double c
Definition: Constants.h:214
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48
MzTabInteger taxid
NEWT taxonomy for the species.
Definition: MzTab.h:342
MzTabInteger end
Definition: MzTab.h:412
MzTabSpectraRef spectra_ref
Spectra identifying the peptide.
Definition: MzTab.h:259
MzTabDouble calc_mass_to_charge
Precursor ion’s m/z.
Definition: MzTab.h:339
std::vector< MzTabPSMSectionRow > MzTabPSMSectionRows
Definition: MzTab.h:464
std::map< Size, MzTabDouble > smallmolecule_abundance_assay
Definition: MzTab.h:353
MzTabString position
Definition: MzTab.h:113
MzTabString modifications
Modifications identified on the small molecule.
Definition: MzTab.h:352
MzTabString sequence
The peptide’s sequence.
Definition: MzTab.h:244
std::map< Size, MzTabInteger > num_oligos_distinct_ms_run
Definition: MzTab.h:374
MzTabDoubleList retention_time
Time points in seconds. Semantics may vary.
Definition: MzTab.h:254
MzTabDoubleList retention_time_window
Definition: MzTab.h:255
MzTabParameterList fragmentation_method
Definition: MzTab.h:129
std::vector< int > sample_refs
Definition: MzTab.h:135
MzTabParameter format
Definition: MzTab.h:126
std::map< Size, MzTabDouble > smallmolecule_abundance_std_error_study_variable
Definition: MzTab.h:356
std::vector< MzTabProteinSectionRow > MzTabProteinSectionRows
Definition: MzTab.h:462
std::map< Size, MzTabDouble > best_search_engine_score
Search engine(s) score(s) for the peptide.
Definition: MzTab.h:250
MzTabString smiles
Molecular structure in SMILES format.
Definition: MzTab.h:335
MzTabBoolean unique
0=false, 1=true, null else: Peptide is unique for the protein.
Definition: MzTab.h:246
MzTabString uri
Location of the PSMs source entry.
Definition: MzTab.h:258
std::vector< int > assay_refs
Definition: MzTab.h:134
MzTabModificationList modifications
Modifications identified in the peptide.
Definition: MzTab.h:253
MzTabParameter id_format
Definition: MzTab.h:128
MzTabInteger charge
Precursor ion’s charge.
Definition: MzTab.h:256
std::map< Size, MzTabDouble > smallmolecule_abundance_stdev_study_variable
Definition: MzTab.h:355
MzTabString database_version
Version (and optionally # of entries).
Definition: MzTab.h:248
std::map< Size, MzTabModificationMetaData > quantification_mod
Definition: MzTab.h:119
MzTabString description
Definition: MzTab.h:136
MzTabStringList identifier
The small molecule’s identifier.
Definition: MzTab.h:333
std::vector< MzTabPeptideSectionRow > MzTabPeptideSectionRows
Definition: MzTab.h:463
std::map< Size, std::map< Size, MzTabDouble > > search_engine_score_ms_run
Definition: MzTab.h:251
MzTabString accession
The protein’s accession.
Definition: MzTab.h:245
MzTabStringList ambiguity_members
Alternative nucleic acid identifications.
Definition: MzTab.h:376
MzTabDouble mass_to_charge
Precursor ion’s m/z.
Definition: MzTab.h:257
MzTabDouble coverage
(0-1) Fraction of nucleic acid sequence identified.
Definition: MzTab.h:381
MzTabParameter modification
Definition: MzTab.h:111
std::map< Size, MzTabInteger > num_oligos_unique_ms_run
Definition: MzTab.h:375
MzTabInteger start
Definition: MzTab.h:411
std::map< Size, MzTabDouble > peptide_abundance_std_error_study_variable
Definition: MzTab.h:263
MzTabString site
Definition: MzTab.h:112
MzTabString inchi_key
InChi Key of the identified compound.
Definition: MzTab.h:336
MzTabParameter quantification_reagent
Definition: MzTab.h:118
MzTabString location
Definition: MzTab.h:127
std::vector< MzTabOSMSectionRow > MzTabOSMSectionRows
Definition: MzTab.h:468
MzTabInteger reliability
(1-3) 0=null Identification reliability for the peptide.
Definition: MzTab.h:252
std::vector< int > ms_run_ref
Definition: MzTab.h:121
std::map< Size, MzTabInteger > num_osms_ms_run
Definition: MzTab.h:373
std::map< Size, MzTabDouble > search_engine_score
Search engine(s) score(s) for the match.
Definition: MzTab.h:435
MzTabStringList go_terms
List of GO terms for the nucleic acid.
Definition: MzTab.h:380
MzTabString pre
Definition: MzTab.h:409
MzTabDouble exp_mass_to_charge
Precursor ion’s m/z.
Definition: MzTab.h:338
std::map< Size, MzTabDouble > peptide_abundance_study_variable
Definition: MzTab.h:261
std::map< Size, MzTabDouble > smallmolecule_abundance_study_variable
Definition: MzTab.h:354
std::vector< MzTabOptionalColumnEntry > opt_
Optional columns must start with “opt_”.
Definition: MzTab.h:264
std::vector< MzTabOligonucleotideSectionRow > MzTabOligonucleotideSectionRows
Definition: MzTab.h:467
MzTabParameterList search_engine
Search engine(s) that identified the peptide.
Definition: MzTab.h:249
MzTabString post
Definition: MzTab.h:410
std::map< Size, MzTabDouble > peptide_abundance_stdev_study_variable
Definition: MzTab.h:262
std::map< Size, MzTabDouble > peptide_abundance_assay
Definition: MzTab.h:260
MzTabString chemical_formula
Chemical formula of the identified compound.
Definition: MzTab.h:334
MzTabString sample_ref
Definition: MzTab.h:120
std::vector< MzTabSmallMoleculeSectionRow > MzTabSmallMoleculeSectionRows
Definition: MzTab.h:465
MzTabString species
Human readable name of the species.
Definition: MzTab.h:343
std::vector< MzTabNucleicAcidSectionRow > MzTabNucleicAcidSectionRows
Definition: MzTab.h:466
MzTabString database
Name of the sequence database.
Definition: MzTab.h:247
NUC - Nucleic acid section (table-based)
Definition: MzTab.h:362
OSM - OSM (oligonucleotide-spectrum match) section (table-based)
Definition: MzTab.h:432
OLI - Oligonucleotide section (table-based)
Definition: MzTab.h:397
PEP - Peptide section (Table based)
Definition: MzTab.h:243
SML Small molecule section (table based)
Definition: MzTab.h:332
Comparison operator for sorting rows.
Definition: MzTab.h:386
bool operator()(const MzTabNucleicAcidSectionRow &row1, const MzTabNucleicAcidSectionRow &row2) const
Definition: MzTab.h:387
Comparison operator for sorting rows.
Definition: MzTab.h:448
bool operator()(const MzTabOSMSectionRow &row1, const MzTabOSMSectionRow &row2) const
Definition: MzTab.h:449
Comparison operator for sorting rows.
Definition: MzTab.h:417
bool operator()(const MzTabOligonucleotideSectionRow &row1, const MzTabOligonucleotideSectionRow &row2) const
Definition: MzTab.h:418
Comparison operator for sorting rows.
Definition: MzTab.h:313
bool operator()(const MzTabPSMSectionRow &row1, const MzTabPSMSectionRow &row2) const
Definition: MzTab.h:314
PSM - PSM section (Table based)
Definition: MzTab.h:281
MzTabSpectraRef spectra_ref
Spectrum for this PSM.
Definition: MzTab.h:297
MzTabDouble calc_mass_to_charge
The calculated m/z ratio of the experimental precursor ion.
Definition: MzTab.h:295
MzTabString start
(List of) Start positions in parent protein(s)
Definition: MzTab.h:300
MzTabString sequence
The peptide’s sequence.
Definition: MzTab.h:282
MzTabDoubleList retention_time
Time points in seconds. Semantics may vary.
Definition: MzTab.h:292
MzTabBoolean unique
0=false, 1=true, null else: Peptide is unique for the protein.
Definition: MzTab.h:285
MzTabString uri
Location of the PSM’s source entry.
Definition: MzTab.h:296
void addPepEvidenceToRows(const std::vector< PeptideEvidence > &peptide_evidences)
Gets peptide_evidences with data from internal structures adds their info to an MzTabPSMSectionRow (p...
MzTabModificationList modifications
Modifications identified in the peptide.
Definition: MzTab.h:291
MzTabInteger charge
The charge of the experimental precursor ion.
Definition: MzTab.h:293
MzTabString database_version
Version (and optionally # of entries).
Definition: MzTab.h:287
MzTabString accession
List of potential parent protein accessions as in the fasta DB.
Definition: MzTab.h:284
MzTabString end
(List of) Start positions in parent protein(s)
Definition: MzTab.h:301
MzTabInteger reliability
(1-3) 0=null Identification reliability for the peptide.
Definition: MzTab.h:290
std::map< Size, MzTabDouble > search_engine_score
Search engine(s) score(s) for the peptide.
Definition: MzTab.h:289
MzTabString pre
(List of) Amino acid in parent protein(s) before the start of the current PSM
Definition: MzTab.h:298
MzTabDouble exp_mass_to_charge
The observed m/z ratio of the experimental precursor ion (either directly from the raw data or correc...
Definition: MzTab.h:294
std::vector< MzTabOptionalColumnEntry > opt_
Optional columns must start with “opt_”.
Definition: MzTab.h:302
MzTabParameterList search_engine
Search engine(s) that identified the peptide.
Definition: MzTab.h:288
MzTabString post
(List of) Amino acid in parent protein(s) after the start of the current PSM
Definition: MzTab.h:299
MzTabInteger PSM_ID
A unique ID of a PSM line.
Definition: MzTab.h:283
MzTabString database
Name of the sequence database.
Definition: MzTab.h:286
Comparison operator for sorting rows.
Definition: MzTab.h:269
bool operator()(const MzTabPeptideSectionRow &row1, const MzTabPeptideSectionRow &row2) const
Definition: MzTab.h:270
Comparison operator for sorting rows.
Definition: MzTab.h:232
bool operator()(const MzTabProteinSectionRow &row1, const MzTabProteinSectionRow &row2) const
Definition: MzTab.h:233
PRT - Protein section (Table based)
Definition: MzTab.h:204
MzTabInteger taxid
NEWT taxonomy for the species.
Definition: MzTab.h:208
std::map< Size, MzTabDouble > protein_abundance_assay
Definition: MzTab.h:224
std::map< Size, MzTabDouble > best_search_engine_score
best_search_engine_score[1-n]
Definition: MzTab.h:213
MzTabString uri
Location of the protein’s source entry.
Definition: MzTab.h:221
std::map< Size, MzTabDouble > protein_abundance_std_error_study_variable
Definition: MzTab.h:227
MzTabModificationList modifications
Modifications identified in the protein.
Definition: MzTab.h:220
MzTabString database_version
String Version of the protein database.
Definition: MzTab.h:211
MzTabString description
Human readable description (i.e. the name)
Definition: MzTab.h:207
std::map< Size, MzTabInteger > num_peptides_distinct_ms_run
Definition: MzTab.h:217
std::map< Size, MzTabDouble > protein_abundance_study_variable
Definition: MzTab.h:225
std::map< Size, std::map< Size, MzTabDouble > > search_engine_score_ms_run
search_engine_score[index1]_ms_run[index2]
Definition: MzTab.h:214
MzTabString accession
The protein’s accession.
Definition: MzTab.h:206
MzTabStringList ambiguity_members
Alternative protein identifications.
Definition: MzTab.h:219
MzTabDouble coverage
(0-1) Amount of protein sequence identified.
Definition: MzTab.h:223
MzTabInteger reliability
Definition: MzTab.h:215
std::map< Size, MzTabInteger > num_psms_ms_run
Definition: MzTab.h:216
MzTabStringList go_terms
List of GO terms for the protein.
Definition: MzTab.h:222
std::map< Size, MzTabInteger > num_peptides_unique_ms_run
Definition: MzTab.h:218
std::map< Size, MzTabDouble > protein_abundance_stdev_study_variable
Definition: MzTab.h:226
std::vector< MzTabOptionalColumnEntry > opt_
Optional Columns must start with “opt_”
Definition: MzTab.h:228
MzTabParameterList search_engine
Search engine(s) identifying the protein.
Definition: MzTab.h:212
MzTabString species
Human readable name of the species.
Definition: MzTab.h:209
MzTabString database
Name of the protein database.
Definition: MzTab.h:210