Skip to main content

Nextstrain command-line tool

Project description

nextstrain-cli

This is the Nextstrain command-line tool. It aims to provide access to Nextstrain components in a local environment with a minimum of fuss.

You can use it to run a pathogen build which makes use of components like sacra, fauna, and augur or view the results of such a build in our standard viewer, auspice.

Usage

This package provides a nextstrain program which provides access to a few commands. If you've installed this package (nextstrain-cli), you can just run nextstrain. Otherwise, you can run ./bin/nextstrain from a copy of the source code.

usage: nextstrain [-h] {build,view,update,check-setup,version} ...

Nextstrain command-line tool

optional arguments:
  -h, --help            show this help message and exit

commands:
  {build,view,update,check-setup,version}
    build               Run pathogen build
    view                View pathogen build
    update              Updates your local image copy
    check-setup         Tests your local setup
    version             Show version information

For more information on a specific command, you can run it with the --help option, for example, nextstrain build --help.

Installation

This tool is written in Python 3 and requires at least Python 3.5. Currently it is unpublished on PyPi while still in initial development, but you may still install the development version with pip (or pip3) like so:

pip install git+https://github.com/nextstrain/cli

or from a git clone or copy of the source code:

pip install .

If your system has both Python 2 and Python 3 installed side-by-side, you may need to use pip3 instead of pip (which often defaults to pip2).

We plan to publish a package on PyPi soon.

This tool also currently requires Docker. You can download and install the Docker Community Edition (CE) for your platform for free. After doing so, run nextstrain check-setup to ensure it works.

Project details


Release history Release notifications | RSS feed

This version

1.1.3

Download files

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

Source Distribution

nextstrain-cli-1.1.3.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nextstrain_cli-1.1.3-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file nextstrain-cli-1.1.3.tar.gz.

File metadata

File hashes

Hashes for nextstrain-cli-1.1.3.tar.gz
Algorithm Hash digest
SHA256 021b0d79470f2abbeab00bd7ac6ebd0d8a1ae97965ad06b8fd5753f398c86eb9
MD5 a4f68095f95e83c34d7bb1cc4df00d53
BLAKE2b-256 c4d148540f82451b9c77b83c6f1877ea45a68646c623bc818dface770b8e4ffc

See more details on using hashes here.

File details

Details for the file nextstrain_cli-1.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for nextstrain_cli-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d7138927daabc1494a48e1901a5c2bae5e8a93436d34089218a0e9eae00a79d3
MD5 c41db2e2e73485fece303058c5f90291
BLAKE2b-256 988743a6929de746711958e7c23fa4f9bc96092bc7d33d194e191dccccd41c42

See more details on using hashes here.

Supported by

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