ChemicalStructure#
- class biopax-explorer.biopax.chemicalstructure.ChemicalStructure(*args, **kwargs)[source]#
Bases:
UtilityClass
Class ChemicalStructure
Definition: The chemical structure of a small molecule. Usage: Structure
information is stored in the property structureData, in one of three formats: the CML format (see www.xml-cml.org), the SMILES format (see www.daylight.com/dayhtml/smiles/) or the InChI format (http://www.iupac.org/inchi/). The structureFormat property specifies which format is used. Examples: The following SMILES string describes the structure of glucose-6-phosphate: ‘C(OP(=O)(O)O)[CH]1([CH](O)[CH](O)[CH](O)[CH](O)O1)’.
code generator : rdfobj (author F.Moreews 2023-2024).
Methods
get_comment
()Attribute _comment getter
Attribute _structureData getter
Attribute _structureFormat getter
attribute_type_by_name
get_uri_string
object_attributes
set_comment
set_structureData
set_structureFormat
set_uri_string
to_json
type_attributes
Methods Summary
Attribute _structureData getter
Attribute _structureFormat getter
set_structureData
(value)set_structureFormat
(value)set_uri_string
(uristr)to_json
()Methods Documentation
- get_structureData()[source]#
- Attribute _structureData getter
This property holds a string of data defining chemical structure,in one of the
three formats:<a href =”www.xml-cml.org”>CML</a>, <a href = “www.daylight.com/dayhtml/smiles/”>SMILES</a> or <a href=”http://www.iupac.org/inchi/”>InChI</a>. If, for example,the CML format is used, then the value of this property is a string containing the XML encoding of the CML data.