Repository 'sr_bowtie_dataset_annotation'
hg clone https://toolshed.g2.bx.psu.edu/repos/artbio/sr_bowtie_dataset_annotation

Changeset 5:279fdd92a615 (2019-03-24)
Previous changeset 4:e11f91575af6 (2019-03-20) Next changeset 6:8829656d6999 (2019-10-07)
Commit message:
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit 1d30d780dc66069ae9b52c909f65d713156442b3
modified:
sr_bowtie_dataset_annotation.xml
b
diff -r e11f91575af6 -r 279fdd92a615 sr_bowtie_dataset_annotation.xml
--- a/sr_bowtie_dataset_annotation.xml Wed Mar 20 07:12:53 2019 -0400
+++ b/sr_bowtie_dataset_annotation.xml Sun Mar 24 18:23:00 2019 -0400
[
@@ -1,4 +1,4 @@
-<tool id="sr_bowtie_dataset_annotation" name="Annotate smRNA dataset" version="2.2.0">
+<tool id="sr_bowtie_dataset_annotation" name="Annotate smRNA dataset" version="2.3.0">
   <description>by iterative alignments with sRbowtie</description>
   <requirements>
         <requirement type="package" version="1.1.2">bowtie</requirement>
@@ -13,6 +13,11 @@
         #else:
             #set index_path = $refGenomeSource1.index.fields.path
         #end if
+        
+        #for $i in $AdditionalQueries:
+            bowtie-build -f $i.ownFile $i.ownFile.name  1>/dev/null &&
+        #end for
+                
         #set method_prefix = "-v %s -k 1 --best" % str($mismatches)
         #if $input[0].is_of_type('fasta'):
             #set format = "-f"
@@ -38,14 +43,13 @@
                 #else:
                     #set to_align = "matched.fa"
                 #end if
-                bowtie-build -f $i.ownFile subgenome  1>/dev/null &&
                 touch tmp_class_matched.fa tmp_class_unmatched.fa &&
                 bowtie -p \${GALAXY_SLOTS:-4}
                     $method_prefix
                     --al tmp_class_matched.fa
                     --un tmp_class_unmatched.fa
                     --suppress 6,7,8
-                    subgenome $format '$to_align' > tabular_bowtie_output.tab &&
+                    $i.ownFile.name $format '$to_align' > tabular_bowtie_output.tab &&
                 class_aligned=\$(( \$(wc -l < tmp_class_matched.fa)/2)) &&
                 class_unaligned=\$(( \$(wc -l < tmp_class_unmatched.fa)/2)) &&
                 echo -e "$sample\t$i.ownFile.name\t\$class_aligned\t\${genome_aligned}" >> $output &&