tidesurf.transcript.GenomicFeature

Contents

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: object

A 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

Chromosome on which the feature is located.

end

Genomic end position of the feature (0-based).

gene_id

ID of the corresponding gene.

gene_name

Name of the corresponding gene.

start

Genomic start position of the feature (0-based).

strand

Strand on which the feature is located.

transcript_id

ID of the corresponding transcript.

transcript_name

Name of the corresponding transcript.

Methods

overlaps(chromosome, strand, start, end[, ...])

Check if the feature overlaps with a given region.