changeset 4:c94c2b84221e draft

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit e1c8e2a34c95b413ff0a0e97c90593ceb75f8223
author galaxyp
date Mon, 24 Jul 2017 18:24:37 -0400
parents 1c12ec822e1b
children b73b80525568
files fasta_merge_files_and_filter_unique_sequences.xml
diffstat 1 files changed, 9 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/fasta_merge_files_and_filter_unique_sequences.xml	Mon Jul 24 17:12:56 2017 -0400
+++ b/fasta_merge_files_and_filter_unique_sequences.xml	Mon Jul 24 18:24:37 2017 -0400
@@ -8,13 +8,14 @@
         '$output' $uniqueness_criterion '$accession_parser'
 
         #if $batchmode.processmode == 'merge':
-          #set $inputs = $batchmode.input_fastas
+          #for $input in $batchmode.input_fastas:
+              '$input'
+          #end for
         #else:
-          #set $inputs = [ $batchmode.input_fastas ]
+          #for $input in $batchmode.input_fastas:
+              '$input.input_fasta'
+          #end for
         #end if
-        #for $input in $inputs:
-            '$input'
-        #end for
     </command>
     <inputs>
         <conditional name="batchmode">
@@ -23,7 +24,9 @@
                 <option value="merge">Merge all FASTAs (always output a single FASTA)</option>
             </param>
             <when value="individual">
-                <param name="input_fastas" type="data" format="fasta" label="FASTA file" />
+              <repeat name="input_fastas" title="Input FASTA File(s)">
+                <param name="input_fasta" format="fasta" type="data" label="FASTA File"/>
+              </repeat>
             </when>
             <when value="merge">
                 <param name="input_fastas" type="data" format="fasta" multiple="True" label="FASTA file" />