mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 02:58:17 +00:00
parent
cad9133c71
commit
67652c7c4d
2 changed files with 19 additions and 0 deletions
|
@ -51,4 +51,15 @@ process PICARD_ADDORREPLACEREADGROUPS {
|
|||
picard: \$(picard AddOrReplaceReadGroups --version 2>&1 | grep -o 'Version:.*' | cut -f2- -d:)
|
||||
END_VERSIONS
|
||||
"""
|
||||
|
||||
stub:
|
||||
def prefix = task.ext.prefix ?: "${meta.id}"
|
||||
"""
|
||||
touch ${prefix}.bam
|
||||
|
||||
cat <<-END_VERSIONS > versions.yml
|
||||
"${task.process}":
|
||||
picard: \$(picard AddOrReplaceReadGroups --version 2>&1 | grep -o 'Version:.*' | cut -f2- -d:)
|
||||
END_VERSIONS
|
||||
"""
|
||||
}
|
||||
|
|
|
@ -7,3 +7,11 @@
|
|||
- path: output/picard/test.bam
|
||||
md5sum: 7b82f3461c2d80fc6a10385e78c9427f
|
||||
- path: output/picard/versions.yml
|
||||
- name: picard addorreplacereadgroups test_picard_addorreplacereadgroups stub
|
||||
command: nextflow run tests/modules/picard/addorreplacereadgroups -entry test_picard_addorreplacereadgroups -c tests/config/nextflow.config -stub
|
||||
tags:
|
||||
- picard
|
||||
- picard/addorreplacereadgroups
|
||||
files:
|
||||
- path: output/picard/test.bam
|
||||
- path: output/picard/versions.yml
|
||||
|
|
Loading…
Reference in a new issue