GithubHelp home page GithubHelp logo

joon-klaps / viralgenie Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 1.0 56.17 MB

Detect iSNV and construct whole viral genomes from metagenomic samples

Home Page: https://joon-klaps.github.io/viralgenie/

License: MIT License

HTML 0.83% Python 31.55% Nextflow 60.21% Groovy 7.41%
epidemiology fastq nextflow ngs virology virus-genomes viral-metagenomics

viralgenie's Introduction

nf-core/viralgenie

Nextflow run with conda run with docker run with singularity Launch on Nextflow Tower

GitHub Actions CI Status GitHub Actions Linting Status

Tip

Make sure to checkout the viralgenie website for more elaborate documentation!

Introduction

Viralgenie is a bioinformatics best-practice analysis pipeline for reconstructing consensus genomes and to identify intra-host variants from metagenomic sequencing data or enriched based sequencing data like hybrid capture.

Pipeline summary

viralgenie-workflow

  1. Read QC (FastQC)
  2. Performs optional read pre-processing
  3. Metagenomic diveristy mapping
    • Performs taxonomic classification and/or profiling using one or more of:
    • Plotting Kraken2 and Kaiju (Krona)
  4. Denovo assembly (SPAdes, TRINITY, megahit), combine contigs.
  5. [Optional] extend the contigs with sspace_basic
  6. Contig reference idententification (blastn)
    • Identify top 5 blast hits
    • Merge blast hit and all contigs of a sample
  7. [Optional] Precluster contigs based on taxonomy
    • Identify taxonomy Kraken2 and\or Kaiju
    • Resolve potential inconsistencies in taxonomy & taxon filtering | simplification bin/extract_precluster.py
  8. Cluster contigs (or every taxonomic bin) of samples, options are:
  9. Scaffolding of contigs to centroid (Minimap2, iVar-consensus)
  10. [Optional] Annotate 0-depth regions with external reference bin/lowcov_to_reference.py.
  11. [Optional] Select best reference from --mapping_constrains:
  12. Mapping filtered reads to supercontig and mapping constrains(BowTie2,BWAmem2 and BWA)
  13. [Optional] Deduplicate reads (Picard or if UMI's are used UMI-tools)
  14. Variant calling and filtering (BCFTools,iVar)
  15. Create consensus genome (BCFTools,iVar)
  16. Repeat step 12-15 multiple times for the denovo contig route
  17. Consensus evaluation and annotation (QUAST,CheckV,blastn, mmseqs-search)
  18. Result summary visualisation for raw read, alignment, assembly, variant calling and consensus calling results (MultiQC)

Usage

!!! Note If you are new to Nextflow and nf-core, please refer to this page on how to set-up Nextflow. Make sure to test your setup with -profile test before running the workflow on actual data.

Now, you can run the pipeline using:

nextflow run Joon-Klaps/viralgenie \
   -profile <docker/singularity/.../institute> \
   --input samplesheet.csv \
   --outdir <OUTDIR>

!!! Warning Please provide pipeline parameters via the CLI or Nextflow -params-file option. Custom config files including those provided by the -c Nextflow option can be used to provide any configuration except for parameters; see docs.

For more details and further functionality, please refer to the usage documentation and the parameter documentation.

Credits

Viralgenie was originally written by Joon-Klaps.

We thank the following people for their extensive assistance in the development of this pipeline:

Contributions and Support

If you would like to contribute to this pipeline, please see the contributing guidelines.

Citations

An extensive list of references for the tools used by the pipeline can be found in the CITATIONS.md file.

You can cite the nf-core publication as follows:

The nf-core framework for community-curated bioinformatics pipelines.

Philip Ewels, Alexander Peltzer, Sven Fillinger, Harshil Patel, Johannes Alneberg, Andreas Wilm, Maxime Ulysse Garcia, Paolo Di Tommaso & Sven Nahnsen.

Nat Biotechnol. 2020 Feb 13. doi: 10.1038/s41587-020-0439-x.

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.