mkt.schema.kinase_schema.KinCoreFASTA
- class mkt.schema.kinase_schema.KinCoreFASTA(*, seq: ~typing.Annotated[str, ~pydantic.types.StringConstraints(strip_whitespace=None, to_upper=None, to_lower=None, strict=None, min_length=None, max_length=None, pattern=^[ACDEFGHIKLMNPQRSTVWXY]+$)], group: ~mkt.schema.kinase_schema.Group, hgnc: set[str], swissprot: str, uniprot: ~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])?$)] | ~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])?$)], start_md: int, end_md: int, length_md: int | None = None, start_af2: int | None = None, end_af2: int | None = None, length_af2: int | None = None, length_uniprot: int | None = None, source_file: str, start: int | None = None, end: int | None = None, mismatch: list[int] | None = None)[source]
Bases:
BaseModelPydantic model for KinCore FASTA information.
- __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.
Attributes
- end: int | None
- end_af2: int | None
- end_md: int
- hgnc: set[str]
- length_af2: int | None
- length_md: int | None
- length_uniprot: int | None
- mismatch: list[int] | None
- seq: StringConstraints(strip_whitespace=None, to_upper=None, to_lower=None, strict=None, min_length=None, max_length=None, pattern=^[ACDEFGHIKLMNPQRSTVWXY]+$)]
- source_file: str
- start: int | None
- start_af2: int | None
- start_md: int
- swissprot: str
- uniprot: 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])?$)]