annotate tassel.xml @ 3:0eebff4180d9 draft

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