Sign inSign up

ontresearch/artic_rampart

By ontresearch

•Updated over 6 years ago

Image containing the ARTIC Rampart workflow and nCoV-2019 configuration

Image
0

5.1K

ontresearch/artic_rampart repository overview

⁠Preamble

The ARTIC network⁠ has provided bioinformatics resources and best-practise documents for the bioinformatics analysis of nCoV-2019-like⁠ viral sequences. These resources are publicly available but installation requires experience with approaches to bioinformatics software that includes:

  1. Cloning source repositories from github.com
  2. Installing CONDA environments
  3. Activating CONDA environments and running multi-step workflows

To support efforts in the sequencing and characterisation of nCoV-2019 viral genomes the ARTIC-Rampart software has been packaged for distribution and installation on the GridION device (this container may also work on other systems but this has not been tested).

The software has been packaged as a docker container - the software bundled in the container includes the packages required by the ARTIC Rampart⁠ software for the real-time characterisation of potential nCoV-2019 -like DNA sequences.

⁠Installation of the Rampart software container

The artic_rampart resources at https://hub.docker.com/⁠ include a Manifest and the docker image may be downloaded for installation on devices running AMD64 Linux (GridION) or ARM64v8 Linux (MinIT). Please ensure that you have Docker installed on your system (first).

docker pull ontresearch/artic_rampart:latest

The installation may take a couple of minutes. This installation method needs to be repeated with each release of the Rampart docker container - updates will be provided as additional reference genomes and context become available - and as updated accompanying tools are released.

⁠Updating the Rampart software container

There are now several versions of the ARTIC-Rampart container available on this page. Please ensure that you are running the latest version for access to the latest functionality. You can ensure that you are running the latest version of the container by typing in your terminal

docker pull ontresearch/artic_rampart:latest

⁠Running the Rampart software

Please changed to a suitable directory on the /data drive (or other locations with access to base-called sequence data) - the workflow is intended to be run from a sequencing folder that contains a sub-directory of pass files in FASTQ format (the current workflow does not work with gzipped FASTQ).

docker run -it -e LOCAL_USER_ID=`id -u $USER` --mount type=bind,source="$(pwd)",target=/data -p 3000:3000 -p 3001:3001 ontresearch/artic_rampart:latest

The text below describes what each of the parameters mean

  • docker run -it - is a request to run a docker container interactively and with a TTY like terminal connection. This means that we can see what the docker container is doing and can stop the docker processes with e.g. a CTRL-C command
  • -e LOCAL_USER_ID=`id -u $USER` (please note the back-ticks in the command) sets an environment variable in the Docker container. This corresponds to the current user's UID and allows for the container to write results to the current folder without chmod changes.
  • --mount type=bind,source="$(pwd)",target=/data is the specification for us to access the current working directory within the Docker container. This means that Rampart inside the container can read and write files that are stored outside of the container - important.
  • -p 3000:3000 -p 3001:3001 are the instructions to provide linkage between computer ports 3000 and 3001 between the host and the container. This allows for us to view the web-applications running inside the container.
  • ontresearch/artic_rampart:latest is the name of the container that we are running. This document should be current with the latest version.

The Docker container will load and will automatically start analysing the DNA sequences within the pass folder. The results from the analysis will be written to a new directory called annotations.

The Rampart software starts a webserver to present the dynamically updated results. As soon as the software has started please browser to

http://localhost:3000⁠

For more information on the Rampart software please see the documentation at https://github.com/artic-network/rampart⁠

⁠CHANGELOG

09/07/2020 -- v0.1.4

  • Update to docker container to reflect bump to ARTIC Rampart v1.2.0
  • additional startup logic where the required (and not preexisting) pass folder will be symbolically linked from the fastq_pass folder if possible

01/04/2020 -- v0.1.3

  • Updated docker container to reflect bump to ARTIC Rampart 0.1.1
  • Vignette on hub.docker.com updated to use artic_rampart:latest rather than arbitrary container versions
  • Added instruction for updating pre-existing ARTIC-rampart containers

30/03/2020 -- v0.1.2

  • update to launching shell script to accommodate arbitrary port assignments as requested by @SamStudio8

Tag summary

Content type

Image

Digest

Size

719.9 MB

Last updated

over 6 years ago

docker pull ontresearch/artic_rampart