diff interproscan5/fastabox.xml @ 6:3cb68964c2a8 draft

Fixes on textarea format preservation.
author mkh
date Fri, 05 Feb 2016 13:04:03 -0500
parents b2fe58084928
children 1a4c5ab108fc
line wrap: on
line diff
--- a/interproscan5/fastabox.xml	Fri Feb 05 12:08:47 2016 -0500
+++ b/interproscan5/fastabox.xml	Fri Feb 05 13:04:03 2016 -0500
@@ -5,23 +5,34 @@
     </requirements>
 
     <command>
-        echo '$textbox' > $output
+        cp $fasta_file $output
     </command>
 
     <inputs>
         <param name="dataset_label" type="text" size="60" label="Dataset label"/>
-        <param name="textbox" type="text" area="True" size="20x60" label="FASTA formatted sequence(s)"/>
+        <param name="url_paste" type="text" area="True" size="20x60" label="FASTA formatted sequence(s)">
+            <sanitizer>
+                <valid initial="string.printable">
+                    <remove value="&apos;"/>
+                </valid>
+            </sanitizer>
+        </param>
     </inputs>
 
     <outputs>
         <data format="fasta" name="output" label="${dataset_label}"/>
     </outputs>
 
+    <configfiles>
+        <configfile name="fasta_file">
+            $url_paste
+        </configfile>
+    </configfiles>
+
     <requirements>
     </requirements>
 
-    <help>
-
+    <help><![CDATA[
 **What it does**
 
 Simply creates a FASTA dataset from a text input field. This is useful for a workflow where a tool needs a FASTA input,
@@ -41,5 +52,6 @@
 ######
 
 A FASTA file.
+]]>
     </help>
 </tool>