0
|
1 <tool id="filler" name="Filler" version="1.0.1">
|
|
2 <description>Filler Function to deal with paired collection</description>
|
|
3 <command interpreter="python"><![CDATA[
|
|
4 filler.py
|
|
5 #if str( $data_input.data_selector ) == "paired"
|
|
6 -i $data_input.input1.forward
|
|
7 #end if
|
|
8 #if str( $data_input.data_selector ) == "single"
|
|
9 -i "$data_input.input2"
|
|
10 #end if
|
|
11
|
|
12 -o $output
|
|
13 ]]></command>
|
|
14 <inputs>
|
|
15 <conditional name="data_input">
|
|
16 <param name="data_selector" type="select" label="Single or Paired-end Data" help="Select between paired and single end data to add name to dataset">
|
|
17 <option value="paired">Paired</option>
|
|
18 <option value="single">Single</option>
|
|
19 </param>
|
|
20 <when value="paired">
|
|
21 <param name="input1" format="data" type="data_collection" collection_type="paired" label="Select a paired collection" help="a paired data"/>
|
|
22 </when>
|
|
23 <when value="single">
|
|
24 <param name="input2" format="data" type="data" label="input" help="Specify dataset with single reads"/>
|
|
25 </when>
|
|
26 </conditional>
|
|
27 </inputs>
|
|
28 <outputs>
|
|
29 <data name="output" type="data_collection"/>
|
|
30 </outputs>
|
|
31 <help>
|
|
32 This tool processes the PRINCE galaxy output such that it is in line with the command line
|
|
33 </help>
|
|
34 <citations>
|
|
35 </citations>
|
|
36 </tool>
|