lnschema_bionty.DevelopmentalStage#
- class lnschema_bionty.DevelopmentalStage(name: str, ontology_id: Optional[str], abbr: Optional[str], synonyms: Optional[str], description: Optional[str], parents: List[DevelopmentalStage], bionty_source: Optional[BiontySource])#
Bases:
BioRegistry
Developmental stages - Human Developmental Stages, Mouse Developmental Stages. # noqa
Notes
For more info, see tutorial Manage biological registries
Bulk create DevelopmentalStage records via
from_values
.Examples
>>> record = lb.DevelopmentalStage.from_bionty(name="neurula stage") >>> record.save()
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 developmental stage.
- ontology_id CharField
Ontology ID of the developmental stage.
- abbr CharField
A unique abbreviation of developmental stage.
- synonyms TextField
Bar-separated (|) synonyms that correspond to this developmental stage.
- description TextField
Description of the developmental stage.
- bionty_source ForeignKey
BiontySource
this developmental stage 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 developmental stage records.
- files ManyToManyField
Files linked to the developmental stage.
- datasets ManyToManyField
Datasets linked to the developmental stage.
Methods