Skip to main content

download one or more NCBI genomes by accession

Project description

get-some-ncbi-genomes

Installation

pip install get-some-ncbi-genomes

Usage

Download one or more NCBI genomes, given accession.

Build a CSV file containing download info:

get-some-ncbi-genomes GCA_002440745.1 --csv xyz.csv

Download the genome files directly:

get-some-ncbi-genomes --output-dir genomes/ --download-genomes GCA_002440745.1

Use the sourmash plugin to download genome files and make an info.csv:

sourmash scripts get-genomes GCA_002440745.1

Support

We suggest filing issues in the main sourmash issue tracker as that receives more attention!

Dev docs

get-some-ncbi-genomes is developed at https://github.com/ctb/get-some-ncbi-genomes/

Testing

Run:

pytest tests

Generating a release

Bump version number in pyproject.toml and push.

Make a new release on github.

Then pull, and:

python -m build

followed by twine upload dist/....

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

get-some-ncbi-genomes-0.2.tar.gz (5.4 kB view hashes)

Uploaded Source

Built Distribution

get_some_ncbi_genomes-0.2-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

Supported by

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