annotate tassel/tassel.xml @ 19:a0a95688cf17 draft

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