changeset 5:0281bb245635 draft

planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie commit 9112ef4fcf1fdac850fcc58195d39ca3d0e34857
author artbio
date Wed, 26 Sep 2018 10:47:19 -0400
parents 3c9d01ebc56d
children e4a05086ea02
files sRbowtie.xml test-data/al.fastqsanger
diffstat 2 files changed, 25 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/sRbowtie.xml	Fri Sep 21 09:33:28 2018 -0400
+++ b/sRbowtie.xml	Wed Sep 26 10:47:19 2018 -0400
@@ -1,4 +1,4 @@
-<tool id="bowtieForSmallRNA" name="sR_bowtie" version="2.1.0">
+<tool id="bowtieForSmallRNA" name="sR_bowtie" version="2.1.1">
     <description>for small RNA short reads</description>
     <requirements>
         <requirement type="package" version="1.1.2=py27_0">bowtie</requirement>
@@ -124,21 +124,11 @@
                 </conditional>
             </actions>
         </data>
-        <data format="fastqsanger" label="Matched reads" name="aligned">
+        <data format_source="input" label="Matched reads" name="aligned">
             <filter>additional_fasta == "al" or additional_fasta == "al_and_unal"</filter>
-            <actions>
-                <action type="format">
-                    <option type="from_param" name="input" param_attribute="ext" />
-                </action>
-            </actions>
         </data>
-        <data format="fastqsanger" label="Unmatched reads" name="unaligned">
+        <data format_source="input" label="Unmatched reads" name="unaligned">
             <filter>additional_fasta == "unal" or additional_fasta == "al_and_unal"</filter>
-            <actions>
-                <action type="format">
-                    <option type="from_param" name="input" param_attribute="ext" />
-                </action>
-            </actions>
         </data>
     </outputs>
     <tests>
@@ -166,8 +156,10 @@
             <param name="method" value="unique" />
             <param ftype="fastqsanger" name="input" value="input.fastqsanger" />
             <param name="v_mismatches" value="1" />
+            <param name="additional_fasta" value="al" />
             <param name="output_format" value="bam" />
             <output file="output2.bam" ftype="bam" compare="sim_size" delta="1000" name="output" />
+            <output file="al.fastqsanger" ftype="fastqsanger" name="aligned" />
         </test>
         <test>
             <param name="genomeSource" value="history" />
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/al.fastqsanger	Wed Sep 26 10:47:19 2018 -0400
@@ -0,0 +1,20 @@
+@HTW-1
+CATTCTGCGAAGAAGC
++
+HHHHHHHHHHHHHHHH
+@HTW-2
+GGAGAGACGACGTCAATTACT
++
+HHHHHHHHHHHHHHHHHHHHH
+@HTW-3
+AATTTCGAAACTACACCTGGAAGGTAACCA
++
+HHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
+@HTW-4
+ATCGGATTTTCTTATTTATATTCAGGGTATTAAAGAATCTAT
++
+HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
+@HTW-5
+TAAGATACTGATAAGGAAACTACCAATA
++
+HHHHHHHHHHHHHHHHHHHHHHHHHHHH