mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 02:58:17 +00:00
Biobambam/bamsormadup: Fix name collision (#1900)
* Fix name collision Add stageAs to avoid name collisions * fix version check * fix test
This commit is contained in:
parent
720027275c
commit
035e418369
2 changed files with 5 additions and 6 deletions
|
@ -6,7 +6,7 @@ process BIOBAMBAM_BAMSORMADUP {
|
|||
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ? 'https://depot.galaxyproject.org/singularity/biobambam:2.0.183--h9f5acd7_1' : 'quay.io/biocontainers/biobambam:2.0.183--h9f5acd7_1'}"
|
||||
|
||||
input:
|
||||
tuple val(meta), path(bams)
|
||||
tuple val(meta), path(bams, stageAs: "?/*")
|
||||
path(fasta)
|
||||
|
||||
output:
|
||||
|
@ -39,7 +39,7 @@ process BIOBAMBAM_BAMSORMADUP {
|
|||
|
||||
cat <<-END_VERSIONS > versions.yml
|
||||
"${task.process}":
|
||||
bamcat: \$(echo \$(bamsormadup --version 2>&1) | sed 's/^This is biobambam2 version //; s/..biobambam2 is .*\$//' )
|
||||
bamcat: \$(echo \$(bamcat --version 2>&1) | sed 's/^This is biobambam2 version //; s/..biobambam2 is .*\$//' )
|
||||
bamsormadup: \$(echo \$(bamsormadup --version 2>&1) | sed 's/^This is biobambam2 version //; s/..biobambam2 is .*\$//' )
|
||||
END_VERSIONS
|
||||
"""
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
- name: biobambam bamsormadup test_biobambam_bamsormadup
|
||||
command: nextflow run tests/modules/biobambam/bamsormadup -entry test_biobambam_bamsormadup -c tests/config/nextflow.config
|
||||
command: nextflow run ./tests/modules/biobambam/bamsormadup -entry test_biobambam_bamsormadup -c ./tests/config/nextflow.config -c ./tests/modules/biobambam/bamsormadup/nextflow.config
|
||||
tags:
|
||||
- biobambam/bamsormadup
|
||||
- biobambam
|
||||
- biobambam/bamsormadup
|
||||
files:
|
||||
- path: output/biobambam/test.bam
|
||||
md5sum: 243a77fb0642fd46bb16a4d3432d19dc
|
||||
md5sum: 1d549a00b065584c298594180ca9f3bc
|
||||
- path: output/biobambam/test.metrics.txt
|
||||
md5sum: 1721879bea1f3888ecd33b35e6ee0e72
|
||||
- path: output/biobambam/versions.yml
|
||||
|
|
Loading…
Reference in a new issue