annotate tassel/tassel.xml @ 1:1dc58d808e72 draft

Uploaded
author dereeper
date Thu, 26 Feb 2015 01:18:27 -0500
parents 0aeea77b924a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
1dc58d808e72 Uploaded
dereeper
parents: 0
diff changeset
1 <tool id="Tassel" name="Tassel" version="5.0">
0
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
2 <description> Software package to evaluate traits associations, evolutionary patterns, and linkage disequilibrium. </description>
1
1dc58d808e72 Uploaded
dereeper
parents: 0
diff changeset
3 <requirements>
1dc58d808e72 Uploaded
dereeper
parents: 0
diff changeset
4 <requirement type="package" version="5.0">tassel</requirement>
1dc58d808e72 Uploaded
dereeper
parents: 0
diff changeset
5 </requirements>
0
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
6 <command interpreter="bash">./tassel.sh $analysis_opts.fonction_selector $output1 $output2 $output3 $log tmpdir$$/
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
7 #if $analysis_opts.fonction_selector == "mlm":
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
8 -fork1 -h $hapmap -filterAlign -filterAlignMinFreq $filterAlignMinFreq
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
9 -fork2 -r $analysis_opts.trait
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
10 #if $analysis_opts.add_structure_file.additional_file_selector == "yes":
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
11 -fork3 -q $analysis_opts.add_structure_file.structure -excludeLastTrait
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
12 #end if
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
13 -fork4 -k $analysis_opts.kinship
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
14 -combineA -input1 -input2
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
15 #if $analysis_opts.add_structure_file.additional_file_selector == "yes":
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
16 -input3
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
17 #end if
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
18 -intersect -combineB -inputA -input4 -mlm -mlmVarCompEst $analysis_opts.mlmVarCompEst -mlmCompressionLevel $analysis_opts.mlmCompressionLevel -export tmpdir$$/TASSELMLM -runfork1 -runfork2
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
19 #if $analysis_opts.add_structure_file.additional_file_selector == "yes":
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
20 -runfork3
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
21 #end if
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
22 -runfork4
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
23
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
24 #else if $analysis_opts.fonction_selector == "glm":
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
25 -fork1 -h $hapmap -filterAlign -filterAlignMinFreq $filterAlignMinFreq
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
26 -fork2 -r $analysis_opts.trait
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
27 #if $analysis_opts.add_file.additional_file_selector == "yes":
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
28 -fork3 -q $analysis_opts.add_file.structure -excludeLastTrait
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
29 #end if
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
30 -combineA -input1 -input2
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
31 #if $analysis_opts.add_file.additional_file_selector == "yes":
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
32 -input3
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
33 #end if
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
34 -intersect -glm -export tmpdir$$/TASSELGLM -runfork1 -runfork2
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
35 #if $analysis_opts.add_file.additional_file_selector == "yes":
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
36 -runfork3
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
37 #end if
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
38 #else if $analysis_opts.fonction_selector == "ld":
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
39 -fork1 -h $hapmap
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
40 -ld -ldType All -ldd png -ldplotsize 3000 -o $output1 -runfork1
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
41 #else if $analysis_opts.fonction_selector == "ck":
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
42 -fork1 -h $hapmap
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
43 -ck -export tmpdir$$/kinship -runfork1
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
44 #end if
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
45 </command>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
46 <inputs>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
47 <param format="txt" name="hapmap" type="data" label="HapMap file"/>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
48 <conditional name="analysis_opts">
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
49 <param name="fonction_selector" type="select" label="Type of analysis">
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
50 <option value="mlm" selected="True">MLM</option>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
51 <option value="glm">GLM</option>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
52 <option value="ld">Linkage Disequilibrium</option>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
53 <option value="ck">Kinship</option>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
54 </param>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
55 <when value="glm">
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
56 <param format="txt" name="trait" type="data" label="Trait file"/>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
57 <conditional name="add_file">
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
58 <param name="additional_file_selector" type="select" label="Add structure file">
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
59 <option value="no" selected="True">no</option>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
60 <option value="yes">yes</option>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
61 </param>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
62 <when value="yes">
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
63 <param format="txt" name="structure" type="data" label="Structure file"/>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
64 </when>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
65 </conditional>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
66 </when>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
67 <when value="mlm">
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
68 <param format="txt" name="trait" type="data" label="Trait file"/>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
69 <param format="txt" name="kinship" type="data" label="Kinship file"/>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
70 <conditional name="add_structure_file">
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
71 <param name="additional_file_selector" type="select" label="Add structure file">
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
72 <option value="no" selected="True">no</option>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
73 <option value="yes">yes</option>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
74 </param>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
75 <when value="yes">
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
76 <param format="txt" name="structure" type="data" label="Structure file"/>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
77 </when>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
78 </conditional>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
79 <param name="mlmVarCompEst" type="select" label="Variance Component Estimation">
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
80 <option value="P3D" selected="True">P3D</option>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
81 <option value="EachMarker">EachMarker</option>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
82 </param>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
83 <param name="mlmCompressionLevel" type="select" label="Compression Level">
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
84 <option value="Optimum" selected="True">Optimum</option>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
85 <option value="Custom">Custom</option>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
86 <option value="None">None</option>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
87 </param>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
88 </when>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
89 <when value="ld"></when>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
90 <when value="ck"></when>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
91 </conditional>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
92 <param type="text" name="filterAlignMinFreq" label="Filter minimal frequency allele" value="0.05"/>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
93 </inputs>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
94 <outputs>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
95 <data format="txt" name="output1" label="Tassel output">
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
96 <change_format>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
97 <when input="analysis_opts['fonction_selector']" value="ld" format="png"/>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
98 </change_format>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
99 </data>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
100
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
101 <data format="txt" name="output2" label="Allele effects">
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
102 <filter>analysis_opts['fonction_selector'] == "glm" or analysis_opts['fonction_selector'] == "mlm"</filter>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
103 </data>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
104
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
105 <data format="txt" name="output3" label="Compression file">
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
106 <filter>analysis_opts['fonction_selector'] == "mlm"</filter>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
107 </data>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
108
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
109 <data format="txt" name="log" label="Log file"/>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
110 </outputs>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
111 <help>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
112
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
113 .. class:: infomark
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
114
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
115 **Program encapsulated in Galaxy by Southgreen**
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
116
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
117 .. class:: infomark
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
118
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
119 **Tassel**
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
120
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
121 -----
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
122
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
123 ==========
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
124 Authors:
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
125 ==========
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
126
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
127 **Terry Casstevens**
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
128
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
129 -----
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
130
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
131 ==========
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
132 Overview
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
133 ==========
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
134
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
135 Software package to evaluate traits associations, evolutionary patterns, and linkage disequilibrium.
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
136
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
137 -----
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
138
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
139 For further informations, please visite the website of TASSEL_.
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
140
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
141
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
142 .. _TASSEL: http://www.maizegenetics.net/tassel/
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
143
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
144 </help>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
145 <!--
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
146 <tests>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
147 <test>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
148 <param name="input" value="genotyping_file.inp" />
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
149 <output name="output" file="phase_output" />
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
150 </test>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
151 </tests>
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
152 -->
0aeea77b924a Uploaded
dereeper
parents:
diff changeset
153 </tool>