diff --git a/modules/nf-core/quast/main.nf b/modules/nf-core/quast/main.nf index fd5958fe..4591a638 100644 --- a/modules/nf-core/quast/main.nf +++ b/modules/nf-core/quast/main.nf @@ -13,6 +13,7 @@ process QUAST { val use_fasta val use_gff + output: path "${prefix}" , emit: results path "*.tsv" , emit: tsv @@ -34,7 +35,7 @@ process QUAST { $features \\ --threads $task.cpus \\ $args \\ - \$(cat ${consensus.join(' ')}) + ${consensus.join(' ')} ln -s ${prefix}/report.tsv diff --git a/modules/nf-core/quast/quast.diff b/modules/nf-core/quast/quast.diff index 7818dea1..b26c9950 100644 --- a/modules/nf-core/quast/quast.diff +++ b/modules/nf-core/quast/quast.diff @@ -10,8 +10,11 @@ Changes in module 'nf-core/quast' container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ? 'https://depot.galaxyproject.org/singularity/quast:5.2.0--py39pl5321h2add14b_1' : 'quay.io/biocontainers/quast:5.2.0--py39pl5321h2add14b_1' }" -@@ -15,7 +15,8 @@ +@@ -13,9 +13,11 @@ + val use_fasta + val use_gff ++ output: path "${prefix}" , emit: results - path '*.tsv' , emit: tsv @@ -20,16 +23,7 @@ Changes in module 'nf-core/quast' path "versions.yml" , emit: versions when: -@@ -33,7 +34,7 @@ - $features \\ - --threads $task.cpus \\ - $args \\ -- ${consensus.join(' ')} -+ \$(cat ${consensus.join(' ')}) - - ln -s ${prefix}/report.tsv - -@@ -42,4 +43,16 @@ +@@ -42,4 +44,16 @@ quast: \$(quast.py --version 2>&1 | sed 's/^.*QUAST v//; s/ .*\$//') END_VERSIONS """ diff --git a/subworkflows/local/assemblyqc.nf b/subworkflows/local/assemblyqc.nf index 65c6e8eb..6d48d02e 100644 --- a/subworkflows/local/assemblyqc.nf +++ b/subworkflows/local/assemblyqc.nf @@ -27,13 +27,8 @@ workflow CHECK_ASSEMBLIES { /* * Module: QUAST quality check */ - assemblies - .map { meta, fasta -> fasta.toString() } - .collectFile(name:'assemblies.txt', newLine: true) - .set { quast_input } - QUAST ( - quast_input, + assemblies.collect { meta, fasta -> fasta }, reference_genome, [], use_reference_genome,