changeset 2:a9803f1fff75 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hacked/splitFasta commit 7e4c12467b74b77f04ca3817518cc4066aa507fe
author rnateam
date Sun, 05 Jul 2015 10:04:33 -0400
parents 279e2625de3a
children 7439ffbd8943
files splitfasta.xml
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/splitfasta.xml	Sun Jul 05 08:48:09 2015 -0400
+++ b/splitfasta.xml	Sun Jul 05 10:04:33 2015 -0400
@@ -11,11 +11,20 @@
     ]]></command>
     <inputs>
         <param name="inputFile" type="data" format="txt" label="Fasta file to split"/>
+        <param name="outputFormat" type="select" label="Output Format">
+            <option value="separate">Separate History Items</option>
+            <option value="collection">Create dataset collection</option>
+        </param>
     </inputs>
     <outputs>
         <collection type="list">
+            <filter>outputFormat == 'collection'</filter>
             <discover_datasets pattern="(?P&lt;designation&gt;.*)" directory="splits" ext="fasta" visible="false"/>
         </collection>
+        <data name="output">
+            <filter>outputFormat == 'separate'</filter>
+            <discover_datasets pattern="(?P&lt;designation&gt;.*)" directory="splits" ext="fasta" visible="true"/>
+        </data>
     </outputs>
     <help><![CDATA[
         Takes an input file and writes each consecutive two lines to a separate file, in a dataset collection.