Giter VIP home page Giter VIP logo

kraken2_illumina's Introduction

kraken2

metashot/kraken2 is a workflow for the taxonomic classification of reads and the abundance estimation of species in metagenomic samples.

Main features

  • Input: single-end, paired-end (also interleaved) Illumina sequences (gzip and bzip2 compressed FASTA or FASTQ also supported);
  • Histogram text files (for each input sample) of base frequency, quality scores, GC content, average quality and length are generated from input reads using bbduk;
  • Taxonomic classification using Kraken 2;
  • Abundance estimation for each taxonomic level using Bracken.

Quick start

  1. Install Docker (or Singulariry) and Nextflow (see Dependences);
  2. Download and extract/unzip a Kraken 2 / Bracken database available at https://benlangmead.github.io/aws-indexes/k2;
  3. Start running the analysis:
nextflow run metashot/kraken2 \
  --reads '*_R{1,2}.fastq.gz' \
  --kraken2_db k2db \
  --read_len 100 \
  --outdir results

Parameters

See the file nextflow.config for the complete list of parameters.

Output

The files and directories listed below will be created in the results directory after the pipeline has finished.

Main outputs

  • combined.kraken2.report: combined kraken2 report;
  • combined.kraken2.mpa: combined kraken2 report in mpa (MetaPhlAn) format;
  • combined_bracken: contains the combined bracken outputs (one file for each taxonomic level, from Domain D to Species S);
  • combine_bracken_reports: same as combined_bracken but in kraken2 report format;
  • combine_bracken_mpa: same as combined_bracken but in mpa (MetaPhlAn) format;

Secondary outputs

  • raw_reads_stats: base frequency, quality scores, gc content, average quality and length for each input sample;
  • kraken2: kraken2 output for each sample.
  • bracken: bracken output for each taxonomic level (from Domain D to Species S) for each sample.

Memory requirements

Kraken 2 requires enough free memory to hold the index in RAM. If the index size is 47 GB (standard database, 2020/09/19) you will need slightly more than that free in RAM (set the --max_memory parameter to 64.GB).

Please refer to System requirements for the complete list of system requirements options.

kraken2_illumina's People

Contributors

davidealbanese 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.