wetlab.Treatment

class wetlab.Treatment(*args, **kwargs)

Bases: Registry, CanValidate

Treatments.

Fields

id AutoField

Internal id, valid only in one DB instance.

uid CharField

Universal id, valid across DB instances.

name CharField

Name of the treatment.

type CharField

Type of the treatment. “genetic” or “chemical”

system CharField

System used for the genetic treatment.

description TextField

Description of the treatment.

sequence TextField

Sequence of the treatment.

on_target_score FloatField

On-target score of the treatment.

off_target_score FloatField

Off-target score of the treatment.

ontology_id CharField

Ontology ID of the treatment.

pubchem_id CharField

Pubchem ID of the chemical treatment.

created_at DateTimeField

Time of creation of record.

updated_at DateTimeField

Time of last update to record.

created_by ForeignKey

Creator of record, a User.

targets ManyToManyField

Targets of the treatment.

artifacts ManyToManyField

Artifacts linked to the treatment.

collections ManyToManyField

Collections linked to the treatment.

Methods

get_system_display(*, field=<django.db.models.fields.CharField: system>)
get_type_display(*, field=<django.db.models.fields.CharField: type>)