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_public(name="Synaptotagmin-15B", organism="human")
>>> record = bionty.Protein.from_public(gene_symbol="SYT15B", organism="human")

Fields

run: Run

Last run that created or updated the record.

id

Internal id, valid only in one DB instance.

uid

A universal id (hash of selected field).

name

Unique name of a protein.

uniprotkb_id

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

synonyms

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

description

Description of the protein.

length

Length of the protein sequence.

gene_symbol

The primary gene symbol corresponds to this protein.

ensembl_gene_ids

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

organism

Organism this protein associates with.

source

Source this protein associates with.

previous_runs: Run

Sequence of runs that created or updated the record.

artifacts

Artifacts linked to the protein.

feature_sets

Featuresets linked to this protein.

created_at: datetime

Time of creation of record.

created_by: User

Creator of record.

updated_at: datetime

Time of last update to record.

Methods