mkt.databases.kinase_schema.KinaseInfoKinaseDomainGenerator

class mkt.databases.kinase_schema.KinaseInfoKinaseDomainGenerator(*, uniprot_id: ~typing.Annotated[str, ~pydantic.types.StringConstraints(strip_whitespace=None, to_upper=None, to_lower=None, strict=None, min_length=None, max_length=None, pattern=^[A-Z][0-9][A-Z0-9]{3}[0-9](_[12])?(_[12])?$)] | ~typing.Annotated[str, ~pydantic.types.StringConstraints(strip_whitespace=None, to_upper=None, to_lower=None, strict=None, min_length=None, max_length=None, pattern=^[A-Z][0-9][A-Z][A-Z0-9]{2}[0-9][A-Z][A-Z0-9]{2}[0-9](_[12])?(_[12])?$)], kinhub: ~mkt.schema.kinase_schema.KinHub | None = None, klifs: ~mkt.schema.kinase_schema.KLIFS | None = None, kincore: ~mkt.schema.kinase_schema.KinCore | None = None)[source]

Bases: KinaseInfoKinaseDomain

Pydantic model for to generate KinaseInfoKinaseDomain (kinase info at the level of the kinase domain).

__init__(**data: Any) None

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Methods

change_wrong_klifs_pocket_seq()

KLIFS pocket has some errors compared to UniProt sequence - fix this via validation.

generate_kincore_fasta2cif_alignment()

Generate dictionary mapping KinCore FASTA to CIF indices.

Attributes

uniprot_id

kinhub

klifs

kincore

change_wrong_klifs_pocket_seq() Self[source]

KLIFS pocket has some errors compared to UniProt sequence - fix this via validation.

generate_kincore_fasta2cif_alignment() Self[source]

Generate dictionary mapping KinCore FASTA to CIF indices.