Ribonucleotide#

class pyopenms.Ribonucleotide#

Bases: object

Cython implementation of _Ribonucleotide

Documentation is available at http://www.openms.de/current_doxygen/html/classOpenMS::Ribonucleotide_1_1Ribonucleotide.html

__init__()#
  • Cython signature: void Ribonucleotide()

  • Cython signature: void Ribonucleotide(Ribonucleotide &)

  • Cython signature: void Ribonucleotide(String name, String code, String new_code, String html_code, EmpiricalFormula formula, char origin, double mono_mass, double avg_mass, TermSpecificityNuc term_spec, EmpiricalFormula baseloss_formula)

Methods

__init__

  • Cython signature: void Ribonucleotide()

getAvgMass

Cython signature: double getAvgMass() Returns average mass of the ribonucleotide

getBaselossFormula

Cython signature: EmpiricalFormula getBaselossFormula() Returns sum formula after loss of the nucleobase

getCode

Cython signature: String getCode() Returns the short name

getFormula

Cython signature: EmpiricalFormula getFormula() Returns the empirical formula of the residue

getHTMLCode

Cython signature: String getHTMLCode() Returns the HTML (RNAMods) code

getMonoMass

Cython signature: double getMonoMass() Returns monoisotopic mass of the ribonucleotide

getName

Cython signature: String getName() Returns the name of the ribonucleotide

getNewCode

Cython signature: String getNewCode() Returns the new code

getOrigin

Cython signature: char getOrigin() Returns the code of the unmodified base (e.g., "A", "C", ...)

getTermSpecificity

Cython signature: TermSpecificityNuc getTermSpecificity() Returns the terminal specificity

isModified

Cython signature: bool isModified() True if the ribonucleotide is a modified one

setAvgMass

Cython signature: void setAvgMass(double avg_mass) Sets average mass of the ribonucleotide

setBaselossFormula

Cython signature: void setBaselossFormula(EmpiricalFormula formula) Sets sum formula after loss of the nucleobase

setCode

Cython signature: void setCode(String code) Sets the short name

setFormula

Cython signature: void setFormula(EmpiricalFormula formula) Sets empirical formula of the ribonucleotide (must be full, with N and C-terminus)

setHTMLCode

Cython signature: void setHTMLCode(String html_code) Sets the HTML (RNAMods) code

setMonoMass

Cython signature: void setMonoMass(double mono_mass) Sets monoisotopic mass of the ribonucleotide

setName

Cython signature: void setName(String name) Sets the name of the ribonucleotide

setNewCode

Cython signature: void setNewCode(String code) Sets the new code

setOrigin

Cython signature: void setOrigin(char origin) Sets the code of the unmodified base (e.g., "A", "C", ...)

setTermSpecificity

Cython signature: void setTermSpecificity(TermSpecificityNuc term_spec) Sets the terminal specificity

getAvgMass()#

Cython signature: double getAvgMass() Returns average mass of the ribonucleotide

getBaselossFormula()#

Cython signature: EmpiricalFormula getBaselossFormula() Returns sum formula after loss of the nucleobase

getCode()#

Cython signature: String getCode() Returns the short name

getFormula()#

Cython signature: EmpiricalFormula getFormula() Returns the empirical formula of the residue

getHTMLCode()#

Cython signature: String getHTMLCode() Returns the HTML (RNAMods) code

getMonoMass()#

Cython signature: double getMonoMass() Returns monoisotopic mass of the ribonucleotide

getName()#

Cython signature: String getName() Returns the name of the ribonucleotide

getNewCode()#

Cython signature: String getNewCode() Returns the new code

getOrigin()#

Cython signature: char getOrigin() Returns the code of the unmodified base (e.g., “A”, “C”, …)

getTermSpecificity()#

Cython signature: TermSpecificityNuc getTermSpecificity() Returns the terminal specificity

isModified()#

Cython signature: bool isModified() True if the ribonucleotide is a modified one

setAvgMass()#

Cython signature: void setAvgMass(double avg_mass) Sets average mass of the ribonucleotide

setBaselossFormula()#

Cython signature: void setBaselossFormula(EmpiricalFormula formula) Sets sum formula after loss of the nucleobase

setCode()#

Cython signature: void setCode(String code) Sets the short name

setFormula()#

Cython signature: void setFormula(EmpiricalFormula formula) Sets empirical formula of the ribonucleotide (must be full, with N and C-terminus)

setHTMLCode()#

Cython signature: void setHTMLCode(String html_code) Sets the HTML (RNAMods) code

setMonoMass()#

Cython signature: void setMonoMass(double mono_mass) Sets monoisotopic mass of the ribonucleotide

setName()#

Cython signature: void setName(String name) Sets the name of the ribonucleotide

setNewCode()#

Cython signature: void setNewCode(String code) Sets the new code

setOrigin()#

Cython signature: void setOrigin(char origin) Sets the code of the unmodified base (e.g., “A”, “C”, …)

setTermSpecificity()#

Cython signature: void setTermSpecificity(TermSpecificityNuc term_spec) Sets the terminal specificity