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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file get-some-ncbi-genomes-0.2.tar.gz.

File metadata

  • Download URL: get-some-ncbi-genomes-0.2.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for get-some-ncbi-genomes-0.2.tar.gz
Algorithm Hash digest
SHA256 9c98b95f69115cfca217e10d7ba782a7f3c207d986e69e9ffd7c8a7e5acecb6f
MD5 d62461d0bbd4a62f433c27d02e515979
BLAKE2b-256 a87ab652c91fe4cfbe1edbe5be4122dd69f3cae7fe069614a8d6c751bb3dcd3e

See more details on using hashes here.

File details

Details for the file get_some_ncbi_genomes-0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for get_some_ncbi_genomes-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 27d699b158915f579c1ae35ed7fdbe347ca49886f5ea379ef6a698701ed89e88
MD5 f9564031d7612eb750a069454352fa57
BLAKE2b-256 fe2c8ada771bbe93d283c45910c469b759201096431487375408b82a961221da

See more details on using hashes here.

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