This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
# PyGenes

PyGenes is an on disk searchable gene database for python, implemented in c++ for speed. The current implementation is primarily aimed at providing an interface for ensembl gtf files.

## Usage

Create a pygenes database and load from an ensembl gtf file:

```
gene_models = pygenes.GeneModels()
gene_models.load_ensembl_gtf('tests/Homo_sapiens.NCBI36.54.test.gtf')
```

The database can be serialized to a binary format:

```
gene_models.save_binary('gene_models.binary')

gene_models2 = pygenes.GeneModels()
gene_models2.load_binary('gene_models.binary')
```

Get a gene by gene id:

```
gene = gene_models.get_gene('ENSG00000101596')
```

Find either overlapping or contained genes within a region:

```
gene_models.find_overlapping_genes('18', 2700000, 2800000)
gene_models.find_contained_genes('18', 2700000, 2800000)
```

Calculate the location in the gene as one of 'utr3p', 'coding', 'intron', 'utr5p', 'upstream', 'downstream', 'utr':

```
gene_models.calculate_gene_location('ENSG00000101596', 2792681)
```

Calculate the location in the genome of a position in a transcript:

```
gene_models.calculate_genomic_position('ENST00000320876', 461)
```

Calculate the regions in the genome of a region in a transcript:

```
gene_models.calculate_genomic_regions('ENST00000320876', 461, 796)
```

Release History

Release History

0.0.3

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pygenes-0.0.3.tar.gz (15.1 kB) Copy SHA256 Checksum SHA256 Source Feb 24, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting