diff reactome_analysis.xml @ 4:878128362e33 draft

planemo upload commit 34edf9c3db61650a03d5a0d548b9697a94ecde34-dirty
author proteore
date Tue, 03 Apr 2018 08:24:45 -0400
parents be06c14e543d
children 7fbd66f985b7
line wrap: on
line diff
--- a/reactome_analysis.xml	Fri Mar 23 10:48:36 2018 -0400
+++ b/reactome_analysis.xml	Tue Apr 03 08:24:45 2018 -0400
@@ -21,7 +21,16 @@
 		        <option value="file" selected="true">Input file containing your identifiers</option>
             </param>
             <when value="text" >
-                <param name="list" type="text" label="Enter list of identifiers" />
+                <param name="list" type="text" label="Enter list of identifiers" help="IDs must be separated by space into the form field, for example: P31946 P62258">
+                    <sanitizer>
+                        <valid initial="string.printable">
+                            <remove value="&apos;"/>
+                        </valid>
+                        <mapping initial="none">
+                            <add source="&apos;" target="__sq__"/>
+                        </mapping>
+                    </sanitizer>
+                </param>
             </when>
             <when value="file" >
                 <param name="file" type="data" format="txt, tabular" label="Input file containing your identifiers" help="Input file is a tab-delimited file containing different information of proteins, such as an output of MaxQuant software" />
@@ -33,7 +42,9 @@
     </inputs>
     <outputs>
         <data name="output" format="html" label="" />
-        <data name="trash" format="tabular" label="Invalid identifiers" />
+        <data name="trash" format="tabular" hidden="true" label="Invalid id not send to reactome">
+                <discover_datasets pattern="(Reactome_Analysis_Tools_invalid_ID).txt" ext="txt" visible="false" assign_primary_output="false"/>
+        </data>
     </outputs>
     <tests>
         <test>
@@ -44,7 +55,7 @@
                 <param name="ncol" value="c1" />
             </conditional>
             <output name="output" file="Reactome_Analysis_Tools.html" ftype="html" />
-            <output name="trash" file="Reactome_Analysis_Tools_invalid_ID.txt" ftype="tab" />
+            <!-- <output name="trash" file="Reactome_Analysis_Tools_invalid_ID.txt" ftype="tab" hidden="true" /> -->
         </test>
     </tests>
     <help><![CDATA[