Installation#

Stable release#

To install pysradb, run this command in your terminal:

$ pip install pysradb

This is the preferred method to install pysradb, as it will always install the most recent stable release.

If you don’t have pip installed, this Python installation guide can guide you through the process.

Alternatively, you may use conda:

conda install -c bioconda pysradb

This step will install all the dependencies except aspera-client (which is not required, but highly recommended). If you have an existing environment with a lot of pre-installed packages, conda might be slow. Please consider creating a new enviroment for pysradb:

conda create -c bioconda -n pysradb PYTHON=3 pysradb

From sources#

The source files for pysradb can be downloaded from the Github repo.

You can either clone the public repository:

$ git clone git://github.com/saketkc/pysradb

Or download the tarball:

$ curl  -OL https://github.com/saketkc/pysradb/tarball/master

Once you have a copy of the source, you can install it with:

$ python setup.py install