Skip to main content

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


Download files

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

Source Distribution

ncbi-acc-download-0.1.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

ncbi_acc_download-0.1.0-py2.py3-none-any.whl (6.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file ncbi-acc-download-0.1.0.tar.gz.

File metadata

File hashes

Hashes for ncbi-acc-download-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cfa3d1e02599eeda0afbdbaee484c8cf9a48bf7f050b29e85dc3c90204b406b3
MD5 538200e76aab6e9bb571f3eadb045683
BLAKE2b-256 c19bde3acc6a05d80fc4e2f500c144a6a94ac598ba5e59db69c5e825b372187b

See more details on using hashes here.

File details

Details for the file ncbi_acc_download-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for ncbi_acc_download-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a29e318183617e6749cc717b0580aca12c9bac8fd61613af9f4ad16b7915561b
MD5 562a22b720e936155fefdb37ea858173
BLAKE2b-256 3e0e776eacf4c76e6f85804f779e5b22cd62b11812c571c98fd33311686a1373

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page