gtgt.Allele
- class gtgt.Allele(dna: str, rna: str, features: Features | None = None, _ignore_coordinate: bool = False)
The Allele class is the representation of one of the alleles of a putative patient.
- An Allele consists of:
Features, see the Features class
The RNA Transcript
The DNA Transcript
For some variants, the RNA and DNA versions of the transcript will be (practically) identical. However, in the case of splice altering variants there can be big differences between the RNA and the DNA version of the Transcript.
The Features will use the internal coordinate system from the RNA Transcript.
- __init__(dna: str, rna: str, features: Features | None = None, _ignore_coordinate: bool = False) None
Methods
__init__(dna, rna[, features, ...])analyze([extended])Analyze the transcript based on the specified HGVS description
lookup_protein_domains(d)Lookup supported protein domains from USCS
mutate()Mutate the features based on the variants of the RNA Transcript