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 details)

Uploaded Source

File details

Details for the file ucsc_genomes_downloader-1.0.0.tar.gz.

File metadata

  • Download URL: ucsc_genomes_downloader-1.0.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.13.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for ucsc_genomes_downloader-1.0.0.tar.gz
Algorithm Hash digest
SHA256 cbb65019368018de1eedd5adc13fca52ece6897c2374b3f88b5e79cfa40ac528
MD5 e192b9b37f008b4cb0cf2b4603a377c8
BLAKE2b-256 0c03e50a02260980b0abb7da27343866ab2a141a811ea95ed68614294203c6ef

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