comparison Test_input_into_file.xml @ 1:f1bcd79cd923 draft default tip

Uploaded
author insilico-bob
date Tue, 27 Nov 2018 14:20:40 -0500
parents
children
comparison
equal deleted inserted replaced
0:7f12c81e2083 1:f1bcd79cd923
1 <?xml version='1.1' encoding='utf-8'?>
2 <tool id="Test-input-into-file" name="Test-File" version="1.0.0" force_history_refresh="True">
3 <description> Read xml params into a file</description>
4
5 <command interpreter="python">Test-input-into-file.py $inputfile "$__tool_dir__" $outputfile
6 #for $op in $test_param1
7 ${op.discrete_fields1.Text_Fields1}
8 #end for
9 "$EndofVarParam1"
10 "$Covariate_Type"
11 "$EndofVarParam2"
12 #for $op in $test_param3
13 ${op.discrete_fields3.Text_Fields3}
14 #end for
15 "$EndofVarParam3"
16 </command>
17 <!-- #in=$__tool_dir__/$inputfile
18 #inputfile="$__tool_dir__"$inputfile
19
20 type Describes the parameter type - each different type as different semantics
21 and the tool form widget is different. Currently valid parameter types are:
22 text, integer, float, boolean, genomebuild, select, color, data_column, hidden, hidden_data, baseurl, file, ftpfile, data, data_collection, library_data, drill_down. The definition of supported parameter
23 types as defined in the parameter_types dictionary in /lib/galaxy/tools/parameters/basic.py.
24 -->
25 <stdio>
26 <exit_code range="1:" level="fatal" />
27 </stdio>
28 <inputs>
29 <data format="txt" name="inputfile"/>
30 <repeat name="test_param1" title="Select 1 or more Covariate Clinical Categories">
31 <conditional name="discrete_fields1">
32 <param name="Text_Fields1" type="select" label="Covariate Bar Choices" help="">
33 <option value='cat_EMPTY' selected="true">Click cursor in middle of this text to see choices</option>
34 <option value='cat_SampleTypeCode'>Sample Cohort</option>
35 <option value='cat_gender'>Gender</option>
36 <option value='cat_race'>Race</option>
37 </param>
38 </conditional>
39 </repeat>
40 <param name="EndofVarParam1" type="hidden" value="paramend1" </param>
41 <param name="Covariate_Type" type="select" value="" label="Type of Covariate Bars" help="Choose Sample or Gene covariate bar files">
42 <option value="S" selected="true">Participant-Sample</option>
43 <option value="G" >Gene</option>
44 </param>
45 <param name="EndofVarParam2" type="hidden" value="paramend2" </param>
46 <repeat name="test_param3" title="Select 1 or more Covariate Clinical Categories">
47 <conditional name="discrete_fields3">
48 <param name="Text_Fields3" type="select" label="Covariate Bar Choices" help="">
49 <option value='cat_EMPTY' selected="true">Click cursor in middle of this text to see choices</option>
50 <option value='cat_SampleTypeCode'>Sample Cohort</option>
51 <option value='cat_gender'>Gender</option>
52 <option value='cat_race'>Race</option>
53 </param>
54 </conditional>
55 </repeat>
56 <param name="EndofVarParam3" type="hidden" value="paramend1" </param>
57 </inputs>
58 <outputs>
59 <data format="txt" name="outputfile" label="${tool.name} on ${on_string}"/>
60 </outputs>
61 </tool>