Skip to main content

Python package to quickly download genomes from the UCSC.

Project description

travis sonar_quality sonar_maintainability sonar_coverage Maintainability pip

Python package to quickly download genomes from the UCSC.

How do I get this?

As usual, just download it from pip:

pip install ucsc_genomes_downloader

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.

Source Distribution

ucsc_genomes_downloader-1.0.0.tar.gz (4.4 kB view hashes)

Uploaded Source

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