Giter VIP home page Giter VIP logo

covid_swift_pipeline's Introduction

TAYLOR (Trimming Amplicons You LOve Rapidly)

This pipeline takes gzipped fastq files and outputs .bam files aligned to NC_045512.2 as well as consensus fastas. Notably this pipeline incorporates primerclip, and can handle both Swift and QiaSeq primersets. Without specifying any additional options, default input files are paired-end fastq files that cover the 116-255 bp amplicons produced from the Swift Amplicon SARS-CoV-2 Panel. --SINGLE_END can also be specified for single end reads. This pipeline can also be run without the primerclip option by specifying --NO_CLIPPING for consensus generation of non-Swift or non-QiaSeq SARS-CoV-2 samples.

Installation

  1. Install nextflow.
    • Make sure you move nextflow to a directory in your PATH variable.
  2. Install docker.

Usage

Command Description
--INPUT (Required) Input folder where gzipped fastqs are located. For current directory, ./ can be used.
--OUTDIR (Required) Output folder where .bams and consensus fastas will be piped into.
--SINGLE_END (Optional) Flag to indicate input reads are single end. By default this pipeline expects paired end reads.
--NO_CLIPPING (Optional) Skip primerclip option for shotgun runs.
--SGRNA_COUNT (Optional) Add extra step to count sgRNAs.
--PRIMERS (Optional) Specify which primerset to use (e.g. --PRIMERS qiaseq). Default: Swift V2. Options: qiaseq,artic_v3, artic_v4, artic_v4.1.
--MIN_LEN (Optional) Set minimum length for trimming. Default: 75.
--DOWNSAMPLE (Optional) Downsample to a number or a fraction of reads using seqtk.
-with-docker ubuntu:18.04 (Required) Runs command with Ubuntu docker.
-resume (Recommended) nextflow will pick up where it left off if the previous command was interrupted for some reason.
-with-trace (Recommended) Outputs a trace.txt that shows which processes end up in which work/ directories.
-with-report (Recommended) Outputs a report.html that gives basic stats and work directories for each process.
-latest (Recommended) Pulls the most recent github version.
-profile (Recommended) Picks which profile in nextflow.config to run (e.g. -profile cloud_big). If running on AWS, recommended to run with profile cloud_big and for more memory-intensive runs, with profile cloud_bigger).

Example paired fastqs are provided in the example/ folder. These can be run with the command:

  • Example command for example fastqs: nextflow run greninger-lab/covid_swift_pipeline -r master -latest --INPUT example/ --OUTDIR output/ -with-trace -with-docker ubuntu:18.04

covid_swift_pipeline's People

Contributors

asereewit avatar michellejlin avatar proychou avatar vpeddu avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

covid_swift_pipeline's Issues

Error if no clipping

This line results in an error if --NO_CLIPPING is enabled.

--NO_CLIPPING specified. Skipping primer clipping step...
Unknown method invocation `toUpperCase` on Boolean type

 -- Check script '.nextflow/assets/greninger-lab/covid_swift_pipeline/main.nf' at line: 126 or see '.nextflow.log' file for more details

if (params.PRIMERS.toUpperCase() == "ARTIC_V4.1") {

Combine modules?

(this is just for the iupac-edit branch)
Can we just have a single process to do the pileup and pipe into ivar since we're not really using the pileup output for anything else here?

process GeneratePileup {

coverage bed file

sponsor requests coverage info generated using samtools:
samtools depth -a -H <sorted.bam>

Please implement for the iupac_edit branch

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.