wetlab.Treatment¶
- class wetlab.Treatment(*args, **kwargs)¶
Bases:
Record
,CanValidate
Treatments.
Fields¶
- id¶
Internal id, valid only in one DB instance.
- uid¶
Universal id, valid across DB instances.
- name¶
Name of the treatment.
- type¶
Type of the treatment. “genetic” or “chemical”
- system¶
System used for the genetic treatment.
- description¶
Description of the treatment.
- sequence¶
Sequence of the treatment.
- on_target_score¶
On-target score of the treatment.
- off_target_score¶
Off-target score of the treatment.
- ontology_id¶
Ontology ID of the treatment.
- pubchem_id¶
Pubchem ID of the chemical treatment.
- targets¶
Targets of the treatment.
- artifacts¶
Artifacts linked to the treatment.
- collections¶
Collections linked to the treatment.
- created_at¶
Time of creation of record.
- updated_at¶
Time of last update to record.
Methods¶
- get_system_display(*, field=<django.db.models.fields.CharField: system>)¶
- get_type_display(*, field=<django.db.models.fields.CharField: type>)¶