WA-focused ncov Nexstrain builds for genomic surveillance of SARS-CoV-2 in Washington state. Builds located here:
- Washington-focused SARS-CoV-2 genomic analysis: Past two months
- Washington-focused SARS-CoV-2 genomic analysis: Past four months
- Washington-focused SARS-CoV-2 genomic analysis: Past six months
First, install the ncov nextstrain pipeline and clone the ncov repository using git clone https://github.com/nextstrain/ncov
or gh repo clone nextstrain/ncov
.
Next, clone this repository in the ncov
folder. You can do this in the command-line terminal by navigating to the ncov
repository using cd ncov
and then cloning the repository using git clone https://github.com/DOH-SML1303/wa_sc2.git
or gh repo clone DOH-SML1303/wa_sc2
.
This ncov Nexstrain build sources data from Genbank and inclues a 2m, 4m, and 6m build. Once you have your inputs and have updated the subsampled-background-builds.yaml
with the input location, you can run the pipeline. If you're running Nextstrain in a conda environment then you want to make sure you pull the latest ncov github repository updates first by running git pull
in the ncov
directory, activating the conda environment using conda activate nextstrain
followed by nextstrain update
to update Nextstrain. It's recommended to pull updates prior to running the pipeline. The same could also be said for this repo as well! :)
You can configure your AWS_ACCESS_KEY_ID
and AWS_SECRET_ACCESS_KEY
in your AWS credentials file which can be accessed in terminal using nano ~/.aws/credentials
, or you can simply export the environmental variables upon opening a terminal window using:
export AWS_ACCESS_KEY_ID= export AWS_SECRET_ACCESS_KEY=
If you're running Batch then you need to make sure all of the information is included in your ~/.nextstrain/config
. File. See this documentation for more information.
To run the builds with your data stored in an AWS Bucket, navigate to the ncov
directory and run:
nextstrain build --aws-batch-s3-bucket bucket-name --cpus=6 . --profile wa_sc2/wa_profiles/wa-subsampled-background-genbank
nextstrain build --cpus=6 . --profile wa_sc2/wa_profiles/wa-subsampled-background-genbank
You can check your results once the pipeline is done running using nextstrain view auspice