mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-21 10:48:18 +00:00
Update filtlong module to output log file (#1873)
Redirect logging information to log file in filtlong module
This commit is contained in:
parent
b78e19b9da
commit
957cb9b836
3 changed files with 14 additions and 7 deletions
|
@ -12,7 +12,8 @@ process FILTLONG {
|
|||
|
||||
output:
|
||||
tuple val(meta), path("*.fastq.gz"), emit: reads
|
||||
path "versions.yml" , emit: versions
|
||||
tuple val(meta), path("*.log") , emit: log
|
||||
path "versions.yml" , emit: versions
|
||||
|
||||
when:
|
||||
task.ext.when == null || task.ext.when
|
||||
|
@ -27,6 +28,7 @@ process FILTLONG {
|
|||
$short_reads \\
|
||||
$args \\
|
||||
$longreads \\
|
||||
2> ${prefix}.log \\
|
||||
| gzip -n > ${prefix}.fastq.gz
|
||||
|
||||
cat <<-END_VERSIONS > versions.yml
|
||||
|
|
|
@ -45,6 +45,11 @@ output:
|
|||
type: file
|
||||
description: Filtered (compressed) fastq file
|
||||
pattern: "*.fastq.gz"
|
||||
- log:
|
||||
type: file
|
||||
description: Standard error logging file containing summary statistics
|
||||
pattern: "*.log"
|
||||
|
||||
authors:
|
||||
- "@d4straub"
|
||||
- "@sofstam"
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
- filtlong
|
||||
files:
|
||||
- path: output/filtlong/test_lr.fastq.gz
|
||||
contains:
|
||||
- "@00068f7a-51b3-4933-8fc6-7d6e29181ff9"
|
||||
- path: output/filtlong/test_lr.log
|
||||
contains: ["Scoring long reads"]
|
||||
|
||||
- name: filtlong test_filtlong_illumina_se
|
||||
command: nextflow run ./tests/modules/filtlong -entry test_filtlong_illumina_se -c ./tests/config/nextflow.config -c ./tests/modules/filtlong/nextflow.config
|
||||
|
@ -13,8 +13,8 @@
|
|||
- filtlong
|
||||
files:
|
||||
- path: output/filtlong/test_lr.fastq.gz
|
||||
contains:
|
||||
- "@00068f7a-51b3-4933-8fc6-7d6e29181ff9"
|
||||
- path: output/filtlong/test_lr.log
|
||||
contains: ["Scoring long reads"]
|
||||
|
||||
- name: filtlong test_filtlong_illumina_pe
|
||||
command: nextflow run ./tests/modules/filtlong -entry test_filtlong_illumina_pe -c ./tests/config/nextflow.config -c ./tests/modules/filtlong/nextflow.config
|
||||
|
@ -22,5 +22,5 @@
|
|||
- filtlong
|
||||
files:
|
||||
- path: output/filtlong/test_lr.fastq.gz
|
||||
contains:
|
||||
- "@00068f7a-51b3-4933-8fc6-7d6e29181ff9"
|
||||
- path: output/filtlong/test_lr.log
|
||||
contains: ["Scoring long reads"]
|
||||
|
|
Loading…
Reference in a new issue