Skip to content

Commit

Permalink
add profile for ont reads
Browse files Browse the repository at this point in the history
  • Loading branch information
angelovangel committed Mar 14, 2021
1 parent ecb42cb commit 4ef83d8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@
[![Nextflow](https://img.shields.io/badge/nextflow-%E2%89%A519.08.0-brightgreen.svg)](https://www.nextflow.io/)


# nextflow-fastp
# nxf-fastqc
A simple fastp-MultiQC pipeline, written in [nextflow](https://www.nextflow.io/).
For a bunch of fastq files in a directory (PE or SE), run it with:
For a bunch of fastq files in a directory (Illumina PE or SE, Nanopore), run it with:

```
nextflow run angelovangel/nextflow-fastp --readsdir path/to/fastqfiles/
```

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

The pipeline executes [fastp](https://github.com/OpenGene/fastp), saves the filtered files in `results-fastp/fastp_trimmed`, and generates a [MultiQC](https://multiqc.info/) report. That's it!

For all available options, try
Expand Down
11 changes: 11 additions & 0 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,15 @@ profiles {
params.readsdir = "$baseDir/testdata/"
}

test_ont{
params.readsdir = "$baseDir/testdata-ont/"
params.ontreads = true
params.fqpattern = "*.fastq"
}

ont{
params.ontreads = true
params.fqpattern = "*.fastq"
}

}

0 comments on commit 4ef83d8

Please sign in to comment.