diff blastXmlToPsl.xml @ 2:30f2068e8738 draft

planemo upload commit cdddf587d82288414cfffd0ce6e312b4bf45a842-dirty
author yating-l
date Thu, 28 Jun 2018 12:32:41 -0400
parents ed804cd92001
children 2be225b8c6cc
line wrap: on
line diff
--- a/blastXmlToPsl.xml	Tue May 02 14:26:49 2017 -0400
+++ b/blastXmlToPsl.xml	Thu Jun 28 12:32:41 2018 -0400
@@ -1,18 +1,35 @@
-<tool id="blastXmlToPsl" name="blastXmlToPsl" version="0.1.0">
+<tool id="blastXmlToPsl" name="blastXmlToPsl" version="1.1">
     <requirements>
     </requirements>
     <stdio>
         <exit_code range="1:" />
     </stdio>
     <command><![CDATA[
-        $__tool_directory__/blastXmlToPsl -convertToNucCoords $input $output
+        $__tool_directory__/blastXmlToPsl $input $output
+        #if $convertToNucCoords == "true"
+          -convertToNucCoords
+        #end if
     ]]></command>
     <inputs>
         <param type="data" name="input" format="xml" />
+        <param type="boolean" name="convertToNucCoords" checked="true" label="only support for TBLASTN restuls. Convert protein to nucleic alignments to nucleic
+   to nucleic coordinates"/>
     </inputs>
     <outputs>
         <data format="psl" name="output" />
     </outputs>
+    <tests>
+        <test>
+            <param name="input" value="tblastn_Dbia3_ci.xml" />
+            <param name="convertToNucCoords" value="true" />
+            <output name="output" value="tblastn_Dbia3_ci.psl" />
+        </test>
+        <test>
+            <param name="input" value="blastn_mRNA_seq.xml" />
+            <param name="convertToNucCoords" value="false" />
+            <output name="output" value="blastn_mRNA_seq.psl" />
+        </test>
+    </tests>
     <help><![CDATA[
 blastXmlToPsl - convert blast XML output to PSLs
 
@@ -58,4 +75,20 @@
 
 Output only results of last round from PSI BLAST
     ]]></help>
+    <citations>
+        <citation type="bibtex">
+            @article{Kent01062002,
+            author = {Kent, W. James and Sugnet, Charles W. and Furey, Terrence S. and Roskin, Krishna M. and Pringle, Tom H. and Zahler, Alan M. and Haussler,  and David},
+            title = {The Human Genome Browser at UCSC},
+            volume = {12},
+            number = {6},
+            pages = {996-1006},
+            year = {2002},
+            doi = {10.1101/gr.229102},
+            URL = {http://genome.cshlp.org/content/12/6/996.abstract},
+            eprint = {http://genome.cshlp.org/content/12/6/996.full.pdf+html},
+            journal = {Genome Research}
+            }
+        </citation>
+    </citations>
 </tool>
\ No newline at end of file