Metadata-Version: 2.0
Name: ncbi-acc-download
Version: 0.1.0
Summary: Download genome files from NCBI by accession.
Home-page: https://github.com/kblin/ncbi-acc-download/
Author: Kai Blin
Author-email: kblin@biosustain.dtu.dk
License: Apache Software License
Description-Content-Type: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Requires-Dist: pyOpenSSL; python_version < '2.7.9' or python_full_version in '2.7.0 2.7.1 2.7.2 2.7.3 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8'
Requires-Dist: requests >= 2.4.3

NCBI accession download script
==============================

| A partner script to the popular
  `ncbi-genome-download <https://github.com/kblin/ncbi-genome-download>`__
| script, ``ncbi-acc-download`` allows you to download sequences from
  GenBank/RefSeq by accession through
| the NCBI `ENTREZ
  API <https://www.ncbi.nlm.nih.gov/books/NBK184582/>`__.

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 <http://brew.sh>`__ or `Linuxbrew <http://linuxbrew.sh>`__
  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.


