bionty.base.Ethnicity

class bionty.base.Ethnicity(organism=None, source=None, version=None, **kwargs)

Bases: PublicOntology

Ethnicity.

1. Human Ancestry Ontology Edits of terms are coordinated and reviewed on: EBISPOT/hancestro

Parameters:
  • organism (Literal['human'] | None, default: None) – name of Organism entity.

  • source (Literal['hancestro'] | None, default: None) – The key of the source in the local.yml versions file. Get all available databases with .display_available_sources().

  • version (str | None, default: None) – The version of the ontology. Typically a date or an actual version. Get available versions with .display_available_sources().

Attributes

property fields: set

All PublicOntology entity fields.

property organism

The name of Organism.

property source

Name of the source.

property version

Version of the source.

Methods