bionty.Protein

class bionty.Protein(name: str | None, uniprotkb_id: str | None, synonyms: str | None, length: int | None, gene_symbol: str | None, ensembl_gene_ids: str | None, organism: Organism | None, source: Source | None)

Bases: BioRecord, TracksRun, TracksUpdates

Proteins - Uniprot.

Notes

For more info, see tutorials Manage biological registries and Protein.

Bulk create Protein records via from_values().

Examples

>>> record = bionty.Protein.from_source(name="Synaptotagmin-15B", organism="human")
>>> record = bionty.Protein.from_source(gene_symbol="SYT15B", organism="human")

Simple fields

uid: str

A universal id (hash of selected field).

name: str | None

Unique name of a protein.

uniprotkb_id: str | None

UniProt protein ID, 6 alphanumeric characters, possibly suffixed by 4 more.

synonyms: str | None

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

description: str | None

Description of the protein.

length: int | None

Length of the protein sequence.

gene_symbol: str | None

The primary gene symbol corresponds to this protein.

ensembl_gene_ids: str | None

Bar-separated (|) Ensembl Gene IDs that correspond to this protein.

created_at: datetime

Time of creation of record.

updated_at: datetime

Time of last update to record.

Methods