Git Product home page Git Product logo

nxf-fastqc's Introduction

Build Status Nextflow

nxf-fastqc

A simple pipeline for QC of fastq files, written in nextflow. For a bunch of fastq files in a directory (Illumina PE or SE, Nanopore), run it with:

nextflow run angelovangel/nxf-fastqc --readsdir path/to/fastqfiles/

For Nanopore reads, add -profile ont to the command.

The pipeline executes fastp, saves the filtered files in results-fastp/fastp_trimmed, and generates a MultiQC report (example report). Some more detailed fastq file statistics are provided in an additional html report, using the faster and fastkmers programs (example Illumina, example Nanopore).

For all available pipeline options, try

nextflow run angelovangel/nxf-fastqc --help

If you have conda or docker, you can run the pipeline in a conda environment or in a docker container. Just add -profile conda or -profile docker to the nextflow command:

nextflow run angelovangel/nxf-fastqc --readsdir path/to/fastqfiles/ -profile conda

To run it with the included small test dataset

nextflow run angelovangel/nxf-fastqc -profile test 
# or combine profiles, e.g. -profile test,docker

If you don't have nextflow, go get it!

nxf-fastqc's People

Contributors

angelovangel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

nxf-fastqc's Issues

Get rid of "WARN: Failed to publish file:..."

The multiqc report file is published OK, this message is due to FileAlreadyExistsException. When the pipeline is run for a second time (and multiqc report is already there), no warning. Check script if there is somehow duplication of the published file.

reduce with mergeFastqq fails for Nanopore fastq files

This here:
Reduce( mergeFastqq, mclapply(params$fqfiles, fastqq, k = 3) )

causes this error with Nanopore reads:

Quitting from lines 30-91 (fastq-stats-report.Rmd)
  Error in cbind(lhs@seqLenCount, rhs@seqLenCount) :
    number of rows of matrices must match (see arg 2)
  Calls: <Anonymous> ... withVisible -> eval -> eval -> Reduce -> f -> f -> cbind

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.