diff blast_parser.xml @ 3:70df762b48a8 draft

planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/blast_parser commit 32272744ad83a704fd427b48aae574496a279901-dirty
author earlhaminst
date Tue, 03 Oct 2017 04:51:45 -0400
parents 376ed15e0d27
children 363f3480622d
line wrap: on
line diff
--- a/blast_parser.xml	Fri Mar 24 12:14:47 2017 -0400
+++ b/blast_parser.xml	Tue Oct 03 04:51:45 2017 -0400
@@ -1,18 +1,22 @@
-<tool id="blast_parser" name="BLAST parser" version="0.1.1">
+<tool id="blast_parser" name="BLAST parser" version="0.1.2">
     <description>
         Convert 12- or 24-column BLAST output into 3-column hcluster_sg input
     </description>
 
     <command detect_errors="exit_code">
 <![CDATA[
-perl '$__tool_directory__/blast_parser.pl'
-'$input'
-> '$output'
+python '$__tool_directory__/blast_parser.py'
+-i '$input'
+-o '$output'
+#if $reciprocal
+    -r
+#end if
 ]]>
     </command>
 
     <inputs>
         <param name="input" type="data" format="tabular" label="Tabular data" help="BLAST 12 column tabular format data"/>
+        <param name="reciprocal" type="boolean" checked="false" label="Reciprocal results" help="returns only reciprocal results"/>
     </inputs>
 
     <outputs>
@@ -22,12 +26,18 @@
     <tests>
         <test>
             <param name="input" ftype="tabular" value="input.tabular" />
+            <param name="reciprocal" value="false" />
             <output name="output" file="output.tabular" />
         </test>
+        <test>
+            <param name="input" ftype="tabular" value="input.tabular" />
+            <param name="reciprocal" value="true" />
+            <output name="output" file="output2.tabular" />
+        </test>
     </tests>
     <help>
 <![CDATA[
-Simple tool to convert a 12- or 24-column BLAST output into a 3-column format (qseqid, sseqid, round(-1 * log10(evalue))) usable as input for the hcluster_sg tool.
+Simple tool to convert a 12- or 24-column BLAST output into a 3-column format (qseqid, sseqid, round(-1 * log10(evalue)/2)) usable as input for the hcluster_sg tool.
 ]]>
     </help>
     <citations>