Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
TargetedExperimentHelper.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: Andreas Bertsch $
33 // --------------------------------------------------------------------------
34 
35 #ifndef OPENMS_ANALYSIS_TARGETED_TARGETEDEXPERIMENTHELPER_H
36 #define OPENMS_ANALYSIS_TARGETED_TARGETEDEXPERIMENTHELPER_H
37 
39 
41 #include <OpenMS/CONCEPT/Types.h>
43 #include <OpenMS/CONCEPT/Macros.h>
44 
46 #include <OpenMS/METADATA/CVTerm.h>
50 
51 #include <boost/numeric/conversion/cast.hpp>
52 
53 namespace OpenMS
54 {
61  namespace TargetedExperimentHelper
62  {
63 
64  struct Configuration :
65  public CVTermList
66  {
69  std::vector<CVTermList> validations;
70 
72  {
73  if (this != &rhs)
74  {
76  contact_ref = rhs.contact_ref;
77  instrument_ref = rhs.instrument_ref;
78  validations = rhs.validations;
79  }
80  return *this;
81  }
82 
83  };
84 
85  struct CV
86  {
87  CV(const String & new_id, const String & new_fullname, const String & new_version, const String & new_URI) :
88  id(new_id),
89  fullname(new_fullname),
90  version(new_version),
91  URI(new_URI)
92  {
93 
94  }
95 
100 
101  bool operator==(const CV & cv) const
102  {
103  return id == cv.id &&
104  fullname == cv.fullname &&
105  version == cv.version &&
106  URI == cv.URI;
107  }
108 
109  };
110 
111  struct Protein :
112  public CVTermList
113  {
115  CVTermList()
116  {
117  }
118 
121 
122  bool operator==(const Protein & rhs) const
123  {
124  return CVTermList::operator==(rhs) &&
125  id == rhs.id &&
126  sequence == rhs.sequence;
127  }
128 
129  Protein & operator=(const Protein & rhs)
130  {
131  if (&rhs != this)
132  {
134  id = rhs.id;
135  sequence = rhs.sequence;
136  }
137  return *this;
138  }
139 
140  };
141 
142  class OPENMS_DLLAPI RetentionTime :
143  public CVTermListInterface
144  {
145 public:
146 
149  {
150  }
151 
153  CVTermListInterface(rhs),
154  software_ref(rhs.software_ref)
155  {
156  }
157 
158  virtual ~RetentionTime()
159  {
160  }
161 
163  {
164  if (&rhs != this)
165  {
167  software_ref = rhs.software_ref;
168  }
169  return *this;
170  }
171 
172  bool operator==(const RetentionTime & rhs) const
173  {
174  return CVTermListInterface::operator==(rhs) &&
175  software_ref == rhs.software_ref;
176  }
177 
179  };
180 
181  class OPENMS_DLLAPI Compound :
182  public CVTermList
183  {
184 public:
185 
187  CVTermList(),
188  theoretical_mass(0.0),
189  charge_(0),
190  charge_set_(false)
191  {
192  }
193 
194  Compound(const Compound & rhs) :
195  CVTermList(rhs),
196  id(rhs.id),
197  rts(rhs.rts),
198  molecular_formula(rhs.molecular_formula),
199  smiles_string(rhs.smiles_string),
200  theoretical_mass(rhs.theoretical_mass),
201  charge_(rhs.charge_),
202  charge_set_(rhs.charge_set_)
203  {
204  }
205 
206  Compound & operator=(const Compound & rhs)
207  {
208  if (this != &rhs)
209  {
211  id = rhs.id;
212  rts = rhs.rts;
213  molecular_formula = rhs.molecular_formula;
214  smiles_string = rhs.smiles_string;
215  theoretical_mass = rhs.theoretical_mass;
216  charge_ = rhs.charge_;
217  charge_set_ = rhs.charge_set_;
218  }
219  return *this;
220  }
221 
222  bool operator==(const Compound & rhs) const
223  {
224  return CVTermList::operator==(rhs) &&
225  id == rhs.id &&
226  rts == rhs.rts &&
227  molecular_formula == rhs.molecular_formula &&
228  smiles_string == rhs.smiles_string &&
229  theoretical_mass == rhs.theoretical_mass &&
230  charge_ == rhs.charge_ &&
231  charge_set_ == rhs.charge_set_;
232  }
233 
235  void setChargeState(int charge)
236  {
237  charge_ = charge;
238  charge_set_ = true;
239  }
240 
242  bool hasCharge() const
243  {
244  return charge_set_;
245  }
246 
248  int getChargeState() const
249  {
250  OPENMS_PRECONDITION(charge_set_, "Cannot return charge which was never set")
251  return charge_;
252  }
253 
255  std::vector<RetentionTime> rts;
259 
260 protected:
261  int charge_;
263 
264  };
265 
266  class OPENMS_DLLAPI Peptide :
267  public CVTermList
268  {
269 public:
270 
271  struct Modification :
272  public CVTermListInterface
273  {
278 
281  location(-1),
282  unimod_id(-1)
283  {
284  }
285 
286  };
287 
289  CVTermList(),
290  charge_(0),
291  charge_set_(false)
292  {
293  }
294 
295  Peptide(const Peptide & rhs) :
296  CVTermList(rhs),
297  rts(rhs.rts),
298  id(rhs.id),
299  protein_refs(rhs.protein_refs),
300  evidence(rhs.evidence),
301  sequence(rhs.sequence),
302  mods(rhs.mods),
303  charge_(rhs.charge_),
304  charge_set_(rhs.charge_set_),
305  peptide_group_label_(rhs.peptide_group_label_)
306  {
307  }
308 
309  Peptide & operator=(const Peptide & rhs)
310  {
311  if (this != &rhs)
312  {
314  rts = rhs.rts;
315  id = rhs.id;
316  protein_refs = rhs.protein_refs;
317  evidence = rhs.evidence;
318  sequence = rhs.sequence;
319  mods = rhs.mods;
320  charge_ = rhs.charge_;
321  charge_set_ = rhs.charge_set_;
322  peptide_group_label_ = rhs.peptide_group_label_;
323  }
324  return *this;
325  }
326 
327  bool operator==(const Peptide & rhs) const
328  {
329  return CVTermList::operator==(rhs) &&
330  rts == rhs.rts &&
331  id == rhs.id &&
332  protein_refs == rhs.protein_refs &&
333  evidence == rhs.evidence &&
334  sequence == rhs.sequence &&
335  mods == rhs.mods &&
336  charge_ == rhs.charge_ &&
337  charge_set_ == rhs.charge_set_ &&
338  peptide_group_label_ == rhs.peptide_group_label_;
339  }
340 
342  void setChargeState(int charge)
343  {
344  charge_ = charge;
345  charge_set_ = true;
346  }
347 
349  bool hasCharge() const
350  {
351  return charge_set_;
352  }
353 
355  int getChargeState() const
356  {
357  OPENMS_PRECONDITION(charge_set_, "Cannot return charge which was never set")
358  return charge_;
359  }
360 
371  void setPeptideGroupLabel(const String & label)
373  {
374  peptide_group_label_ = label;
375  }
376 
379  {
380  return peptide_group_label_;
381  }
383 
384  double getRetentionTime() const
385  {
386  // some guesstimate which would be the retention time that the user
387  // would like to have...
388  if (rts.empty() || rts[0].getCVTerms()["MS:1000896"].empty())
389  {
390  throw Exception::IllegalArgument(__FILE__, __LINE__, OPENMS_PRETTY_FUNCTION,
391  "No retention time information (CV term 1000896) available");
392  }
393  return rts[0].getCVTerms()["MS:1000896"][0].getValue().toString().toDouble();
394  }
395 
396  std::vector<RetentionTime> rts;
398  std::vector<String> protein_refs;
401  std::vector<Modification> mods;
402 
403 protected:
404  int charge_;
407  };
408 
409  struct OPENMS_DLLAPI Contact :
410  public CVTermList
411  {
413  CVTermList()
414  {
415  }
416 
418 
419  bool operator==(const Contact & rhs) const
420  {
421  return CVTermList::operator==(rhs) &&
422  id == rhs.id;
423  }
424 
425  Contact & operator=(const Contact & rhs)
426  {
427  if (&rhs != this)
428  {
430  id = rhs.id;
431  }
432  return *this;
433  }
434 
435  };
436 
437  struct OPENMS_DLLAPI Publication :
438  public CVTermList
439  {
441  CVTermList()
442  {
443  }
444 
446 
447  bool operator==(const Publication & rhs) const
448  {
449  return CVTermList::operator==(rhs) &&
450  id == rhs.id;
451  }
452 
454  {
455  if (&rhs != this)
456  {
458  id = rhs.id;
459  }
460  return *this;
461  }
462 
463  };
464 
465  struct OPENMS_DLLAPI Instrument :
466  public CVTermList
467  {
469  CVTermList()
470  {
471  }
472 
474 
475  bool operator==(const Instrument & rhs) const
476  {
477  return CVTermList::operator==(rhs) &&
478  id == rhs.id;
479  }
480 
482  {
483  if (&rhs != this)
484  {
486  id = rhs.id;
487  }
488  return *this;
489  }
490 
491  };
492 
493  struct OPENMS_DLLAPI Prediction :
494  public CVTermList
495  {
497  CVTermList()
498  {
499  }
500 
503 
504  bool operator==(const Prediction & rhs) const
505  {
506  return CVTermList::operator==(rhs) &&
507  contact_ref == rhs.contact_ref &&
508  software_ref == rhs.software_ref;
509  }
510 
512  {
513  if (&rhs != this)
514  {
516  software_ref = rhs.software_ref;
517  contact_ref = rhs.contact_ref;
518  }
519  return *this;
520  }
521 
522  };
523 
524  struct OPENMS_DLLAPI Interpretation :
525  public CVTermListInterface
526  {
527 
528  /*
529  enum ResidueType
530  {
531  Full = 0, // with N-terminus and C-terminus
532  Internal, // internal, without any termini
533  NTerminal, // only N-terminus
534  CTerminal, // only C-terminus
535  AIon, // MS:1001229 N-terminus up to the C-alpha/carbonyl carbon bond
536  BIon, // MS:1001224 N-terminus up to the peptide bond
537  CIon, // MS:1001231 N-terminus up to the amide/C-alpha bond
538  XIon, // MS:1001228 amide/C-alpha bond up to the C-terminus
539  YIon, // MS:1001220 peptide bond up to the C-terminus
540  ZIon, // MS:1001230 C-alpha/carbonyl carbon bond
541  Precursor, // MS:1001523 Precursor ion
542  BIonMinusH20, // MS:1001222 b ion without water
543  YIonMinusH20, // MS:1001223 y ion without water
544  BIonMinusNH3, // MS:1001232 b ion without ammonia
545  YIonMinusNH3, // MS:1001233 y ion without ammonia
546  NonIdentified, // MS:1001240 Non-identified ion
547  Unannotated, // no stored annotation
548  SizeOfResidueType
549  };
550  */
551 
552  typedef Residue::ResidueType IonType; // Interpretation IonType
553 
554  unsigned char ordinal; // MS:1000903 (product ion series ordinal)
555  unsigned char rank; // MS:1000926 (product interpretation rank)
556  IonType iontype; // which type of ion (b/y/z/ ...), see Residue::ResidueType
557 
558  // Constructor
561  ordinal(0),
562  rank(0),
563  iontype(Residue::Unannotated) // Unannotated does not imply any MS OBO term
564  {
565  }
566 
567  // Copy constructor
569  CVTermListInterface(rhs),
570  ordinal(rhs.ordinal),
571  rank(rhs.rank),
572  iontype(rhs.iontype)
573  {
574  }
575 
579  bool operator==(const Interpretation & rhs) const
580  {
581  return CVTermListInterface::operator==(rhs) &&
582  ordinal == rhs.ordinal &&
583  rank == rhs.rank &&
584  iontype == rhs.iontype;
585  }
586 
588  {
589  if (&rhs != this)
590  {
592  ordinal = rhs.ordinal;
593  rank = rhs.rank;
594  iontype = rhs.iontype;
595  }
596  return *this;
597  }
598 
599  bool operator!=(const Interpretation & rhs) const
600  {
601  return !(operator==(rhs));
602  }
604 
605  };
606 
607  struct OPENMS_DLLAPI TraMLProduct :
608  public CVTermListInterface
609  {
612  charge_(0),
613  charge_set_(false),
614  mz_(0)
615  {
616  }
617 
618  bool operator==(const TraMLProduct & rhs) const
619  {
620  return CVTermListInterface::operator==(rhs) &&
621  charge_ == rhs.charge_ &&
622  charge_set_ == rhs.charge_set_ &&
623  mz_ == rhs.mz_ &&
624  configuration_list_ == rhs.configuration_list_ &&
625  interpretation_list_ == rhs.interpretation_list_;
626  }
627 
629  {
630  if (&rhs != this)
631  {
633  charge_ = rhs.charge_;
634  charge_set_ = rhs.charge_set_;
635  mz_ = rhs.mz_;
636  configuration_list_ = rhs.configuration_list_;
637  interpretation_list_ = rhs.interpretation_list_;
638  }
639  return *this;
640  }
641 
642  void setChargeState(int charge)
643  {
644  charge_ = charge;
645  charge_set_ = true;
646  }
647 
649  bool hasCharge() const
650  {
651  return charge_set_;
652  }
653 
654  int getChargeState() const
655  {
656  OPENMS_PRECONDITION(charge_set_, "Cannot return charge which was never set")
657  return charge_;
658  }
659 
660  double getMZ() const
661  {
662  return mz_;
663  }
664 
665  void setMZ(double mz)
666  {
667  mz_ = mz;
668  }
669 
670  const std::vector<Configuration> & getConfigurationList() const
671  {
672  return configuration_list_;
673  }
674 
675  void addConfiguration(const Configuration configuration)
676  {
677  return configuration_list_.push_back(configuration);
678  }
679 
680  const std::vector<Interpretation> & getInterpretationList() const
681  {
682  return interpretation_list_;
683  }
684 
685  void addInterpretation(const Interpretation interpretation)
686  {
687  return interpretation_list_.push_back(interpretation);
688  }
689 
691  {
692  return interpretation_list_.clear();
693  }
694 
695 private:
696  int charge_;
698  double mz_;
699  std::vector<Configuration> configuration_list_;
700  std::vector<Interpretation> interpretation_list_;
701 
702  };
703 
705  OPENMS_DLLAPI OpenMS::AASequence getAASequence(const Peptide& peptide);
706 
708  OPENMS_DLLAPI void setModification(int location, int max_size, String modification, OpenMS::AASequence & aas);
709 
710  }
711 
712 } // namespace OpenMS
713 
714 #endif // OPENMS_ANALYSIS_TARGETED_TARGETEDEXPERIMENTHELPER_H
bool operator==(const Contact &rhs) const
Definition: TargetedExperimentHelper.h:419
bool operator==(const Compound &rhs) const
Definition: TargetedExperimentHelper.h:222
bool operator==(const Instrument &rhs) const
Definition: TargetedExperimentHelper.h:475
void addConfiguration(const Configuration configuration)
Definition: TargetedExperimentHelper.h:675
Peptide(const Peptide &rhs)
Definition: TargetedExperimentHelper.h:295
String peptide_group_label_
Definition: TargetedExperimentHelper.h:406
int getChargeState() const
Definition: TargetedExperimentHelper.h:654
bool operator==(const Protein &rhs) const
Definition: TargetedExperimentHelper.h:122
virtual ~RetentionTime()
Definition: TargetedExperimentHelper.h:158
CVTermList evidence
Definition: TargetedExperimentHelper.h:399
A more convenient string class.
Definition: String.h:57
const std::vector< Interpretation > & getInterpretationList() const
Definition: TargetedExperimentHelper.h:680
Interpretation(const Interpretation &rhs)
Definition: TargetedExperimentHelper.h:568
double avg_mass_delta
Definition: TargetedExperimentHelper.h:274
Protein & operator=(const Protein &rhs)
Definition: TargetedExperimentHelper.h:129
Representation of controlled vocabulary term list.
Definition: CVTermList.h:53
void setChargeState(int charge)
Definition: TargetedExperimentHelper.h:642
bool hasCharge() const
Whether peptide has set charge state.
Definition: TargetedExperimentHelper.h:349
String smiles_string
Definition: TargetedExperimentHelper.h:257
Compound & operator=(const Compound &rhs)
Definition: TargetedExperimentHelper.h:206
Configuration & operator=(const Configuration &rhs)
Definition: TargetedExperimentHelper.h:71
String id
Definition: TargetedExperimentHelper.h:417
String URI
Definition: TargetedExperimentHelper.h:99
void setMZ(double mz)
Definition: TargetedExperimentHelper.h:665
Definition: TargetedExperimentHelper.h:437
#define OPENMS_PRECONDITION(condition, message)
Precondition macro.
Definition: openms/include/OpenMS/CONCEPT/Macros.h:107
Compound()
Definition: TargetedExperimentHelper.h:186
String instrument_ref
Definition: TargetedExperimentHelper.h:68
std::vector< Interpretation > interpretation_list_
Definition: TargetedExperimentHelper.h:700
String software_ref
Definition: TargetedExperimentHelper.h:501
bool operator==(const TraMLProduct &rhs) const
Definition: TargetedExperimentHelper.h:618
TraMLProduct & operator=(const TraMLProduct &rhs)
Definition: TargetedExperimentHelper.h:628
Prediction & operator=(const Prediction &rhs)
Definition: TargetedExperimentHelper.h:511
Definition: TargetedExperimentHelper.h:524
OpenMS::AASequence getAASequence(const Peptide &peptide)
helper function that converts a Peptide object to a AASequence object
Representation of a peptide/protein sequence.
Definition: AASequence.h:108
String fullname
Definition: TargetedExperimentHelper.h:97
Peptide & operator=(const Peptide &rhs)
Definition: TargetedExperimentHelper.h:309
bool operator==(const Interpretation &rhs) const
Definition: TargetedExperimentHelper.h:579
int getChargeState() const
Return the compound charge state.
Definition: TargetedExperimentHelper.h:248
CVTermList & operator=(const CVTermList &rhs)
Assignment operator.
Definition: TargetedExperimentHelper.h:409
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
Contact & operator=(const Contact &rhs)
Definition: TargetedExperimentHelper.h:425
TraMLProduct()
Definition: TargetedExperimentHelper.h:610
bool hasCharge() const
Whether product has set charge state.
Definition: TargetedExperimentHelper.h:649
double mono_mass_delta
Definition: TargetedExperimentHelper.h:275
bool operator==(const Publication &rhs) const
Definition: TargetedExperimentHelper.h:447
Representation of a residue.
Definition: Residue.h:62
Int32 location
Definition: TargetedExperimentHelper.h:276
CV(const String &new_id, const String &new_fullname, const String &new_version, const String &new_URI)
Definition: TargetedExperimentHelper.h:87
Interpretation & operator=(const Interpretation &rhs)
Definition: TargetedExperimentHelper.h:587
std::vector< Configuration > configuration_list_
Definition: TargetedExperimentHelper.h:699
RetentionTime & operator=(const RetentionTime &rhs)
Definition: TargetedExperimentHelper.h:162
std::vector< RetentionTime > rts
Definition: TargetedExperimentHelper.h:396
std::vector< RetentionTime > rts
Definition: TargetedExperimentHelper.h:255
Peptide()
Definition: TargetedExperimentHelper.h:288
bool hasCharge() const
Whether compound has set charge state.
Definition: TargetedExperimentHelper.h:242
void setModification(int location, int max_size, String modification, OpenMS::AASequence &aas)
helper function that sets a modification on a AASequence object
CVTermListInterface & operator=(const CVTermListInterface &rhs)
Assignment operator.
Protein()
Definition: TargetedExperimentHelper.h:114
A method or algorithm argument contains illegal values.
Definition: Exception.h:649
unsigned char ordinal
Definition: TargetedExperimentHelper.h:554
IonType iontype
Definition: TargetedExperimentHelper.h:556
bool operator==(const RetentionTime &rhs) const
Definition: TargetedExperimentHelper.h:172
int charge_
Definition: TargetedExperimentHelper.h:404
Definition: TargetedExperimentHelper.h:64
std::vector< CVTermList > validations
Definition: TargetedExperimentHelper.h:69
String id
Definition: TargetedExperimentHelper.h:397
Definition: TargetedExperimentHelper.h:607
void setChargeState(int charge)
Set the peptide charge state.
Definition: TargetedExperimentHelper.h:235
OPENMS_INT32_TYPE Int32
Signed integer type (32bit)
Definition: Types.h:57
Instrument()
Definition: TargetedExperimentHelper.h:468
double theoretical_mass
Definition: TargetedExperimentHelper.h:258
bool charge_set_
Definition: TargetedExperimentHelper.h:697
Instrument & operator=(const Instrument &rhs)
Definition: TargetedExperimentHelper.h:481
bool charge_set_
Definition: TargetedExperimentHelper.h:262
String id
Definition: TargetedExperimentHelper.h:96
bool operator==(const Prediction &rhs) const
Definition: TargetedExperimentHelper.h:504
String contact_ref
Definition: TargetedExperimentHelper.h:502
Publication & operator=(const Publication &rhs)
Definition: TargetedExperimentHelper.h:453
String sequence
Definition: TargetedExperimentHelper.h:120
String getPeptideGroupLabel() const
Get the peptide group label.
Definition: TargetedExperimentHelper.h:378
RetentionTime()
Definition: TargetedExperimentHelper.h:147
Definition: TargetedExperimentHelper.h:181
std::vector< Modification > mods
Definition: TargetedExperimentHelper.h:401
std::vector< String > protein_refs
Definition: TargetedExperimentHelper.h:398
Interface to the controlled vocabulary term list.
Definition: CVTermListInterface.h:59
void setChargeState(int charge)
Set the peptide charge state.
Definition: TargetedExperimentHelper.h:342
String id
Definition: TargetedExperimentHelper.h:445
Prediction()
Definition: TargetedExperimentHelper.h:496
Definition: TargetedExperimentHelper.h:85
double getMZ() const
Definition: TargetedExperimentHelper.h:660
String sequence
Definition: TargetedExperimentHelper.h:400
Definition: TargetedExperimentHelper.h:271
bool operator==(const CV &cv) const
Definition: TargetedExperimentHelper.h:101
const std::vector< Configuration > & getConfigurationList() const
Definition: TargetedExperimentHelper.h:670
ResidueType
Definition: Residue.h:144
Interpretation()
Definition: TargetedExperimentHelper.h:559
void addInterpretation(const Interpretation interpretation)
Definition: TargetedExperimentHelper.h:685
int getChargeState() const
Return the peptide charge state.
Definition: TargetedExperimentHelper.h:355
String id
Definition: TargetedExperimentHelper.h:119
Residue::ResidueType IonType
Definition: TargetedExperimentHelper.h:552
double getRetentionTime() const
Definition: TargetedExperimentHelper.h:384
void resetInterpretations()
Definition: TargetedExperimentHelper.h:690
bool operator==(const CVTermListInterface &rhs) const
equality operator
RetentionTime(const RetentionTime &rhs)
Definition: TargetedExperimentHelper.h:152
Modification()
Definition: TargetedExperimentHelper.h:279
Definition: TargetedExperimentHelper.h:465
String id
Definition: TargetedExperimentHelper.h:254
Definition: TargetedExperimentHelper.h:142
String id
Definition: TargetedExperimentHelper.h:473
bool operator==(const CVTermList &cv_term_list) const
equality operator
Definition: TargetedExperimentHelper.h:493
double mz_
Definition: TargetedExperimentHelper.h:698
Definition: TargetedExperimentHelper.h:111
int charge_
Definition: TargetedExperimentHelper.h:261
String contact_ref
Definition: TargetedExperimentHelper.h:67
Int32 unimod_id
Definition: TargetedExperimentHelper.h:277
String software_ref
Definition: TargetedExperimentHelper.h:178
bool operator!=(const Interpretation &rhs) const
Definition: TargetedExperimentHelper.h:599
Compound(const Compound &rhs)
Definition: TargetedExperimentHelper.h:194
String molecular_formula
Definition: TargetedExperimentHelper.h:256
Publication()
Definition: TargetedExperimentHelper.h:440
bool operator==(const Peptide &rhs) const
Definition: TargetedExperimentHelper.h:327
String version
Definition: TargetedExperimentHelper.h:98
bool charge_set_
Definition: TargetedExperimentHelper.h:405
int charge_
Definition: TargetedExperimentHelper.h:696
unsigned char rank
Definition: TargetedExperimentHelper.h:555
Definition: TargetedExperimentHelper.h:266
Contact()
Definition: TargetedExperimentHelper.h:412

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