bionty.Tissue#

class bionty.Tissue(name: str, ontology_id: Optional[str], abbr: Optional[str], synonyms: Optional[str], description: Optional[str], parents: List[Tissue], public_source: Optional[PublicSource])#
class bionty.Tissue(*db_args)

Bases: BioRegistry

Tissues - Uberon.

Notes

For more info, see tutorial Manage biological registries

Bulk create Tissue records via from_values.

Examples

>>> record = bionty.Tissue.from_public(name="brain")

Fields

id AutoField

Internal id, valid only in one DB instance.

uid CharField

A universal id (hash of selected field).

name CharField

Name of the tissue.

ontology_id CharField

Ontology ID of the tissue.

abbr CharField

A unique abbreviation of tissue.

synonyms TextField

Bar-separated (|) synonyms that correspond to this tissue.

description TextField

Description of the tissue.

public_source ForeignKey

PublicSource this tissue associates with.

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.

parents ManyToManyField

Parent tissues records.

artifacts ManyToManyField

Artifacts linked to the tissue.

collections ManyToManyField

Collections linked to the tissue.

Methods