gcell.rna.gene.GeneExp.genomic_range

gcell.rna.gene.GeneExp.genomic_range#

property GeneExp.genomic_range: tuple[str, int, int, str][source]#

Get the genomic range of the gene (start, end coordinates).

Uses the full gene body coordinates from the original GTF. Requires gene_start and gene_end to be provided during Gene initialization.

Returns:

tuple[str, int, int, str] (chromosome, start, end, strand)

Raises:

ValueError – If gene_start or gene_end are not available.