Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Python package to quickly download genomes from the UCSC.

Project description

Travis CI build SonarCloud Quality SonarCloud Maintainability Codacy Maintainability Maintainability Pypi project Pypi total project downloads

Python package to quickly download genomes from the UCSC.

How do I install this package?

As usual, just download it using pip:

pip install ucsc_genomes_downloader

Tests Coverage

Since some software handling coverages sometime get slightly different results, here’s three of them:

Coveralls Coverage SonarCloud Coverage Code Climate Coverate

Usage example

Suppose you want to download the genome _hg19:

from ucsc_genomes_downloader image download_genome
download_genome("hg19")

There are a couple options, here’s a more complete example:

from ucsc_genomes_downloader image download_genome
download_genome(
    genome="hg19",
    path=".", # The path where to save the genome, by default the current directory.
    chromosomes=["chr19"], # List of chromosomes to download. By default, all.
    cache_dir=".genome", # The path where to store the download cache.
    clear_cache=True # Whetever to delete the download cache, by default True.
)

Project details


Download files

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

Files for ucsc-genomes-downloader, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size ucsc_genomes_downloader-1.0.1.tar.gz (4.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page