tidesurf.transcript.GenomicFeature#
- class tidesurf.transcript.GenomicFeature(gene_id: str, gene_name: str, transcript_id: str, transcript_name: str, chromosome: str, strand: Strand, start: int, end: int)#
Bases:
objectA genomic feature on a particular strand on a chromosome. Identified by a gene ID, gene name, transcript ID, and transcript name.
- 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 feature is located.
- strand Strand
Strand on which the feature is located.
- start int
Genomic start position of the feature (0-based).
- end int
Genomic end position of the feature (0-based
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.
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
overlaps(chromosome, strand, start, end[, ...])Check if the feature overlaps with a given region.