Skip to main content

Accessing the Saccharomyces cerevisiae genome from Python

Project description

Build StatusBuild status2CircleCI Coverage StatusDocumentation Status

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.

Project details


Download files

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

Source Distribution

pygenome-1.0.0a18.zip (9.6 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pygenome-1.0.0a18-py3.5.egg (9.5 MB view details)

Uploaded Egg

pygenome-1.0.0a18-py3-none-any.whl (9.5 MB view details)

Uploaded Python 3

File details

Details for the file pygenome-1.0.0a18.zip.

File metadata

  • Download URL: pygenome-1.0.0a18.zip
  • Upload date:
  • Size: 9.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pygenome-1.0.0a18.zip
Algorithm Hash digest
SHA256 08cbc360b7969259ffb9542ba3b181b7cc09c51a1bfcba9a506ce26616bc3982
MD5 2569b9b5038214750fd7ac31a1aa6bb4
BLAKE2b-256 4ddc1873297374dfd8c38d1479552d78993c337556ba69f8254d9b5ee3d30af0

See more details on using hashes here.

File details

Details for the file pygenome-1.0.0a18-py3.5.egg.

File metadata

File hashes

Hashes for pygenome-1.0.0a18-py3.5.egg
Algorithm Hash digest
SHA256 c2326d04094d70f1b6253c7279ed9ffd18a774ad5799f5f49bb2e0f77396651d
MD5 86bce8e35b749cc47e15d023bad072e3
BLAKE2b-256 9ce4749326457d21ead65bdeb2188560f0eaa0f759db8d566e58495c75491b87

See more details on using hashes here.

File details

Details for the file pygenome-1.0.0a18-py3-none-any.whl.

File metadata

File hashes

Hashes for pygenome-1.0.0a18-py3-none-any.whl
Algorithm Hash digest
SHA256 d8ec4b60c8e0acaff4e2098105b90ece7503635789804b70d631e69ba14f499f
MD5 fca1f3ad40361c4c2b3467cbc9e870bf
BLAKE2b-256 c9a81ea0abf8f534589173f6b2ef829811937a66ba5f67360b45cc5a6f6ef724

See more details on using hashes here.

Supported by

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