11process EXTRACT_REPEAT {
2- tag " $meta . id "
2+ tag " ${ meta.id} "
33 label ' process_low'
44
55 conda " conda-forge::perl=5.26.2"
@@ -8,38 +8,25 @@ process EXTRACT_REPEAT {
88 'biocontainers/perl:5.26.2' } "
99
1010 input:
11- tuple val( meta ), path( file )
11+ tuple val(meta), path(file)
1212
1313 output:
1414 tuple val( meta ), path( " *.bed" ) , emit: bed
15- path " versions.yml" , emit: versions
15+ tuple val(" ${ task.process} " ), val(' extract_repeat.pl' ), val(" 1.0.0" ), topic: versions, emit: versions_extractrepeat
16+ tuple val(" ${ task.process} " ), val(' perl' ), eval(" perl --version | sed -n 's/.*(v\\ ([0-9.]\\ +\\ )).*/\\ 1/p'" ), topic: versions, emit: versions_perl
1617
1718 when:
1819 task. ext. when == null || task. ext. when
1920
2021 script:
21- def prefix = task. ext. prefix ?: " ${ meta.id} "
22- def VERSION = " 1.0" // WARN: Version information not provided by tool on CLI. Please update this string when bumping container versions.
22+ def prefix = task. ext. prefix ?: " ${ meta.id} "
2323 """
2424 extract_repeat.pl $file > ${ prefix} _repeats.bed
25-
26- cat <<-END_VERSIONS > versions.yml
27- "${ task.process} ":
28- perl: \$ (echo \$ (perl --version 2>&1) | sed 's/^.*perl //; s/Using.*\$ //')
29- extract_repeat.pl: $VERSION
30- END_VERSIONS
3125 """
3226
3327 stub:
34- def prefix = task. ext. prefix ?: " ${ meta.id} "
35- def VERSION = " 1.0" // WARN: Version information not provided by tool on CLI. Please update this string when bumping container versions.
28+ def prefix = task. ext. prefix ?: " ${ meta.id} "
3629 """
3730 touch ${ prefix} _repeats.bed
38-
39- cat <<-END_VERSIONS > versions.yml
40- "${ task.process} ":
41- perl: \$ (echo \$ (perl --version 2>&1) | sed 's/^.*perl //; s/Using.*\$ //')
42- extract_repeat.pl: $VERSION
43- END_VERSIONS
4431 """
4532}
0 commit comments