Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
MzTab.h
Go to the documentation of this file.
1 // --------------------------------------------------------------------------
2 // OpenMS -- Open-Source Mass Spectrometry
3 // --------------------------------------------------------------------------
4 // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
5 // ETH Zurich, and Freie Universitaet Berlin 2002-2017.
6 //
7 // This software is released under a three-clause BSD license:
8 // * Redistributions of source code must retain the above copyright
9 // notice, this list of conditions and the following disclaimer.
10 // * Redistributions in binary form must reproduce the above copyright
11 // notice, this list of conditions and the following disclaimer in the
12 // documentation and/or other materials provided with the distribution.
13 // * Neither the name of any author or any participating institution
14 // may be used to endorse or promote products derived from this software
15 // without specific prior written permission.
16 // For a full list of authors, refer to the file AUTHORS.
17 // --------------------------------------------------------------------------
18 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 // ARE DISCLAIMED. IN NO EVENT SHALL ANY OF THE AUTHORS OR THE CONTRIBUTING
22 // INSTITUTIONS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
23 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
24 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
25 // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
26 // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
27 // OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
28 // ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 //
30 // --------------------------------------------------------------------------
31 // $Maintainer: Timo Sachsenberg $
32 // $Authors: Timo Sachsenberg $
33 // --------------------------------------------------------------------------
34 
35 #ifndef OPENMS_FORMAT_MZTAB_H
36 #define OPENMS_FORMAT_MZTAB_H
37 
40 #include <map>
41 #include <vector>
42 #include <list>
43 #include <algorithm>
45 
46 #pragma clang diagnostic push
47 #pragma clang diagnostic ignored "-Wnon-virtual-dtor"
48 
49 namespace OpenMS
50 {
58 // MzTab supports null, NaN, Inf for cells with Integer or Double values. MzTabCellType explicitly defines the state of the cell for these types.
60  {
66  };
67 
68 // basic interface for all MzTab datatypes (can be null; are converted from and to cell string)
69  class OPENMS_DLLAPI MzTabNullAbleInterface
70  {
71 public:
72  virtual ~MzTabNullAbleInterface();
73  virtual bool isNull() const = 0;
74  virtual void setNull(bool b) = 0;
75  virtual String toCellString() const = 0;
76  virtual void fromCellString(const String&) = 0;
77  };
78 
79 // interface for NaN- and Inf- able datatypes (Double and Integer in MzTab). These are as well null-able
80  class OPENMS_DLLAPI MzTabNullNaNAndInfAbleInterface :
82  {
83 public:
85  virtual bool isNaN() const = 0;
86  virtual void setNaN() = 0;
87  virtual bool isInf() const = 0;
88  virtual void setInf() = 0;
89  };
90 
91 // base class for atomic, non-container types (Double, Int)
92  class OPENMS_DLLAPI MzTabNullAbleBase :
94  {
95 public:
97 
98  virtual ~MzTabNullAbleBase();
99 
100  bool isNull() const;
101 
102  void setNull(bool b);
103 
104 protected:
105  bool null_;
106  };
107 
108 // base class for the atomic non-container like MzTab data types (Double, Int)
109  class OPENMS_DLLAPI MzTabNullNaNAndInfAbleBase :
111  {
112 public:
114 
115  virtual ~MzTabNullNaNAndInfAbleBase();
116 
117  bool isNull() const;
118 
119  void setNull(bool b);
120 
121  bool isNaN() const;
122 
123  void setNaN();
124 
125  bool isInf() const;
126 
127  void setInf();
128 
129 protected:
131  };
132 
133  class OPENMS_DLLAPI MzTabDouble :
135  {
136 public:
137  MzTabDouble();
138 
139  explicit MzTabDouble(const double v);
140 
141  virtual ~MzTabDouble();
142 
143  void set(const double& value);
144 
145  double get() const;
146 
147  String toCellString() const;
148 
149  void fromCellString(const String& s);
150 
151 protected:
152  double value_;
153  };
154 
155  class OPENMS_DLLAPI MzTabDoubleList :
156  public MzTabNullAbleBase
157  {
158 public:
159  MzTabDoubleList();
160 
161  virtual ~MzTabDoubleList();
162 
163  bool isNull() const;
164 
165  void setNull(bool b);
166 
167  String toCellString() const;
168 
169  void fromCellString(const String& s);
170 
171  std::vector<MzTabDouble> get() const;
172 
173  void set(const std::vector<MzTabDouble>& entries);
174 
175 protected:
176  std::vector<MzTabDouble> entries_;
177  };
178 
179  class OPENMS_DLLAPI MzTabInteger :
181  {
182 public:
183  MzTabInteger();
184 
185  explicit MzTabInteger(const int v);
186 
187  virtual ~MzTabInteger();
188 
189  void set(const Int& value);
190 
191  Int get() const;
192 
193  String toCellString() const;
194 
195  void fromCellString(const String& s);
196 
197 protected:
199  };
200 
201  class OPENMS_DLLAPI MzTabIntegerList :
202  public MzTabNullAbleBase
203  {
204 public:
206 
207  bool isNull() const;
208 
209  void setNull(bool b);
210 
211  String toCellString() const;
212 
213  void fromCellString(const String& s);
214 
215  std::vector<MzTabInteger> get() const;
216 
217  void set(const std::vector<MzTabInteger>& entries);
218 
219 protected:
220  std::vector<MzTabInteger> entries_;
221  };
222 
223  class OPENMS_DLLAPI MzTabBoolean :
224  public MzTabNullAbleBase
225  {
226 public:
227  MzTabBoolean();
228 
229  explicit MzTabBoolean(bool v);
230 
231  virtual ~MzTabBoolean();
232 
233  void set(const bool& value);
234 
235  Int get() const;
236 
237  String toCellString() const;
238 
239  void fromCellString(const String& s);
240 
241 protected:
242  bool value_;
243  };
244 
245  class OPENMS_DLLAPI MzTabString :
247  {
248 public:
249  MzTabString();
250 
251  explicit MzTabString(const String& s);
252 
253  virtual ~MzTabString();
254 
255  void set(const String& value);
256 
257  String get() const;
258 
259  bool isNull() const;
260 
261  void setNull(bool b);
262 
263  String toCellString() const;
264 
265  void fromCellString(const String& s);
266 
267 protected:
269  };
270 
271  class OPENMS_DLLAPI MzTabParameter :
273  {
274 public:
275  MzTabParameter();
276 
277  virtual ~MzTabParameter();
278 
279  bool isNull() const;
280 
281  void setNull(bool b);
282 
283  void setCVLabel(const String& CV_label);
284 
285  void setAccession(const String& accession);
286 
287  void setName(const String& name);
288 
289  void setValue(const String& value);
290 
291  String getCVLabel() const;
292 
293  String getAccession() const;
294 
295  String getName() const;
296 
297  String getValue() const;
298 
299  String toCellString() const;
300 
301  void fromCellString(const String& s);
302 
303 protected:
308  };
309 
310  class OPENMS_DLLAPI MzTabParameterList :
312  {
313 public:
314 
315  virtual ~MzTabParameterList();
316 
317  bool isNull() const;
318 
319  void setNull(bool b);
320 
321  String toCellString() const;
322 
323  void fromCellString(const String& s);
324 
325  std::vector<MzTabParameter> get() const;
326 
327  void set(const std::vector<MzTabParameter>& parameters);
328 
329 protected:
330  std::vector<MzTabParameter> parameters_;
331  };
332 
333  class OPENMS_DLLAPI MzTabStringList :
335  {
336 public:
337  MzTabStringList();
338 
339  virtual ~MzTabStringList();
340 
341  // needed for e.g. ambiguity_members and GO accessions as these use ',' as separator while the others use '|'
342  void setSeparator(char sep);
343 
344  bool isNull() const;
345 
346  void setNull(bool b);
347 
348  String toCellString() const;
349 
350  void fromCellString(const String& s);
351 
352  std::vector<MzTabString> get() const;
353 
354  void set(const std::vector<MzTabString>& entries);
355 
356 protected:
357  std::vector<MzTabString> entries_;
358  char sep_;
359  };
360 
361  class OPENMS_DLLAPI MzTabModification :
363  {
364 public:
366 
367  virtual ~MzTabModification();
368 
369  bool isNull() const;
370 
371  void setNull(bool b);
372 
373  // set (potentially ambiguous) position(s) with associated parameter (might be null if not set)
374  void setPositionsAndParameters(const std::vector<std::pair<Size, MzTabParameter> >& ppp);
375 
376  std::vector<std::pair<Size, MzTabParameter> > getPositionsAndParameters() const;
377 
378  void setModificationIdentifier(const MzTabString& mod_id);
379 
380  MzTabString getModOrSubstIdentifier() const;
381 
382  String toCellString() const;
383 
384  void fromCellString(const String& s);
385 
386 protected:
387  std::vector<std::pair<Size, MzTabParameter> > pos_param_pairs_;
389  };
390 
391  class OPENMS_DLLAPI MzTabModificationList :
392  public MzTabNullAbleBase
393  {
394 public:
395  virtual ~MzTabModificationList();
396 
397  bool isNull() const;
398 
399  void setNull(bool b);
400 
401  String toCellString() const;
402 
403  void fromCellString(const String& s);
404 
405  std::vector<MzTabModification> get() const;
406 
407  void set(const std::vector<MzTabModification>& entries);
408 
409 protected:
410  std::vector<MzTabModification> entries_;
411 
412  };
413 
414  class OPENMS_DLLAPI MzTabSpectraRef :
416  {
417 public:
418  MzTabSpectraRef();
419 
420  virtual ~MzTabSpectraRef();
421 
422  bool isNull() const;
423 
424  void setNull(bool b);
425 
426  void setMSFile(Size index);
427 
428  void setSpecRef(String spec_ref);
429 
430  String getSpecRef() const;
431 
432  Size getMSFile() const;
433 
434  void setSpecRefFile(const String& spec_ref);
435 
436  String toCellString() const;
437 
438  void fromCellString(const String& s);
439 
440 protected:
441  Size ms_run_; // number is specified in the meta data section.
443  };
444 
445 // MTD
446 
447  struct OPENMS_DLLAPI MzTabSampleMetaData
448  {
450  std::map<Size, MzTabParameter> species;
451  std::map<Size, MzTabParameter> tissue;
452  std::map<Size, MzTabParameter> cell_type;
453  std::map<Size, MzTabParameter> disease;
454  std::map<Size, MzTabParameter> custom;
455  };
456 
457  struct OPENMS_DLLAPI MzTabSoftwareMetaData
458  {
460  std::map<Size, MzTabString> setting;
461  };
462 
463  struct OPENMS_DLLAPI MzTabModificationMetaData
464  {
468  };
469 
470  struct OPENMS_DLLAPI MzTabAssayMetaData
471  {
473  std::map<Size, MzTabModificationMetaData> quantification_mod;
476  };
477 
478  struct OPENMS_DLLAPI MzTabCVMetaData
479  {
484  };
485 
486  struct OPENMS_DLLAPI MzTabInstrumentMetaData
487  {
490  std::map<Size, MzTabParameter> analyzer;
492  };
493 
494  struct OPENMS_DLLAPI MzTabContactMetaData
495  {
499  };
500 
501  struct OPENMS_DLLAPI MzTabMSRunMetaData
502  {
507  };
508 
509  struct OPENMS_DLLAPI MzTabStudyVariableMetaData
510  {
514  };
515 
516 // all meta data of a mzTab file. Please refer to specification for documentation.
517  class OPENMS_DLLAPI MzTabMetaData
518  {
519 public:
520  MzTabMetaData();
521 
528 
529  std::map<Size, MzTabParameter> protein_search_engine_score;
530  std::map<Size, MzTabParameter> peptide_search_engine_score;
531  std::map<Size, MzTabParameter> psm_search_engine_score;
532  std::map<Size, MzTabParameter> smallmolecule_search_engine_score;
533 
534  std::map<Size, MzTabParameterList> sample_processing;
535 
536  std::map<Size, MzTabInstrumentMetaData> instrument;
537 
538  std::map<Size, MzTabSoftwareMetaData> software;
539 
541 
542  std::map<Size, MzTabString> publication;
543 
544  std::map<Size, MzTabContactMetaData> contact;
545 
546  std::map<Size, MzTabString> uri;
547 
548  std::map<Size, MzTabModificationMetaData> fixed_mod;
549 
550  std::map<Size, MzTabModificationMetaData> variable_mod;
551 
553 
557 
558  std::map<Size, MzTabMSRunMetaData> ms_run;
559 
560  std::map<Size, MzTabParameter> custom;
561 
562  std::map<Size, MzTabSampleMetaData> sample;
563 
564  std::map<Size, MzTabAssayMetaData> assay;
565 
566  std::map<Size, MzTabStudyVariableMetaData> study_variable;
567 
568  std::map<Size, MzTabCVMetaData> cv;
569 
570  std::vector<String> colunit_protein;
571  std::vector<String> colunit_peptide;
572  std::vector<String> colunit_psm;
573  std::vector<String> colunit_small_molecule;
574  };
575 
576  typedef std::pair<String, MzTabString> MzTabOptionalColumnEntry; // column name (not null able), value (null able)
577 
578 // PRT - Protein section (Table based)
579  struct OPENMS_DLLAPI MzTabProteinSectionRow
580  {
582  MzTabString accession; // The protein’s accession.
583  MzTabString description; // Human readable description (i.e. the name)
584  MzTabInteger taxid; // NEWT taxonomy for the species.
585  MzTabString species; // Human readable name of the species
586  MzTabString database; // Name of the protein database.
587  MzTabString database_version; // String Version of the protein database.
588  MzTabParameterList search_engine; // Search engine(s) identifying the protein.
589  std::map<Size, MzTabDouble> best_search_engine_score; // best_search_engine_score[1-n]
590  std::map<Size, std::map<Size, MzTabDouble> > search_engine_score_ms_run; // search_engine_score[index1]_ms_run[index2]
592  std::map<Size, MzTabInteger> num_psms_ms_run;
593  std::map<Size, MzTabInteger> num_peptides_distinct_ms_run;
594  std::map<Size, MzTabInteger> num_peptides_unique_ms_run;
595  MzTabStringList ambiguity_members; // Alternative protein identifications.
596  MzTabModificationList modifications; // Modifications identified in the protein.
597  MzTabString uri; // Location of the protein’s source entry.
598  MzTabStringList go_terms; // List of GO terms for the protein.
599  MzTabDouble protein_coverage; // (0-1) Amount of protein sequence identified.
600  std::map<Size, MzTabDouble> protein_abundance_assay;
601  std::map<Size, MzTabDouble> protein_abundance_study_variable;
602  std::map<Size, MzTabDouble> protein_abundance_stdev_study_variable;
603  std::map<Size, MzTabDouble> protein_abundance_std_error_study_variable;
604  std::vector<MzTabOptionalColumnEntry> opt_; // Optional Columns must start with “opt_”
605  };
606 
607 // PEP - Peptide section (Table based)
608  struct OPENMS_DLLAPI MzTabPeptideSectionRow
609  {
610  MzTabString sequence; // The peptide’s sequence.
611  MzTabString accession; // The protein’s accession.
612  MzTabBoolean unique; // 0=false, 1=true, null else: Peptide is unique for the protein.
613  MzTabString database; // Name of the sequence database.
614  MzTabString database_version; // Version (and optionally # of entries).
615  MzTabParameterList search_engine; // Search engine(s) that identified the peptide.
616  std::map<Size, MzTabDouble> best_search_engine_score; // Search engine(s) score(s) for the peptide.
617  std::map<Size, std::map<Size, MzTabDouble> > search_engine_score_ms_run;
618  MzTabInteger reliability; // (1-3) 0=null Identification reliability for the peptide.
619  MzTabModificationList modifications; // Modifications identified in the peptide.
620  MzTabDoubleList retention_time; // Time points in seconds. Semantics may vary.
622  MzTabInteger charge; // Precursor ion’s charge.
623  MzTabDouble mass_to_charge; // Precursor ion’s m/z.
624  MzTabString uri; // Location of the PSMs source entry.
625  MzTabSpectraRef spectra_ref; // Spectra identifying the peptide.
626  std::map<Size, MzTabDouble> peptide_abundance_assay;
627  std::map<Size, MzTabDouble> peptide_abundance_study_variable;
628  std::map<Size, MzTabDouble> peptide_abundance_stdev_study_variable;
629  std::map<Size, MzTabDouble> peptide_abundance_std_error_study_variable;
630  std::vector<MzTabOptionalColumnEntry> opt_; // Optional columns must start with “opt_”.
631  };
632 
633 // PSM - PSM section (Table based)
634  struct OPENMS_DLLAPI MzTabPSMSectionRow
635  {
636  MzTabString sequence; // The peptide’s sequence.
638  MzTabString accession; // The protein’s accession.
639  MzTabBoolean unique; // 0=false, 1=true, null else: Peptide is unique for the protein.
640  MzTabString database; // Name of the sequence database.
641  MzTabString database_version; // Version (and optionally # of entries).
642  MzTabParameterList search_engine; // Search engine(s) that identified the peptide.
643  std::map<Size, MzTabDouble> search_engine_score; // Search engine(s) score(s) for the peptide.
644  MzTabInteger reliability; // (1-3) 0=null Identification reliability for the peptide.
645  MzTabModificationList modifications; // Modifications identified in the peptide.
646  MzTabDoubleList retention_time; // Time points in seconds. Semantics may vary.
647  MzTabInteger charge; // The charge of the experimental precursor ion.
648  MzTabDouble exp_mass_to_charge; // The m/z ratio of the experimental precursor ion.
650  MzTabString uri; // Location of the PSM’s source entry.
651  MzTabSpectraRef spectra_ref; // Spectra identifying the peptide.
656  std::vector<MzTabOptionalColumnEntry> opt_; // Optional columns must start with “opt_”.
657  };
658 
659 // SML Small molecule section (table based)
660  struct OPENMS_DLLAPI MzTabSmallMoleculeSectionRow
661  {
662  MzTabStringList identifier; // The small molecule’s identifier.
663  MzTabString chemical_formula; // Chemical formula of the identified compound.
664  MzTabString smiles; // Molecular structure in SMILES format.
665  MzTabString inchi_key; // InChi Key of the identified compound.
666  MzTabString description; // Human readable description (i.e. the name)
667  MzTabDouble exp_mass_to_charge; // Precursor ion’s m/z.
668  MzTabDouble calc_mass_to_charge; // Precursor ion’s m/z.
669  MzTabDouble charge; // Precursor ion’s charge.
670  MzTabDoubleList retention_time; // Time points in seconds. Semantics may vary.
671  MzTabInteger taxid; // NEWT taxonomy for the species.
672  MzTabString species; // Human readable name of the species
673  MzTabString database; // Name of the used database.
674  MzTabString database_version; // String Version of the database (and optionally # of compounds).
675  MzTabInteger reliability; // (1-3) The identification reliability.
676  MzTabString uri; // The source entry’s location.
677  MzTabSpectraRef spectra_ref; // Spectra identifying the small molecule.
678  MzTabParameterList search_engine; // Search engine(s) identifying the small molecule.
679  std::map<Size, MzTabDouble> best_search_engine_score; // Search engine(s) identifications score(s).
680  std::map<Size, std::map<Size, MzTabDouble> > search_engine_score_ms_run;
681  MzTabString modifications; // Modifications identified on the small molecule.
682  std::map<Size, MzTabDouble> smallmolecule_abundance_assay;
683  std::map<Size, MzTabDouble> smallmolecule_abundance_study_variable;
684  std::map<Size, MzTabDouble> smallmolecule_abundance_stdev_study_variable;
686  std::vector<MzTabOptionalColumnEntry> opt_; // Optional columns must start with “opt_”.
687  };
688 
689  typedef std::vector<MzTabProteinSectionRow> MzTabProteinSectionRows;
690  typedef std::vector<MzTabPeptideSectionRow> MzTabPeptideSectionRows;
691  typedef std::vector<MzTabPSMSectionRow> MzTabPSMSectionRows;
692  typedef std::vector<MzTabSmallMoleculeSectionRow> MzTabSmallMoleculeSectionRows;
693 
700  class OPENMS_DLLAPI MzTab
701  {
702 public:
704  MzTab();
705 
707  virtual ~MzTab();
708 
709  const MzTabMetaData& getMetaData() const;
710 
711  void setMetaData(const MzTabMetaData& md);
712 
713  const MzTabProteinSectionRows& getProteinSectionRows() const;
714 
715  void setProteinSectionRows(const MzTabProteinSectionRows& psd);
716 
717  const MzTabPeptideSectionRows& getPeptideSectionRows() const;
718 
719  void setPeptideSectionRows(const MzTabPeptideSectionRows& psd);
720 
721  const MzTabPSMSectionRows& getPSMSectionRows() const;
722 
723  void setPSMSectionRows(const MzTabPSMSectionRows& psd);
724 
725  void setCommentRows(const std::map<Size, String>& com);
726 
727  void setEmptyRows(const std::vector<Size>& empty);
728 
729  const std::vector<Size>& getEmptyRows() const;
730 
731  const std::map<Size, String>& getCommentRows() const;
732 
733  const MzTabSmallMoleculeSectionRows& getSmallMoleculeSectionRows() const;
734 
735  void setSmallMoleculeSectionRows(const MzTabSmallMoleculeSectionRows& smsd);
736 
737  // Extract opt_ (custom, optional column names)
738  std::vector<String> getProteinOptionalColumnNames() const;
739 
740  // Extract opt_ (custom, optional column names)
741  std::vector<String> getPeptideOptionalColumnNames() const;
742 
743  // Extract opt_ (custom, optional column names)
744  std::vector<String> getPSMOptionalColumnNames() const;
745 
746  // Extract opt_ (custom, optional column names)
747  std::vector<String> getSmallMoleculeOptionalColumnNames() const;
748 
749 protected:
751  MzTabProteinSectionRows protein_data_;
752  MzTabPeptideSectionRows peptide_data_;
753  MzTabPSMSectionRows psm_data_;
754  MzTabSmallMoleculeSectionRows small_molecule_data_;
755  std::vector<Size> empty_rows_; // index of empty rows
756  std::map<Size, String> comment_rows_; // comments
757  };
758 
759 } // namespace OpenMS
760 
761 #pragma clang diagnostic pop
762 
763 #endif // OPENMS_FORMAT_MZTAB_H
std::map< Size, MzTabParameter > protein_search_engine_score
Definition: MzTab.h:529
Definition: MzTab.h:463
MzTabSpectraRef spectra_ref
Definition: MzTab.h:625
MzTabSpectraRef spectra_ref
Definition: MzTab.h:677
MzTabDoubleList retention_time
Definition: MzTab.h:646
MzTabString uri
Definition: MzTab.h:597
MzTabParameter quantification_reagent
Definition: MzTab.h:472
std::map< Size, MzTabString > setting
Definition: MzTab.h:460
std::vector< String > colunit_protein
Definition: MzTab.h:570
std::map< Size, MzTabStudyVariableMetaData > study_variable
Definition: MzTab.h:566
std::map< Size, MzTabModificationMetaData > variable_mod
Definition: MzTab.h:550
std::map< Size, MzTabDouble > protein_abundance_assay
Definition: MzTab.h:600
MzTabMetaData meta_data_
Definition: MzTab.h:750
MzTabIntegerList assay_refs
Definition: MzTab.h:511
MzTabString database
Definition: MzTab.h:613
A more convenient string class.
Definition: String.h:57
MzTabString position
Definition: MzTab.h:467
std::map< Size, MzTabAssayMetaData > assay
Definition: MzTab.h:564
MzTabString accession
Definition: MzTab.h:611
MzTabDouble calc_mass_to_charge
Definition: MzTab.h:668
MzTabString sequence
Definition: MzTab.h:610
std::map< Size, std::map< Size, MzTabDouble > > search_engine_score_ms_run
Definition: MzTab.h:617
Definition: MzTab.h:579
MzTabString sequence
Definition: MzTab.h:636
MzTabParameterList false_discovery_rate
Definition: MzTab.h:540
MzTabParameterList search_engine
Definition: MzTab.h:588
std::vector< String > colunit_small_molecule
Definition: MzTab.h:573
Definition: MzTab.h:65
MzTabString title
Definition: MzTab.h:526
std::vector< MzTabOptionalColumnEntry > opt_
Definition: MzTab.h:656
MzTabString sample_ref
Definition: MzTab.h:474
Definition: MzTab.h:109
std::map< Size, MzTabDouble > best_search_engine_score
Definition: MzTab.h:679
Definition: MzTab.h:63
MzTabString inchi_key
Definition: MzTab.h:665
Definition: MzTab.h:414
Definition: MzTab.h:478
Definition: MzTab.h:245
std::map< Size, MzTabParameter > tissue
Definition: MzTab.h:451
std::map< Size, MzTabParameter > custom
Definition: MzTab.h:560
MzTabString database
Definition: MzTab.h:640
Definition: MzTab.h:271
MzTabParameter source
Definition: MzTab.h:489
MzTabString post
Definition: MzTab.h:653
std::vector< MzTabOptionalColumnEntry > opt_
Definition: MzTab.h:630
MzTabString end
Definition: MzTab.h:655
std::map< Size, MzTabParameter > cell_type
Definition: MzTab.h:452
MzTabString database
Definition: MzTab.h:586
std::map< Size, MzTabParameter > disease
Definition: MzTab.h:453
MzTabString mz_tab_id
Definition: MzTab.h:525
MzTabString full_name
Definition: MzTab.h:481
Size ms_run_
Definition: MzTab.h:441
String value_
Definition: MzTab.h:268
std::vector< String > colunit_psm
Definition: MzTab.h:572
MzTabString modifications
Definition: MzTab.h:681
MzTabString mz_tab_version
Definition: MzTab.h:522
MzTabString database_version
Definition: MzTab.h:587
String CV_label_
Definition: MzTab.h:304
MzTabParameterList search_engine
Definition: MzTab.h:615
Definition: MzTab.h:494
MzTabStringList identifier
Definition: MzTab.h:662
std::map< Size, MzTabModificationMetaData > fixed_mod
Definition: MzTab.h:548
std::map< Size, MzTabDouble > best_search_engine_score
Definition: MzTab.h:616
std::vector< MzTabSmallMoleculeSectionRow > MzTabSmallMoleculeSectionRows
Definition: MzTab.h:692
MzTabParameter name
Definition: MzTab.h:488
Definition: MzTab.h:470
std::map< Size, MzTabDouble > protein_abundance_stdev_study_variable
Definition: MzTab.h:602
std::vector< MzTabModification > entries_
Definition: MzTab.h:410
MzTabCellStateType state_
Definition: MzTab.h:130
MzTabString affiliation
Definition: MzTab.h:497
Definition: MzTab.h:310
std::map< Size, MzTabParameter > psm_search_engine_score
Definition: MzTab.h:531
std::vector< MzTabOptionalColumnEntry > opt_
Definition: MzTab.h:686
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
std::map< Size, MzTabDouble > peptide_abundance_study_variable
Definition: MzTab.h:627
MzTabString name
Definition: MzTab.h:496
char sep_
Definition: MzTab.h:358
Definition: MzTab.h:486
Int value_
Definition: MzTab.h:198
std::map< Size, MzTabParameter > species
Definition: MzTab.h:450
std::map< Size, MzTabDouble > protein_abundance_std_error_study_variable
Definition: MzTab.h:603
std::map< Size, MzTabDouble > smallmolecule_abundance_assay
Definition: MzTab.h:682
MzTabString uri
Definition: MzTab.h:676
std::vector< MzTabProteinSectionRow > MzTabProteinSectionRows
Definition: MzTab.h:689
MzTabDoubleList retention_time
Definition: MzTab.h:670
std::map< Size, MzTabDouble > peptide_abundance_stdev_study_variable
Definition: MzTab.h:628
MzTabBoolean unique
Definition: MzTab.h:612
double value_
Definition: MzTab.h:152
MzTabInteger reliability
Definition: MzTab.h:618
std::map< Size, MzTabCVMetaData > cv
Definition: MzTab.h:568
MzTabModificationList modifications
Definition: MzTab.h:645
std::map< Size, MzTabSampleMetaData > sample
Definition: MzTab.h:562
MzTabCellStateType
Data model of MzTab files. Please see the official MzTab specification at https://code.google.com/p/mztab/.
Definition: MzTab.h:59
MzTabString ms_run_ref
Definition: MzTab.h:475
std::vector< MzTabInteger > entries_
Definition: MzTab.h:220
Definition: MzTab.h:223
MzTabString description
Definition: MzTab.h:666
MzTabString accession
Definition: MzTab.h:582
std::map< Size, MzTabInteger > num_peptides_distinct_ms_run
Definition: MzTab.h:593
MzTabString accession
Definition: MzTab.h:638
std::map< Size, MzTabString > uri
Definition: MzTab.h:546
MzTabParameterList fragmentation_method
Definition: MzTab.h:506
MzTabString description
Definition: MzTab.h:449
MzTabParameter quantification_method
Definition: MzTab.h:552
MzTabModificationList modifications
Definition: MzTab.h:596
MzTabDouble mass_to_charge
Definition: MzTab.h:623
String accession_
Definition: MzTab.h:305
std::map< Size, MzTabDouble > peptide_abundance_assay
Definition: MzTab.h:626
MzTabString species
Definition: MzTab.h:672
MzTabString uri
Definition: MzTab.h:650
Definition: MzTab.h:333
MzTabPeptideSectionRows peptide_data_
Definition: MzTab.h:752
MzTabProteinSectionRows protein_data_
Definition: MzTab.h:751
Definition: MzTab.h:517
std::map< Size, MzTabString > publication
Definition: MzTab.h:542
String spec_ref_
Definition: MzTab.h:442
bool value_
Definition: MzTab.h:242
MzTabDoubleList retention_time_window
Definition: MzTab.h:621
MzTabString description
Definition: MzTab.h:513
Definition: MzTab.h:69
MzTabInteger reliability
Definition: MzTab.h:591
MzTabParameter id_format
Definition: MzTab.h:505
std::map< Size, MzTabParameter > peptide_search_engine_score
Definition: MzTab.h:530
std::map< Size, MzTabDouble > smallmolecule_abundance_std_error_study_variable
Definition: MzTab.h:685
MzTabString description
Definition: MzTab.h:583
Definition: MzTab.h:634
std::map< Size, MzTabDouble > smallmolecule_abundance_stdev_study_variable
Definition: MzTab.h:684
std::vector< MzTabDouble > entries_
Definition: MzTab.h:176
MzTabString pre
Definition: MzTab.h:652
std::map< Size, std::map< Size, MzTabDouble > > search_engine_score_ms_run
Definition: MzTab.h:590
MzTabInteger taxid
Definition: MzTab.h:671
MzTabString url
Definition: MzTab.h:483
MzTabParameter software
Definition: MzTab.h:459
MzTabDoubleList retention_time
Definition: MzTab.h:620
std::vector< MzTabParameter > parameters_
Definition: MzTab.h:330
Definition: MzTab.h:155
MzTabString species
Definition: MzTab.h:585
std::map< Size, MzTabSoftwareMetaData > software
Definition: MzTab.h:538
MzTabParameter format
Definition: MzTab.h:503
MzTabDouble protein_coverage
Definition: MzTab.h:599
MzTabModificationList modifications
Definition: MzTab.h:619
MzTabStringList go_terms
Definition: MzTab.h:598
MzTabString mod_identifier_
Definition: MzTab.h:388
std::vector< MzTabPeptideSectionRow > MzTabPeptideSectionRows
Definition: MzTab.h:690
std::map< Size, MzTabDouble > protein_abundance_study_variable
Definition: MzTab.h:601
Definition: MzTab.h:447
std::map< Size, MzTabModificationMetaData > quantification_mod
Definition: MzTab.h:473
std::map< Size, MzTabParameterList > sample_processing
Definition: MzTab.h:534
MzTabDouble calc_mass_to_charge
Definition: MzTab.h:649
std::map< Size, std::map< Size, MzTabDouble > > search_engine_score_ms_run
Definition: MzTab.h:680
MzTabStringList ambiguity_members
Definition: MzTab.h:595
MzTabInteger charge
Definition: MzTab.h:647
MzTabString start
Definition: MzTab.h:654
std::map< Size, MzTabDouble > peptide_abundance_std_error_study_variable
Definition: MzTab.h:629
std::map< Size, MzTabDouble > smallmolecule_abundance_study_variable
Definition: MzTab.h:683
Definition: MzTab.h:509
MzTabParameter protein_quantification_unit
Definition: MzTab.h:554
Definition: MzTab.h:501
Definition: MzTab.h:457
Definition: MzTab.h:62
Definition: MzTab.h:133
MzTabParameter peptide_quantification_unit
Definition: MzTab.h:555
std::vector< String > colunit_peptide
Definition: MzTab.h:571
std::map< Size, MzTabMSRunMetaData > ms_run
Definition: MzTab.h:558
Definition: MzTab.h:92
std::map< Size, MzTabParameter > analyzer
Definition: MzTab.h:490
std::map< Size, MzTabDouble > best_search_engine_score
Definition: MzTab.h:589
MzTabParameter small_molecule_quantification_unit
Definition: MzTab.h:556
MzTabDouble exp_mass_to_charge
Definition: MzTab.h:667
std::vector< Size > empty_rows_
Definition: MzTab.h:755
MzTabParameterList search_engine
Definition: MzTab.h:678
Definition: MzTab.h:608
MzTabPSMSectionRows psm_data_
Definition: MzTab.h:753
MzTabString mz_tab_mode
Definition: MzTab.h:523
Definition: MzTab.h:64
std::map< Size, MzTabParameter > smallmolecule_search_engine_score
Definition: MzTab.h:532
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:128
MzTabIntegerList sample_refs
Definition: MzTab.h:512
bool null_
Definition: MzTab.h:105
MzTabInteger PSM_ID
Definition: MzTab.h:637
String name_
Definition: MzTab.h:306
MzTabString email
Definition: MzTab.h:498
MzTabString database
Definition: MzTab.h:673
std::vector< std::pair< Size, MzTabParameter > > pos_param_pairs_
Definition: MzTab.h:387
MzTabString uri
Definition: MzTab.h:624
MzTabString description
Definition: MzTab.h:527
std::vector< MzTabString > entries_
Definition: MzTab.h:357
std::map< Size, MzTabDouble > search_engine_score
Definition: MzTab.h:643
MzTabInteger reliability
Definition: MzTab.h:675
Definition: MzTab.h:361
std::vector< MzTabPSMSectionRow > MzTabPSMSectionRows
Definition: MzTab.h:691
MzTabInteger charge
Definition: MzTab.h:622
MzTabInteger taxid
Definition: MzTab.h:584
MzTabString version
Definition: MzTab.h:482
MzTabSpectraRef spectra_ref
Definition: MzTab.h:651
MzTabString label
Definition: MzTab.h:480
std::map< Size, MzTabParameter > custom
Definition: MzTab.h:454
std::vector< MzTabOptionalColumnEntry > opt_
Definition: MzTab.h:604
MzTabBoolean unique
Definition: MzTab.h:639
MzTabParameter modification
Definition: MzTab.h:465
std::map< Size, MzTabInteger > num_psms_ms_run
Definition: MzTab.h:592
MzTabString database_version
Definition: MzTab.h:674
Definition: MzTab.h:201
std::map< Size, MzTabInteger > num_peptides_unique_ms_run
Definition: MzTab.h:594
MzTabString chemical_formula
Definition: MzTab.h:663
MzTabString database_version
Definition: MzTab.h:614
Definition: MzTab.h:391
MzTabString mz_tab_type
Definition: MzTab.h:524
MzTabParameter detector
Definition: MzTab.h:491
int Int
Signed integer type.
Definition: Types.h:103
MzTabDouble charge
Definition: MzTab.h:669
std::map< Size, MzTabInstrumentMetaData > instrument
Definition: MzTab.h:536
Definition: MzTab.h:179
String value_
Definition: MzTab.h:307
MzTabString database_version
Definition: MzTab.h:641
MzTabDouble exp_mass_to_charge
Definition: MzTab.h:648
std::map< Size, String > comment_rows_
Definition: MzTab.h:756
MzTabParameterList search_engine
Definition: MzTab.h:642
MzTabInteger reliability
Definition: MzTab.h:644
MzTabSmallMoleculeSectionRows small_molecule_data_
Definition: MzTab.h:754
std::map< Size, MzTabContactMetaData > contact
Definition: MzTab.h:544
MzTabString smiles
Definition: MzTab.h:664
std::pair< String, MzTabString > MzTabOptionalColumnEntry
Definition: MzTab.h:576
MzTabString location
Definition: MzTab.h:504
Definition: MzTab.h:61
Data model of MzTab files. Please see the official MzTab specification at https://code.google.com/p/mztab/.
Definition: MzTab.h:700
MzTabString site
Definition: MzTab.h:466

OpenMS / TOPP release 2.3.0 Documentation generated on Tue Jan 9 2018 18:22:02 using doxygen 1.8.13