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

Changeset 1:faf1b3b933f5 (2019-02-10)
Previous changeset 0:e7e7785e41d0 (2017-09-11) Next changeset 2:243ed53cbc0d (2019-02-10)
Commit message:
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/sr_bowtie_dataset_annotation commit ea052763fe969f830a1ed17e5ffac07146e8d4e9
modified:
sr_bowtie_dataset_annotation.xml
b
diff -r e7e7785e41d0 -r faf1b3b933f5 sr_bowtie_dataset_annotation.xml
--- a/sr_bowtie_dataset_annotation.xml Mon Sep 11 18:27:40 2017 -0400
+++ b/sr_bowtie_dataset_annotation.xml Sun Feb 10 11:16:59 2019 -0500
b
@@ -1,4 +1,4 @@
-<tool id="sr_bowtie_dataset_annotation" name="Annotate smRNA dataset" version="2.0.0">
+<tool id="sr_bowtie_dataset_annotation" name="Annotate smRNA dataset" version="2.0.1">
   <description>by iterative alignments with sRbowtie</description>
   <requirements>
         <requirement type="package" version="1.1.2">bowtie</requirement>
@@ -30,10 +30,14 @@
                $index_path $format '$input' > tabular_bowtie_output.tab &&
         genome_aligned=\$(wc -l < matched.fa) &&
         genome_aligned=\$(( \$genome_aligned/2)) &&
-        echo -e "$refGenomeSource1.ownFile.name Matched\t\${genome_aligned}\n" > $output &&
+        #if $refGenomeSource1.genomeSource == "history":
+            echo -e "$refGenomeSource1.ownFile.name Matched\t\${genome_aligned}\n" > $output &&
+        #else:
+            echo -e "$refGenomeSource1.index.fields.dbkey Matched\t\${genome_aligned}\n" > $output &&
+        #end if            
         #set counter = 0
         #for $i in $AdditionalQueries:
-            rm genome.fa &&
+            rm -f genome.fa &&
             #set $counter += 1
             #if $counter != 1:
                 #set input = "class_unmatched.fa"