Chemistry
Chemistry is an optional oligonucleotide attachment with a stable ID. The representation of individual nucleotide modifications is deferred.
- class ASOkai.Biochemistry.Chemistry(id, **kwargs)[source]
Bases:
SerializableOptional oligonucleotide chemistry with a stable design identity.
The representation of individual nucleotide modifications is deferred.
- Parameters:
id (str)
- id: str
File contract
This is the JSON record ASOkai stores for Chemistry. A JSON file has a root value and an objects table. Objects used once are inline; repeatedly used objects move to the table and are linked by references. Nested records follow their own class contracts.
The __class__ and __module__ fields identify the object type. ASOkai adds them when writing JSON; keep the fixed values shown below when supplying an input file yourself.
Example file
{ "root": { "__class__": "Chemistry", "__module__": "ASOkai.Biochemistry._chemistry", "id": "example" }, "objects": {} }
Fields
JSON field
Details
__class__Accepted value:
"Chemistry"Requirement: Required; keep unchanged in input files
Meaning: Identifies this JSON object as Chemistry. ASOkai writes it automatically.
__module__Accepted value:
"ASOkai.Biochemistry._chemistry"Requirement: Required; keep unchanged in input files
Meaning: Tells ASOkai where Chemistry is defined. ASOkai writes it automatically.
idAccepted value: string
Requirement: Required
Meaning: —