Python package to quickly download genomes from the UCSC.
Project description
Python package to quickly download and work with 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:
Usage examples
Simply instanziate a new genome
from ucsc_genomes_downloader import Genome
hg19 = Genome("hg19")
Downloading selected chromosomes
from ucsc_genomes_downloader import Genome
hg19 = Genome("hg19", chromosomes=["chr1", "chr2"])
Getting gaps regions
all_gaps = hg19.gaps() # Returns gaps for all chromosomes
# Returns gaps for chromosome chrM
chrM_gaps = hg19.gaps(chromosomes=["chrM"])
Getting filled regions
all_filled = hg19.filled() # Returns filled for all chromosomes
# Returns filled for chromosome chrM
chrM_filled = hg19.filled(chromosomes=["chrM"])
Removing genome’s cache
hg19.delete()
Utilities
Retrieving a list of the available genomes
You can get a complete list of the genomes available from the UCSC website with the following method:
from ucsc_genomes_downloader import get_available_genomes
all_genomes = get_available_genomes()
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
Close
Hashes for ucsc_genomes_downloader-1.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | be380459db42a2339ef69d864bb3f2e247fa4d3828f8fa4aed0cd25f0f85c4eb |
|
MD5 | 38e7b5e04183672c0332afc9685313a5 |
|
BLAKE2b-256 | 17a60aff79334ae7ad77da9616f0e241c1ac4094e181413225221f3f41a190f6 |