tidesurf.transcript.Transcript#
- class tidesurf.transcript.Transcript(gene_id: str, gene_name: str, transcript_id: str, transcript_name: str, chromosome: str, strand: Strand, start: int, end: int, regions: Optional[List[Union[Exon, Intron]]] = None)#
Bases:
GenomicFeatureA transcript. Contains a list of exons and introns.
- Parameters:
- gene_id str
ID of the corresponding gene.
- gene_name str
Name of the corresponding gene.
- transcript_id str
ID of the corresponding transcript.
- transcript_name str
Name of the corresponding transcript.
- chromosome str
Chromosome on which the exon is located.
- strand Strand
Strand on which the exon is located.
- start int
Genomic start position of the exon (0-based).
- end int
Genomic end position of the exon (0-based).
- regions List[Union[Exon, Intron]]
List of exons and introns in the transcript. A
Transcriptobject can be initialized without regions (default:None), in which case they should be added later. If only exons are added, introns can be inserted withsort_regions().
Attributes
Chromosome on which the feature is located.
Genomic end position of the feature (0-based).
ID of the corresponding gene.
Name of the corresponding gene.
List of exons and introns in the transcript.
Genomic start position of the feature (0-based).
Strand on which the feature is located.
ID of the corresponding transcript.
Name of the corresponding transcript.
Methods