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