Skip to content

Latest commit

 

History

History

phylogenetic

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

nextstrain.org/zika

This is the Nextstrain build for Zika, visible at nextstrain.org/zika.

Software requirements

Follow the standard installation instructions for Nextstrain's suite of software tools.

Usage

If you're unfamiliar with Nextstrain builds, you may want to follow our Running a Pathogen Workflow guide first and then come back here.

The easiest way to run this pathogen build is using the Nextstrain command-line tool from within the phylogenetic/ directory:

cd phylogenetic/
nextstrain build .

Build output goes into the directories data/, results/ and auspice/.

Once you've run the build, you can view the results with:

nextstrain view .

Configuration

Configuration for the workflow takes place entirely within the defaults/config_zika.yaml. The analysis pipeline is contained in Snakefile with included rules. Each rule specifies its file inputs and output and pulls its parameters from the config. There is little redirection and each rule should be able to be reasoned with on its own.

Using GenBank data

This build starts by pulling preprocessed sequence and metadata files from:

The above datasets have been preprocessed and cleaned from GenBank using the ingest/ workflow and are updated at regular intervals.

Using example data

Alternatively, you can run the build using the example data provided in this repository. To run the build by copying the example sequences into the data/ directory, use the following:

nextstrain build .  --configfile build-configs/ci/config.yaml

Deploying build

To run the workflow and automatically deploy the build to nextstrain.org, you will need to have AWS credentials to run the following:

nextstrain build \
    --env AWS_ACCESS_KEY_ID \
    --env AWS_SECRET_ACCESS_KEY \
    . \
        deploy_all \
        --configfile build-configs/nextstrain-automation/config.yaml