diff dexseq_count.xml @ 11:9a7c5b6d8f1e draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dexseq commit 0ccfadf8ac4bc6514836c4efe6f605973a08d1ed
author iuc
date Tue, 02 Apr 2024 12:59:54 +0000
parents df929f257179
children
line wrap: on
line diff
--- a/dexseq_count.xml	Tue Apr 04 08:25:51 2023 +0000
+++ b/dexseq_count.xml	Tue Apr 02 12:59:54 2024 +0000
@@ -16,18 +16,20 @@
     <command><![CDATA[
 #if $mode.mode_select == "prepare":
     dexseq_prepare_annotation.py
-        -r $mode.aggregate
-        '$mode.gtffile'
+        -r '${mode.aggregate}'
+        '${mode.gtffile}'
         '$flattened_gtf_out'
 #elif $mode.mode_select == "count":
+    ln -s -f '${mode.bamfile}' 'input.bam' &&
+    ln -s -f '${mode.bamfile.metadata.bam_index}' 'input.bam.bai' &&
     dexseq_count.py
         --format bam
-        --paired $mode.paired
-        --stranded $mode.stranded
-        --minaqual $mode.qual
-        --order $mode.order
-        $mode.flattened_gtf_in
-        '$mode.bamfile'
+        --paired '${mode.paired}'
+        --stranded '${mode.stranded}'
+        --minaqual '${mode.qual}'
+        --order '${mode.order}'
+        '${mode.flattened_gtf_in}'
+        'input.bam'
         '$counts_file'
     &&
     sed -i 's/\"//g' '$counts_file'
@@ -73,14 +75,14 @@
     </outputs>
 
     <tests>
-        <test>
+        <test expect_num_outputs="1">
             <param name="mode_select" value="prepare" />
             <param name="gtffile" ftype="gff" value="original.gtf"/>
             <param name="aggregate" value="True"/>
             <output name="flattened_gtf_out" ftype="gtf" compare="sim_size" file="flattened.gtf"/>
         </test>
         <!-- Ensure count mode works -->
-        <test>
+        <test expect_num_outputs="1">
             <param name="mode_select" value="count" />
             <param name="bamfile" ftype="bam" value="in.bam" />
             <param name="flattened_gtf_in" ftype="gff" value="flattened.gtf"/>