Coder Social home page Coder Social logo

jmtcsngr / ncov2019-artic-nf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wtsi-team112/ncov2019-artic-nf

0.0 2.0 0.0 35 KB

A Nextflow pipeline for running the ARTIC network's fieldbioinformatics tools (https://github.com/artic-network/fieldbioinformatics), with a focus on ncov2019 - adapted to run at the Wellcome Sanger Institute

Dockerfile 2.22% Nextflow 96.03% Shell 1.75%

ncov2019-artic-nf's Introduction

ncov2019-artic-nf

A Nextflow pipeline for running the ARTIC network's fieldbioinformatics tools (https://github.com/artic-network/fieldbioinformatics), with a focus on ncov2019

WARNING - THIS REPO IS UNDER ACTIVE DEVELOPMENT AND ITS BEHAVIOUR MAY CHANGE AT ANY TIME.

PLEASE ENSURE THAT YOU READ BOTH THE README AND THE CONFIG FILE AND UNDERSTAND THE EFFECT OF THE OPTIONS ON YOUR DATA!

Introduction


This Nextflow pipeline automates the ARTIC network nCoV-2019 novel coronavirus bioinformatics protocol. It is being developed to aid the harmonisation of the analysis of sequencing data generated by the COG-UK project. It will turn SARS-COV2 sequencing data (Illumina or Nanopore) into consensus sequences and provide other helpful outputs to assist the project's sequencing centres with submitting data.

Quick-start

nextflow run connor-lab/ncov2019-artic-nf [-profile conda,singularity,docker,slurm] [--minimap] [--barcode] --directory /path/to/reads --illumina OR --nanopolish OR --medaka

Installation

An up-to-date version of Nextflow is required because the pipeline is written in DSL2. Following the instructions at https://www.nextflow.io/ to download and install Nextflow should get you a recent-enough version.

Containers

This repo contains both Singularity and Dockerfiles. You can build the Singularity containers locally by running scripts/build_singularity_containers.sh and use them with -profile singularity The containers will be available from Docker/Singularityhub shortly.

Conda

The repo contains a environment.yml files which automatically build the correct conda env if -profile conda is specifed in the command. Although you'll need conda installed, this is probably the easiest way to run this pipeline.

Executors

By default, the pipeline just runs on the local machine. You can specify -profile slurm to use a SLURM cluster.

Profiles

You can use multiple profiles at once, separating them with a comma. This is described in the Nextflow documentation

Config

Configuration options are set in conf/base.config. They are described and set to sensible defaults (as suggested in the nCoV-2019 novel coronavirus bioinformatics protocol)

Options

The only required option is --directory, which should point to either:

  • Nanopore run output directory
  • Illumima sequencing run output directory

Set output directory with --outdir

Use --minimap to swap to minimap for mapping (nanopore only) and --barcode if you ran with barcodes (nanopore only)

Workflows
Nanopore

Use --nanopolish or --medaka to run these workflows. If your sequencing run was barcoded, use --barcode to run demultiplexing with porechop via artic demultiplex. Use --directory to specify the nanopore output directory, usually coded something like: <date>_<time>_<position>_<flowcell>_<ID_STRING>.

Illumina

The Illumina workflow leans heavily on the excellent ivar for primer trimming and consensus making. This workflow will be updated to follow ivar, as its also in very active development! Use --illumina to run the Illumina workflow. Use --directory to point to an Illumina output directory usually coded something like: <date>_<machine_id>_<run_no>_<some_zeros>_<flowcell>. The workflow will recursively grab all fastq files under this directory, so be sure that what you want is in there, and what you don't, isn't!

Important config options are:

Option Description
allowNoprimer Allow reads that don't have primer sequence? Ligation prep = false, nextera = true
illuminaKeepLen Length of illumina reads to keep after primer trimming
illuminaQualThreshold Sliding window quality threshold for keeping reads after primer trimming (illumina)
mpileupDepth Mpileup depth for ivar
ivarFreqThreshold ivar frequency threshold for variant
ivarMinDepth Minimum coverage depth to call variant

ncov2019-artic-nf's People

Contributors

jonkeatley112 avatar m-bull avatar roamato avatar sb10 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.