Mechanisms of action
MechanismOfAction stores a stable, non-empty id. Therapeutic design
IDs include it. For RNase H1, use MechanismOfAction("rnase-h1").
- class ASOkai.Biochemistry.MechanismOfAction(id)[source]
Bases:
SerializableAn antisense mechanism represented by its stable design ID.
- Parameters:
id (str)
- id: str
File contract
This is the JSON record ASOkai stores for MechanismOfAction. 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__": "MechanismOfAction", "__module__": "ASOkai.Biochemistry._mechanism_of_action", "id": "example" }, "objects": {} }
Fields
JSON field
Details
__class__Accepted value:
"MechanismOfAction"Requirement: Required; keep unchanged in input files
Meaning: Identifies this JSON object as MechanismOfAction. ASOkai writes it automatically.
__module__Accepted value:
"ASOkai.Biochemistry._mechanism_of_action"Requirement: Required; keep unchanged in input files
Meaning: Tells ASOkai where MechanismOfAction is defined. ASOkai writes it automatically.
idAccepted value: string
Requirement: Required
Meaning: —