diff blasttoolssearch/blasttoolssearch.xml @ 1:5687b8f1ad69 draft

fix datatype for summary
author fubar
date Wed, 19 Jul 2023 05:48:53 +0000
parents ee581a90a85e
children e213ae40f480
line wrap: on
line diff
--- a/blasttoolssearch/blasttoolssearch.xml	Wed Jul 19 04:34:01 2023 +0000
+++ b/blasttoolssearch/blasttoolssearch.xml	Wed Jul 19 05:48:53 2023 +0000
@@ -74,7 +74,8 @@
     #print the header of the inital summary_blastn file
     cat summary_${var}.txt | head -1 > header
     #report 1
-    cat header ${var}_filtered.txt > $3 
+    echo "#" > $3
+    cat header ${var}_filtered.txt >> $3 
 
 #end raw]]></configfile>
   </configfiles>
@@ -82,7 +83,7 @@
     <param name="blastn_search_outputs" type="data" optional="false" label="blastn_search_outputs" help="" format="tabular" multiple="false"/>
   </inputs>
   <outputs>
-    <data name="summary_viruses_viroids" format="txt" label="summary_viruses_viroids" hidden="false"/>
+    <data name="summary_viruses_viroids" format="tabular" label="summary_viruses_viroids" hidden="false"/>
   </outputs>
   <tests>
     <test>