@@ -5,17 +5,19 @@ process MERQURYFK_KATCOMP {
55 // WARN: Version information not provided by tool on CLI. Please update version string below when bumping container versions.
66 conda " ${ moduleDir} /environment.yml"
77 container " ${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
8- 'https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/9f/9f0bee9bfacd05665a9b1a11dd087dbf1be41ac3e640931c38c914a2390642cf /data' :
9- 'community.wave.seqera.io/library/fastk_merquryfk_r-cowplot_r-ggplot2_r-viridis:f9994edc2270683c ' } "
8+ 'https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/3f/3fefda33017e34e77a61dd82f8a2884414cdcb222269d9ca72a543bfeb4604b6 /data' :
9+ 'community.wave.seqera.io/library/fastk_merquryfk_r-argparse_r-cowplot_pruned:d61b120497d4185b ' } "
1010
1111 input:
1212 tuple val(meta), path(fastk1_hist), path(fastk1_ktab), path(fastk2_hist), path(fastk2_ktab)
1313
1414 output:
15- tuple val(meta), path(" *.fi.{png,pdf}" ), emit: filled , optional: true
16- tuple val(meta), path(" *.ln.{png,pdf}" ), emit: line , optional: true
17- tuple val(meta), path(" *.st.{png,pdf}" ), emit: stacked, optional: true
18- path " versions.yml" , emit: versions
15+ tuple val(meta), path(" *.{png,pdf}" ), emit: images
16+ // WARN: Version information not provided by tool on CLI. Please update this string when bumping container versions.
17+ tuple val(" ${ task.process} " ), val(' merquryfk' ), eval(' echo 1.2' ), emit: versions_merquryfk, topic: versions
18+ // WARN: Version information not provided by tool on CLI. Please update this string when bumping container versions.
19+ tuple val(" ${ task.process} " ), val(' fastk' ), eval(' echo 1.2' ), emit: versions_fastk, topic: versions
20+ tuple val(" ${ task.process} " ), val(' R' ), eval(' R --version | sed "1!d; s/.*version //; s/ .*//"' ), emit: versions_r, topic: versions
1921
2022 when:
2123 task. ext. when == null || task. ext. when
@@ -25,45 +27,22 @@ process MERQURYFK_KATCOMP {
2527 def prefix = task. ext. prefix ?: " ${ meta.id} "
2628 def input_fk1 = fastk1_ktab. find{ it. toString(). endsWith(" .ktab" ) }. getBaseName()
2729 def input_fk2 = fastk2_ktab. find{ it. toString(). endsWith(" .ktab" ) }. getBaseName()
28-
29- // WARN: Version information not provided by tool on CLI. Please update this string when bumping container versions.
30- def FASTK_VERSION = ' 1.1.0'
31- // WARN: Version information not provided by tool on CLI. Please update this string when bumping container versions.
32- def MERQURY_VERSION = ' 1.1.1'
3330 """
3431 KatComp \\
3532 $args \\
3633 -T$task . cpus \\
3734 ${ input_fk1} \\
3835 ${ input_fk2} \\
3936 $prefix
40-
41- cat <<-END_VERSIONS > versions.yml
42- "${ task.process} ":
43- fastk: $FASTK_VERSION
44- merquryfk: $MERQURY_VERSION
45- r: \$ ( R --version | sed '1!d; s/.*version //; s/ .*//' )
46- END_VERSIONS
4737 """
4838
4939 stub:
5040 def args = task. ext. args ?: ' '
5141 def prefix = task. ext. prefix ?: " ${ meta.id} "
52- // WARN: Version information not provided by tool on CLI. Please update this string when bumping container versions.
53- def FASTK_VERSION = ' 1.1.0'
54- // WARN: Version information not provided by tool on CLI. Please update this string when bumping container versions.
55- def MERQURY_VERSION = ' 1.1.1'
5642 def outfmt = args. contains(' -pdf' ) ? " pdf" : " png"
5743 """
5844 touch ${ prefix} .test.fi.${ outfmt}
5945 touch ${ prefix} .test.ln.${ outfmt}
6046 touch ${ prefix} .test.st.${ outfmt}
61-
62- cat <<-END_VERSIONS > versions.yml
63- "${ task.process} ":
64- fastk: $FASTK_VERSION
65- merquryfk: $MERQURY_VERSION
66- r: \$ ( R --version | sed '1!d; s/.*version //; s/ .*//' )
67- END_VERSIONS
6847 """
6948}
0 commit comments