Skip to content
Snippets Groups Projects
Verified Commit dbfba055 authored by Laurent Modolo's avatar Laurent Modolo
Browse files

kmerclust.nf: redirect warning to log.txt

parent abf17f64
Branches
No related tags found
No related merge requests found
...@@ -42,7 +42,9 @@ process KMERCLUST_BOOT { ...@@ -42,7 +42,9 @@ process KMERCLUST_BOOT {
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
""" """
Rscript ${projectDir}/bin/kmerclust_boot.R ${specie} ${task.cpus} ${id} Rscript ${projectDir}/bin/kmerclust_boot.R ${specie} ${task.cpus} ${id} \
&> log.txt
cat <<-END_VERSIONS > versions.yml cat <<-END_VERSIONS > versions.yml
"${task.process}": "${task.process}":
...@@ -68,7 +70,8 @@ process KMERCLUST_CLUST { ...@@ -68,7 +70,8 @@ process KMERCLUST_CLUST {
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
""" """
Rscript ${projectDir}/bin/kmerclust_clust.R ${specie} ${task.cpus} ${id} Rscript ${projectDir}/bin/kmerclust_clust.R ${specie} ${task.cpus} ${id} \
&> log.txt
cat <<-END_VERSIONS > versions.yml cat <<-END_VERSIONS > versions.yml
"${task.process}": "${task.process}":
...@@ -94,7 +97,8 @@ process KMERCLUST_MERGE { ...@@ -94,7 +97,8 @@ process KMERCLUST_MERGE {
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
""" """
Rscript ${projectDir}/bin/kmerclust_merge.R ${specie} Rscript ${projectDir}/bin/kmerclust_merge.R ${specie} \
&> log.txt
cat <<-END_VERSIONS > versions.yml cat <<-END_VERSIONS > versions.yml
"${task.process}": "${task.process}":
...@@ -120,7 +124,9 @@ process KMERCLUST_PLOT { ...@@ -120,7 +124,9 @@ process KMERCLUST_PLOT {
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
""" """
Rscript ${projectDir}/bin/kmerclust_plot.R ${specie} Rscript ${projectDir}/bin/kmerclust_plot.R ${specie} \
&> log.txt
cat <<-END_VERSIONS > versions.yml cat <<-END_VERSIONS > versions.yml
"${task.process}": "${task.process}":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment