Python package to quickly download genomes from the UCSC.
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbb65019368018de1eedd5adc13fca52ece6897c2374b3f88b5e79cfa40ac528
|
|
| MD5 |
e192b9b37f008b4cb0cf2b4603a377c8
|
|
| BLAKE2b-256 |
0c03e50a02260980b0abb7da27343866ab2a141a811ea95ed68614294203c6ef
|