Code Monkey home page Code Monkey logo

nf-havoc's Introduction

nf-HAVoC (Helsinki university Analyzer for Variants of Concern)

Description

nf-HAVoC is a bioinformatic pipeline designed to provide an accessible tool for constructing consensus sequences from SARS-CoV-2 FASTQ files and identifying the variants they belong to. The pipeline is an implementation of HAVoC (DOI: https://doi.org/10.1186/s12859-021-04294-2) and built on Nextflow, a workflow tool to run tasks across multiple compute infrastructures in a very portable manner. It uses Docker/Singularity containers making installation trivial and results highly reproducible.

Pipeline summary

nf-HAVoC can be run to analyze FASTQ files within a directory/

The target directory must contain matching FASTQ files for forward (R1) and reverse (R2) reads, which can be either gzipped (*.fastq.gz) or uncompressed (*.fastq).

The following options can be changed as commandline options depending on your preferences:

Option Input Function
prepro fastp* or trimmomatic Tool for pre-processing FASTQ files.
aligner bowtie or bwa* Tool for aligning reads.
sam sambamba* or samtools Tool for SAM/BAM processing
coverage Number (30*) Minimum coverage for masking regions in consensus sequence.
pangolin yes* or no Run Pangolin for lineage identification.

* By default.

Only one tool can be utilized per option.

Quick Start

  1. Install Nextflow (>=20.10.0)

  2. Install any of Docker

  3. Download test data and adapter and reference files

  4. Download the pipeline and test it on a minimal dataset with a single command:

    nextflow run microsoft/nf-HAVoC -profile local --nextera 'path/to/NexteraPE-PE.fa' --ref path/to/ref.fa' --reads 'path/to/fastq/*R{1,2}*fastq.gz' =
  5. Start running your own analysis on Azure.

Azure Batch Setup

Please refer to the Nextflow documentation which describe how to setup the Azure Batch environment.

```console
 nextflow run microsoft/nf-HAVoC -profile azure --nextera 'az://coantiner/NexteraPE-PE.fa' --ref 'az://container/ref.fa' --reads 'az://container/*R{1,2}*fastq.gz' -w 'az://conatiner/work'
```

* Azure speicifcs can be changed in the config locally or provided as commandline options*

Credits

These scripts were originally found Original Code. For more information visit Webpage Helsinki university Analyzer for Variants of Concern.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Copyright

Copyright (C) 2022 Microsoft Corporation.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow

nf-havoc's People

Contributors

microsoft-github-operations[bot] avatar microsoftopensource avatar vsmalladi avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

vsmalladi

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.