comparison merge.xml @ 2:4263967e8d40 draft

planemo upload commit ee055b53af5f4a3420b35f3641d45c0559be37fc
author nml
date Tue, 17 May 2016 15:56:30 -0400
parents a78a70d4806c
children c0c988378838
comparison
equal deleted inserted replaced
1:a78a70d4806c 2:4263967e8d40
1 <tool id="collapse_dataset" name="Collapse Collection" version="2.0"> 1 <tool id="collapse_dataset" name="Collapse Collection" version="2.1">
2 <description>Collapse collection into single dataset in order of the collection</description> 2 <description>Collapse collection into single dataset in order of the collection</description>
3 <command> 3 <command>
4 <![CDATA[ 4 <![CDATA[
5 5
6 ( 6 (
7 #for $f in $input_list# 7 #for $f in $input_list#
8 #if $filename.add_name: 8 #if $filename.add_name:
9 #if str($filename.place_name) == "same": 9 #if str($filename.place_name) == "same":
10 printf "$f.name\t" ; 10 printf "$f.element_identifier\t" ;
11 #else 11 #else
12 printf "$f.name\n" ; 12 printf "$f.element_identifier\n" ;
13 #end if 13 #end if
14 #end if 14 #end if
15 cat "$f" ; 15 cat "$f" ;
16 #end for# 16 #end for#
17 ) 17 )
19 19
20 ]]> 20 ]]>
21 21
22 </command> 22 </command>
23 <inputs> 23 <inputs>
24 <param name="input_list" type="data_collection" label="Collection of files to collapse into single dataset" help="" optional="false" collection_type="list" /> 24 <param name="input_list" type="data" label="Collection of files to collapse into single dataset" help="" optional="false" multiple="true" />
25 <conditional name="filename"> 25 <conditional name="filename">
26 <param name="add_name" type="boolean" display="checkboxes" label="Append File name"/> 26 <param name="add_name" type="boolean" display="checkboxes" label="Append File name"/>
27 <when value="true"> 27 <when value="true">
28 <param name="place_name" type="select" label="Where to add dataset name"> 28 <param name="place_name" type="select" label="Where to add dataset name">
29 <option value="same">Same line</option> 29 <option value="same">Same line</option>