Skip to main content

Fast Parser for Ensembl formated GTF Files to Pandas DataFrames

Project description

mbf_gtf

Possibly the fastes Ensembl-GTF parser around (reads the 1GB human GTF in about 10s on my system).

Usage: mbf_gtf.parse_ensembl_gtf(filename, []) -> A dict of DataFrames

The second parameter may be a list of 'features' to retrieve - getting just a subset can greatly improve performance.

Note that this is very ensembl specific, it does not deal with any other GTF format, and that it throws away attributes that are repeated on the sub elements - ie. exons have only gene_id, not gene_name, gene_version, gene_....

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

mbf_gtf-0.1.3-cp37-cp37m-manylinux1_x86_64.whl (170.4 kB view hashes)

Uploaded CPython 3.7m

mbf_gtf-0.1.3-cp36-cp36m-manylinux1_x86_64.whl (170.4 kB view hashes)

Uploaded CPython 3.6m

mbf_gtf-0.1.3-cp27-cp27mu-manylinux1_x86_64.whl (172.7 kB view hashes)

Uploaded CPython 2.7mu

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page