61 NUMBER_OF_TERM_SPECIFICITY
70 const String& new_code =
"",
71 const String& html_code =
".",
74 double mono_mass = 0.0,
75 double avg_mass = 0.0,
155 void setHTMLCode(
const String& html_code);
Database of ribonucleotides (modified and unmodified)
Definition: RibonucleotideDB.h:51
Representation of a ribonucleotide (modified or unmodified)
Definition: Ribonucleotide.h:52
const EmpiricalFormula getBaselossFormula() const
Get sum formula after loss of the nucleobase.
double avg_mass_
average mass
Definition: Ribonucleotide.h:188
const String getNewCode() const
Get the "new" (Modomics) code.
virtual ~Ribonucleotide()
Destructor.
String new_code_
Modomics code.
Definition: Ribonucleotide.h:183
Ribonucleotide & operator=(const Ribonucleotide &ribo)=default
assignment operator
void setAvgMass(double avg_mass)
Get the average mass of the ribonucleotide.
Ribonucleotide(const Ribonucleotide &ribo)=default
Copy constructor.
String name_
full name
Definition: Ribonucleotide.h:181
EmpiricalFormula baseloss_formula_
sum formula after loss of the nucleobase
Definition: Ribonucleotide.h:190
Ribonucleotide(const String &name="unknown ribonucleotide", const String &code=".", const String &new_code="", const String &html_code=".", const EmpiricalFormula &formula=EmpiricalFormula(), char origin='.', double mono_mass=0.0, double avg_mass=0.0, enum TermSpecificityNuc term_spec=ANYWHERE, const EmpiricalFormula &baseloss_formula=default_baseloss_)
Constructor.
void setNewCode(const String &new_code)
Set the "new" (Modomics) code.
bool isAmbiguous() const
Return whether this is an "ambiguous" modification (representing isobaric modifications on the base/r...
double mono_mass_
monoisotopic mass
Definition: Ribonucleotide.h:187
bool isModified() const
Return true if this is a modified ribonucleotide and false otherwise.
void setCode(const String &code)
Set the short name.
void setMonoMass(double mono_mass)
Set the monoisotopic mass of the ribonucleotide.
TermSpecificityNuc
Definition: Ribonucleotide.h:57
@ FIVE_PRIME
Definition: Ribonucleotide.h:59
@ THREE_PRIME
Definition: Ribonucleotide.h:60
@ ANYWHERE
Definition: Ribonucleotide.h:58
void setName(const String &name)
Set the name of the ribonucleotide.
const EmpiricalFormula getFormula() const
Get formula for the ribonucleotide.
char origin_
character of unmodified version of ribonucleotide
Definition: Ribonucleotide.h:186
static const EmpiricalFormula default_baseloss_
Default value for sum formula after nucleobase loss.
Definition: Ribonucleotide.h:179
String html_code_
RNAMods code.
Definition: Ribonucleotide.h:184
void setTermSpecificity(enum TermSpecificityNuc term_spec)
Set the terminal specificity.
String getHTMLCode() const
Set the HTML (RNAMods) code.
char getOrigin() const
Get the code of the unmodified base (e.g., "A", "C", ...)
String code_
short name
Definition: Ribonucleotide.h:182
double getMonoMass() const
Get the monoisotopic mass of the ribonucleotide.
void setOrigin(char origin)
Set the code of the unmodified base (e.g., "A", "C", ...)
void setBaselossFormula(const EmpiricalFormula &formula)
Set the sum formula after loss of the nucleobase.
friend std::ostream & operator<<(std::ostream &os, const Ribonucleotide &ribo)
ostream iterator to write the residue to a stream
bool operator==(const Ribonucleotide &ribonucleotide) const
Equality operator.
EmpiricalFormula formula_
sum formula
Definition: Ribonucleotide.h:185
double getAvgMass() const
Set the average mass of the ribonucleotide.
const String getName() const
Get the name of the ribonucleotide.
void setFormula(const EmpiricalFormula &formula)
Set the empirical formula for the ribonucleotide.
const String getCode() const
Return the short name.
A more convenient string class.
Definition: String.h:60
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)