From a36ebe35521e3e45c5c3301eef9535ebdf630f9d Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Sat, 13 Jan 2018 14:17:56 +0100 Subject: [PATCH] Enhance tests for sam_to_bam conversion This demonstrates that the `sam_to_bam` converter will be used for an input with `format="bam"`, and not `sam_to_bam_native`. --- test/functional/tools/sam_to_bam_native.xml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/test/functional/tools/sam_to_bam_native.xml b/test/functional/tools/sam_to_bam_native.xml index b960bb4c87a..aed8f24892c 100644 --- a/test/functional/tools/sam_to_bam_native.xml +++ b/test/functional/tools/sam_to_bam_native.xml @@ -8,30 +8,39 @@ -b -h -@ \${GALAXY_SLOTS:-2} - -o '${output}' + -o '$bam_native_output' '$input1' - #else - cp '$input2' '$output' + #elif $input2: + cp '$input2' '$bam_native_output' + #elif $input3: + cp '$input3' '$bam_output' #end if ]]> + - + + - + - + + + + + +