gtgt.Transcript

class gtgt.Transcript(rna_features: list[gtgt.bed.Bed], protein_features: list[gtgt.bed.Bed])
__init__(rna_features: list[gtgt.bed.Bed], protein_features: list[gtgt.bed.Bed])

Methods

__init__(rna_features, protein_features)

analyze(hgvs[, extended])

Analyze the transcript based on the specified HGVS description

compare(other)

Compare the size of each record in the transcripts

compare_score(other)

Compare the size of each records in the transcripts

from_description(d)

Create a Transcript object from a mutalyzer Description

intersect(selector)

Update transcript to only contain features that intersect the selector

lookup_protein_domains(d)

Lookup supported protein domains from USCS

mutate(d, variants)

Mutate the transcript based on the specified variants

overlap(selector)

Update transcript to only contain features that overlap the selector

records()

Return the Bed records that make up the Transcript

rna_records()

Return the Bed records that contain RNA features

subtract(selector)

Remove all features from transcript that intersect the selector

Attributes

coding_exons

Helper function to get the coding exons for Transcript

exons

Helper function to get the exons for Transcript