Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Download genome files from NCBI by accession.

Project description

A partner script to the popular ncbi-genome-download
script, ncbi-acc-download allows you to download sequences from GenBank/RefSeq by accession through
the NCBI ENTREZ API.

Installation

pip install ncbi-acc-download

Alternatively, clone this repository from GitHub, then run (in a python virtual environment)

pip install .

If this fails on older versions of Python, try updating your pip tool first:

pip install --upgrade pip

and then rerun the ncbi-acc-download install.

ncbi-acc-download is only developed and tested on Python releases still under active
support by the Python project. At the moment, this means versions 2.7, 3.3, 3.4, 3.5 and 3.6.
Specifically, no attempt at testing under Python versions older than 2.7 or 3.3 is being made.
If your system is stuck on an older version of Python, consider using a tool like
Homebrew or Linuxbrew to obtain a more up-to-date
version.

Usage

To download a record AB_12345 in GenBank format, run

ncbi-acc-download AB_12345

To get an overview of all options, run

ncbi-acc-download --help

License

All code is available under the Apache License version 2, see the
`LICENSE <LICENSE>`__ file for details.

Project details


Release history Release notifications

This version
History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
ncbi_acc_download-0.1.0-py2.py3-none-any.whl (6.4 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Sep 12, 2017
ncbi-acc-download-0.1.0.tar.gz (4.4 kB) Copy SHA256 hash SHA256 Source None Sep 12, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page