gcell.rna.gtf.GTF

Contents

gcell.rna.gtf.GTF#

class gcell.rna.gtf.GTF(gtf_path, exclude_chrs=['chrM', 'chrY'])[source]#

Base class for handling GTF annotation files

Methods

get_exp_feather(peaks[, extend_bp])

Get the expression data for the given peaks.

get_gene(gene_name)

Get a Gene object for the given gene name.

get_gene_id(gene_id)

Get a Gene object for the given gene ID.

get_genebodies([gene_names])

Get the gene bodies for the given gene names.

get_genes(gene_names)

Get a list of Gene objects for the given gene names.

query_region(chrom, start, end[, strand])

Query the GTF for regions matching the given parameters.