Repository 'splitfasta'
hg clone https://toolshed.g2.bx.psu.edu/repos/rnateam/splitfasta

Changeset 2:a9803f1fff75 (2015-07-05)
Previous changeset 1:279e2625de3a (2015-07-05) Next changeset 3:7439ffbd8943 (2015-07-08)
Commit message:
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hacked/splitFasta commit 7e4c12467b74b77f04ca3817518cc4066aa507fe
modified:
splitfasta.xml
b
diff -r 279e2625de3a -r a9803f1fff75 splitfasta.xml
--- 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.