Description

Read QC, UMI extraction and trimming

Input

name
description
pattern

reads

List of input FastQ files of size 1 and 2 for single-end and paired-end data,
respectively, together with an optional fasta file of adapter sequences.

Structure: [ val(meta), [ path(reads) ], path(adapter_fasta) ]

*.{fastq.gz}

skip_fastqc

Skip fastqc process

with_umi

With or without umi detection

skip_umi_extract

With or without umi extraction

umi_discard_read

Discard R1 / R2 if required

skip_trimming

Allows to skip FastP execution

save_trimmed_fail

Save trimmed fastqs of failed samples

save_merged

Save merged fastqs

min_trimmed_reads

Inputs with fewer than this reads will be filtered out of the “reads” output channel

Output

name
description
pattern

reads

Trimmed FastQ files, UMI-extracted if requested, with samples below
min_trimmed_reads filtered out.

Structure: [ val(meta), [ path(reads) ] ]

*.{fastq.gz}

fastqc_raw_html

FastQC report for the raw reads.

Structure: [ val(meta), [ path(html) ] ]

*_{fastqc.html}

fastqc_raw_zip

FastQC report archive for the raw reads.

Structure: [ val(meta), [ path(zip) ] ]

*_{fastqc.zip}

umi_log

Logfile for umi_tools extract.

Structure: [ val(meta), path(log) ]

*.{log}

umi_reads

UMI-extracted FastQ files, before trimming. | For single-end reads, pattern is ${prefix}.umi_extract.fastq.gz. | For paired-end reads, pattern is ${prefix}.umi_extract_{1,2}.fastq.gz. | Structure: [ val(meta), [ path(reads) ] ]

*.{fastq.gz}

adapter_seq

Adapter sequence found in read1, parsed from the FastP JSON report.

Structure: [ val(meta), val(adapter_seq) ]

trim_json

FastP trimming report.

Structure: [ val(meta), path(json) ]

*.{fastp.json}

trim_html

FastP trimming report.

Structure: [ val(meta), path(html) ]

*.{fastp.html}

trim_log

Logfile FastP.

Structure: [ val(meta), path(log) ]

*.{fastp.log}

trim_reads_fail

Trimmed fastq files failing QC.

Structure: [ val(meta), [ path(reads) ] ]

*.{fastq.gz}

trim_reads_merged

Trimmed and merged fastq files.

Structure: [ val(meta), [ path(reads) ] ]

*.{fastq.gz}

trim_read_count

Number of reads after trimming.

Structure: [ val(meta), val(count) ]

fastqc_trim_html

FastQC report for the trimmed reads.

Structure: [ val(meta), [ path(html) ] ]

*_{fastqc.html}

fastqc_trim_zip

FastQC report archive for the trimmed reads.

Structure: [ val(meta), [ path(zip) ] ]

*_{fastqc.zip}