Skip to content

Commit

Permalink
fix: library names, output extension
Browse files Browse the repository at this point in the history
  • Loading branch information
atrigila committed Dec 10, 2024
1 parent aa8f24b commit d84f810
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions modules/local/pivot/longer/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ process PIVOT_LONGER {
cat <<-END_VERSIONS > versions.yml
"${task.process}":
r-base: \$(echo \$(R --version 2>&1) | sed 's/^.*R version //; s/ .*\$//')
tidyr: \$(Rscript -e "library(limma); cat(as.character(packageVersion('tidyr')))")
optparse: \$(Rscript -e "library(edgeR); cat(as.character(packageVersion('optparse')))")
tidyr: \$(Rscript -e "library(tidyr); cat(as.character(packageVersion('tidyr')))")
optparse: \$(Rscript -e "library(optparse); cat(as.character(packageVersion('optparse')))")
END_VERSIONS
"""

Expand Down
12 changes: 6 additions & 6 deletions modules/local/pivot/wider/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ process PIVOT_WIDER {
tuple val(meta), path(csvs)

output:
tuple val(meta), path("*joined_samples_mirtop.csv") , emit: csv
path "versions.yml" , emit: versions
tuple val(meta), path("*joined_samples_mirtop.tsv") , emit: csv
path "versions.yml" , emit: versions

script:
"""
Expand All @@ -25,10 +25,10 @@ process PIVOT_WIDER {
cat <<-END_VERSIONS > versions.yml
"${task.process}":
r-base: \$(echo \$(R --version 2>&1) | sed 's/^.*R version //; s/ .*\$//')
tidyr: \$(Rscript -e "library(limma); cat(as.character(packageVersion('tidyr')))")
dplyr: \$(Rscript -e "library(limma); cat(as.character(packageVersion('dplyr')))")
optparse: \$(Rscript -e "library(edgeR); cat(as.character(packageVersion('optparse')))")
vroom: \$(Rscript -e "library(edgeR); cat(as.character(packageVersion('vroom')))")
tidyr: \$(Rscript -e "library(tidyr); cat(as.character(packageVersion('tidyr')))")
dplyr: \$(Rscript -e "library(dplyr); cat(as.character(packageVersion('dplyr')))")
optparse: \$(Rscript -e "library(optparse); cat(as.character(packageVersion('optparse')))")
vroom: \$(Rscript -e "library(vroom); cat(as.character(packageVersion('vroom')))")
END_VERSIONS
"""

Expand Down

0 comments on commit d84f810

Please sign in to comment.