This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Accessing the Saccharomyces cerevisiae genome from Python

Project Description

Pygenome provide access to the Saccharomyces cerevisiae genome from Python. Genes, promoters, terminators, and intergenic, sequences as well as the deletion loci created by the genome wide deletion project are available by their systematic names (like YPR080w) or by standard name (like CYC1). DNA sequences are returned as Biopython SeqRecord objects.

Typical usage at the IPython command line could look like this:

from pygenome import sg

sg.gene["TEF1"]
Out[2]: yeast gene YPR080W

sg.gene["TEF1"].cds
Out[3]: SeqRecord(seq=Seq('ATGGGTAAAGAGAAGTCTCACATTAACGTTGTCGTTATCGGTCATGTCGATTCT...TAA',
        IUPACAmbiguousDNA()), id='BK006949.2', name='BK006949', description='BK006949 REGION: 700594..701970', dbxrefs=[])

sg.gene["TEF1"].locus()
Out[4]: SeqRecord(seq=Seq('CTTCATCGGTATCTTCGCTATATTCTTTTTAGTCGAATTTGCGGGGAGAAGATG...AAC',
        IUPACAmbiguousDNA()), id='BK006949.2', name='BK006949', description='BK006949 REGION: 699594..702970', dbxrefs=[])

sg.gene["TEF1"].promoter
Out[5]: SeqRecord(seq=Seq('ACAATGCATACTTTGTACGTTCAAAATACAATGCAGTAGATATATTTATGCATA...AAA',
        IUPACAmbiguousDNA()), id='YPR079W_YPR080W', name='.', description='BK006949 REGION: 700015..700593', dbxrefs=[])

sg.gene["TEF1"].deletion_locus
Out[6]: 'No deletion primers available!'


Out[7]: SeqRecord(seq=Seq('GAGGCACCAGCGTCAGCATTTTCAAAGGTGTGTTCTTCGTCAGACATGTTTTAG...GTG',
        IUPACAmbiguousDNA()), id='yjr048w::KanMX4 locus with 1000 bp up and 1000 bp downstream DNA',
        name='yjr048w::KanMX4', description='<unknown description>', dbxrefs=[])
ver date comment
1.0.0 2017- ?
0.9.5 2017-01-01 Python 3 release
0.9.0 2015-05-01 Changed interface to a more object oriented style
0.5.0 2015-03-03 Documentation, automatic build, test and deployment
0.0.6 2014-06-17 Bugfix
0.0.5 2014-06-14 Simpler api (see example above)
0.0.1 2013-08-01 first release

Installation using conda on Anaconda

The absolutely best way of installing and using pygenome is to use the free Anaconda or Miniconda python distributions.

Anaconda is a large download (about 400 Mb) while Miniconda is about 40-50 Mb.

Once Anaconda (or Miniconda) is installed, the conda package manager can be used to install pygenome from the BjornFJohansson package channel.

The first step is to add the channel by typing the command below followed by return:

conda config --append channels BjornFJohansson

Then pygenome can be installed by typing the command below followed by return:

conda install pygenome

This works on Windows, MacOSX and Linux, and installs all necessary dependencies automatically.

Requirements

Install with pip

The second best way of installing pygenome is by using pip

sudo pip install pygenome

Source Code Repository

pydna source code is hosted on Github.

Release History

Release History

This version
History Node

1.0.0

History Node

1.0.0a18

History Node

1.0.0a17

History Node

1.0.0a16

History Node

1.0.0a15

History Node

1.0.0a14

History Node

1.0.0a12

History Node

1.0.0a11

History Node

1.0.0a10

History Node

0.9.5

History Node

0.9.0

History Node

0.5.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pygenome-1.0.0-py3.5.egg (9.5 MB) Copy SHA256 Checksum SHA256 3.5 Egg Mar 24, 2017
pygenome-1.0.0-py3-none-any.whl (9.5 MB) Copy SHA256 Checksum SHA256 py3 Wheel Mar 24, 2017
pygenome-1.0.0.zip (9.6 MB) Copy SHA256 Checksum SHA256 Source Mar 24, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS 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