|
OpenMS
2.6.0
|
Go to the documentation of this file.
102 NUMBER_OF_TERM_SPECIFICITY
125 NUMBER_OF_SOURCE_CLASSIFICATIONS
160 void setId(
const String&
id);
164 const String& getId()
const;
173 void setFullId(
const String& full_id =
"");
185 const String& getFullId()
const;
188 void setUniModRecordId(
const Int&
id);
191 const Int& getUniModRecordId()
const;
194 const String getUniModAccession()
const;
197 void setPSIMODAccession(
const String&
id);
200 const String& getPSIMODAccession()
const;
203 void setFullName(
const String& full_name);
206 const String& getFullName()
const;
209 void setName(
const String& name);
212 const String& getName()
const;
219 void setTermSpecificity(TermSpecificity term_spec);
228 void setTermSpecificity(
const String& name);
231 TermSpecificity getTermSpecificity()
const;
239 String getTermSpecificityName(TermSpecificity term_spec = NUMBER_OF_TERM_SPECIFICITY)
const;
249 void setOrigin(
char origin);
252 char getOrigin()
const;
255 void setSourceClassification(
const String& classification);
258 void setSourceClassification(SourceClassification classification);
261 SourceClassification getSourceClassification()
const;
264 String getSourceClassificationName(SourceClassification classification = NUMBER_OF_SOURCE_CLASSIFICATIONS)
const;
267 void setAverageMass(
double mass);
270 double getAverageMass()
const;
273 void setMonoMass(
double mass);
276 double getMonoMass()
const;
279 void setDiffAverageMass(
double mass);
282 double getDiffAverageMass()
const;
285 void setDiffMonoMass(
double mass);
288 double getDiffMonoMass()
const;
291 void setFormula(
const String& composition);
294 const String& getFormula()
const;
303 void setSynonyms(
const std::set<String>& synonyms);
306 void addSynonym(
const String& synonym);
309 const std::set<String>& getSynonyms()
const;
312 void setNeutralLossDiffFormulas(
const std::vector<EmpiricalFormula>& diff_formulas);
315 const std::vector<EmpiricalFormula>& getNeutralLossDiffFormulas()
const;
318 void setNeutralLossMonoMasses(std::vector<double> mono_masses);
321 std::vector<double> getNeutralLossMonoMasses()
const;
324 void setNeutralLossAverageMasses(std::vector<double> average_masses);
327 std::vector<double> getNeutralLossAverageMasses()
const;
333 bool hasNeutralLoss()
const;
337 bool isUserDefined()
const;
361 const bool delta_mass,
362 const TermSpecificity specificity,
363 const Residue* residue =
nullptr);
382 const std::set<const ResidueModification*>& addons,
383 bool allow_unknown_masses =
false,
384 const Residue* residue =
nullptr);
397 static String getDiffMonoMassString(
const double diff_mono_mass);
400 static String getDiffMonoMassWithBracket(
const double diff_mono_mass);
403 static String getMonoMassWithBracket(
const double mono_mass);
SourceClassification classification_
Definition: ResidueModification.h:423
String full_id_
Definition: ResidueModification.h:408
Definition: ResidueModification.h:117
Representation of a modification.
Definition: ResidueModification.h:76
Definition: ResidueModification.h:110
Definition: ResidueModification.h:115
A more convenient string class.
Definition: String.h:59
String full_name_
Definition: ResidueModification.h:415
bool operator!=(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:824
Definition: ResidueModification.h:113
Definition: ResidueModification.h:111
Definition: ResidueModification.h:121
String name_
Definition: ResidueModification.h:417
Definition: ResidueModification.h:124
bool operator<(const QTCluster &q1, const QTCluster &q2)
Definition: ResidueModification.h:122
Definition: ResidueModification.h:116
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
std::vector< double > neutral_loss_mono_masses_
Definition: ResidueModification.h:441
char origin_
Definition: ResidueModification.h:421
Definition: ResidueModification.h:114
Representation of a residue.
Definition: Residue.h:62
TermSpecificity
Position where the modification is allowed to occur.
Definition: ResidueModification.h:95
Definition: ResidueModification.h:120
Definition: ResidueModification.h:119
SourceClassification
Classification of the modification.
Definition: ResidueModification.h:107
std::set< String > synonyms_
Definition: ResidueModification.h:437
double average_mass_
Definition: ResidueModification.h:425
String toString(const T &i)
fallback template for general purpose using Boost::Karma; more specializations below
Definition: StringUtils.h:127
std::vector< EmpiricalFormula > neutral_loss_diff_formulas_
Definition: ResidueModification.h:439
String psi_mod_accession_
Definition: ResidueModification.h:410
bool operator==(const IDBoostGraph::ProteinGroup &lhs, const IDBoostGraph::ProteinGroup &rhs)
String id_
Definition: ResidueModification.h:406
Definition: ResidueModification.h:118
String formula_
Definition: ResidueModification.h:433
double diff_mono_mass_
Definition: ResidueModification.h:431
double mono_mass_
Definition: ResidueModification.h:427
double diff_average_mass_
Definition: ResidueModification.h:429
Definition: ResidueModification.h:123
Int unimod_record_id_
Definition: ResidueModification.h:413
std::vector< double > neutral_loss_average_masses_
Definition: ResidueModification.h:443
EmpiricalFormula diff_formula_
Definition: ResidueModification.h:435
Definition: ResidueModification.h:112
TermSpecificity term_spec_
Definition: ResidueModification.h:419