Classifiers

pygenomes (formally named pygenomes) is a Python module and also a command-
line tool for downloading genome data from UCSC ftp site.

Using this tool you can easily check available taxa or available groups of
taxa by simply typing the name of the tool or add -g flag with a group
name.

Download genome or chromosome data with this tool also very simple. You can
download data by using commom name, scientific name, or even specific assembly
name (e.g. human, Homo sapiens, hg38).

If there is available data in the ftp site, you also can downlaod data via
interactive mode, which will allow you to choose specific genome assembly.To
do this, you only need to assign a True value for assembly, then according to
the available list prompted to you simply input the interested assembly.

The tool only tested on Python2.7, may not work on python3.

Features

Install a Python module named pygenomes.py

Install a Python command-line script named pygenomes

Easily check available taxa and genomes in commend-line

Simply download genomes via comman, scientific, or assembly name

Using interactive mode, simply download specific assembly genome

Easily download genome and chromosome in specific file format

Pure Python module and without any third-party dependence

Examples

You can use pygenomes as a Python module e.g. like in the following
interactive Python session (the function’s signature might still change
a bit in the future):