Skip to content

Compatability with Gencode GTF #168

Description

@GuyAllard

Hi,

I am trying to use pyensembl with the GTF for Gencode v19 as I find the pyensembl interface easy to work with, but I need a more highly curated set of transcripts than the ensembl data.

I am using the Gencode v19 GTF downloaded from ftp://ftp.sanger.ac.uk/pub/gencode/Gencode_human/release_19/gencode.v19.annotation.gtf.gz
Pyensembl imports the data without error and creates the sqlite databases.
The problem I am encountering is that certain loci are present twice in the file, due to their location in a genomic region common to both the X and Y chromosomes. The result of this is that the file contains multiple exons with the same exon_id but different coordinates. When trying to retrieve these exons, pyensembl chokes because these exon_ids are not unique.

Is there a way to overcome this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions