fix fastp to allow exporting of only *.merged.fastq.gz (#1325)

* fix: remove left-over unnecessary code

* Update main.nf

* Update meta.yml
This commit is contained in:
James A. Fellows Yates 2022-02-18 15:38:05 +01:00 committed by GitHub
parent e31f1ff3b1
commit d0a1cbb703
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -13,7 +13,7 @@ process FASTP {
val save_merged val save_merged
output: output:
tuple val(meta), path('*.trim.fastq.gz') , emit: reads tuple val(meta), path('*.trim.fastq.gz') , optional:true, emit: reads
tuple val(meta), path('*.json') , emit: json tuple val(meta), path('*.json') , emit: json
tuple val(meta), path('*.html') , emit: html tuple val(meta), path('*.html') , emit: html
tuple val(meta), path('*.log') , emit: log tuple val(meta), path('*.log') , emit: log

View file

@ -22,6 +22,12 @@ input:
description: | description: |
List of input FastQ files of size 1 and 2 for single-end and paired-end data, List of input FastQ files of size 1 and 2 for single-end and paired-end data,
respectively. respectively.
- save_trimmed_fail:
type: boolean
description: Specify true to save files that failed to pass trimming thresholds ending in `*.fail.fastq.gz`
- save_merged:
type: boolean
description: Specify true to save all merged reads to the a file ending in `*.merged.fastq.gz`
output: output:
- meta: - meta: