annotate tassel.xml @ 16:d9c73778f0e2 draft

Deleted selected files
author dereeper
date Mon, 22 Jan 2024 13:31:02 +0000
parents 88ea6f8f664e
children 93bccb57e4f4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
1 <tool id="Tassel" name="Tassel" version="2.0.0">
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
2 <description>Software to evaluate traits associations, evolutionary patterns, and linkage disequilibrium</description>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
3 <requirements>
15
88ea6f8f664e Uploaded
dereeper
parents: 14
diff changeset
4 <requirement type="package" version="5.2.89">tassel</requirement>
9
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
5 </requirements>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
6 <stdio>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
7 <!-- [HELP] If no exit code rule is defined, the tool will stop if anything is written to STDERR -->
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
8 <exit_code range="1:" level="fatal" />
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
9 </stdio>
15
88ea6f8f664e Uploaded
dereeper
parents: 14
diff changeset
10 <command>$__tool_directory__/tassel.sh $analysis_opts.fonction_selector $output1 $output2 $output3 $log tmpdir$$/
9
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
11 #if $analysis_opts.fonction_selector == "mlm":
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
12 -fork1 -h $hapmap -filterAlign -filterAlignMinFreq $filterAlignMinFreq
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
13 -fork2 -r $analysis_opts.trait
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
14 #if $analysis_opts.add_structure_file.additional_file_selector == "yes":
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
15 -fork3 -q $analysis_opts.add_structure_file.structure -excludeLastTrait
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
16 #end if
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
17 -fork4 -k $analysis_opts.kinship
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
18 -combineA -input1 -input2
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
19 #if $analysis_opts.add_structure_file.additional_file_selector == "yes":
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
20 -input3
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
21 #end if
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
22 -intersect -combineB -inputA -input4 -mlm -mlmVarCompEst $analysis_opts.mlmVarCompEst -mlmCompressionLevel $analysis_opts.mlmCompressionLevel -export tmpdir$$/TASSELMLM -runfork1 -runfork2
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
23 #if $analysis_opts.add_structure_file.additional_file_selector == "yes":
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
24 -runfork3
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
25 #end if
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
26 -runfork4
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
27
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
28 #else if $analysis_opts.fonction_selector == "glm":
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
29 -fork1 -h $hapmap -filterAlign -filterAlignMinFreq $filterAlignMinFreq
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
30 -fork2 -r $analysis_opts.trait
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
31 #if $analysis_opts.add_file.additional_file_selector == "yes":
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
32 -fork3 -q $analysis_opts.add_file.structure -excludeLastTrait
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
33 #end if
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
34 -combineA -input1 -input2
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
35 #if $analysis_opts.add_file.additional_file_selector == "yes":
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
36 -input3
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
37 #end if
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
38 -intersect -glm -export tmpdir$$/TASSELGLM -runfork1 -runfork2
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
39 #if $analysis_opts.add_file.additional_file_selector == "yes":
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
40 -runfork3
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
41 #end if
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
42 #else if $analysis_opts.fonction_selector == "ld":
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
43 -fork1 -h $hapmap
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
44 -ld -ldType All -ldd png -ldplotsize 3000 -o $output1 -runfork1
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
45 #else if $analysis_opts.fonction_selector == "ck":
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
46 -fork1 -h $hapmap
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
47 -ck -export tmpdir$$/kinship -runfork1
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
48 #end if
11
75948ef196f9 Uploaded
dereeper
parents: 10
diff changeset
49 </command>
9
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
50 <inputs>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
51 <param format="txt" name="hapmap" type="data" label="HapMap file"/>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
52 <conditional name="analysis_opts">
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
53 <param name="fonction_selector" type="select" label="Type of analysis">
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
54 <option value="mlm" selected="True">MLM</option>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
55 <option value="glm">GLM</option>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
56 <option value="ld">Linkage Disequilibrium</option>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
57 <option value="ck">Kinship</option>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
58 </param>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
59 <when value="glm">
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
60 <param format="txt" name="trait" type="data" label="Trait file"/>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
61 <conditional name="add_file">
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
62 <param name="additional_file_selector" type="select" label="Add structure file">
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
63 <option value="no" selected="True">no</option>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
64 <option value="yes">yes</option>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
65 </param>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
66 <when value="yes">
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
67 <param format="txt" name="structure" type="data" label="Structure file"/>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
68 </when>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
69 <when value="no">
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
70 </when>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
71 </conditional>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
72 </when>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
73 <when value="mlm">
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
74 <param format="txt" name="trait" type="data" label="Trait file"/>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
75 <param format="txt" name="kinship" type="data" label="Kinship file"/>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
76 <conditional name="add_structure_file">
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
77 <param name="additional_file_selector" type="select" label="Add structure file">
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
78 <option value="no" selected="True">no</option>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
79 <option value="yes">yes</option>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
80 </param>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
81 <when value="yes">
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
82 <param format="txt" name="structure" type="data" label="Structure file"/>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
83 </when>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
84 <when value="no">
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
85 </when>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
86 </conditional>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
87 <param name="mlmVarCompEst" type="select" label="Variance Component Estimation">
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
88 <option value="P3D" selected="True">P3D</option>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
89 <option value="EachMarker">EachMarker</option>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
90 </param>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
91 <param name="mlmCompressionLevel" type="select" label="Compression Level">
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
92 <option value="Optimum" selected="True">Optimum</option>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
93 <option value="Custom">Custom</option>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
94 <option value="None">None</option>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
95 </param>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
96 </when>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
97 <when value="ld"></when>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
98 <when value="ck"></when>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
99 </conditional>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
100 <param type="text" name="filterAlignMinFreq" label="Filter minimal frequency allele" value="0.05"/>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
101 </inputs>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
102 <outputs>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
103 <data format="txt" name="output1" label="Tassel output">
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
104 <change_format>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
105 <when input="analysis_opts['fonction_selector']" value="ld" format="png"/>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
106 </change_format>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
107 </data>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
108
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
109 <data format="txt" name="output2" label="Allele effects">
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
110 <filter>analysis_opts['fonction_selector'] == "glm" or analysis_opts['fonction_selector'] == "mlm"</filter>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
111 </data>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
112
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
113 <data format="txt" name="output3" label="Compression file">
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
114 <filter>analysis_opts['fonction_selector'] == "mlm"</filter>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
115 </data>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
116
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
117 <data format="txt" name="log" label="Log file"/>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
118 </outputs>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
119
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
120 <tests>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
121 <test>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
122 <param name="hapmap" value="input_hapmap.txt"/>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
123 <conditional name="analysis_opts">
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
124 <param name="fonction_selector" value="glm"/>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
125 <param name="trait" value="phenotyping_DRB.csv"/>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
126 <conditional name="add_structure_file">
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
127 <param name="additional_file_selector" value="yes"/>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
128 <param name="structure" value="Best_K_Output"/>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
129 </conditional>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
130 </conditional>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
131 <param name="filterAlignMinFreq" value="0.05"/>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
132 <output name="output1" value="Tassel_output.txt"/>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
133 <output name="output2" value="Allele_effects.txt"/>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
134 </test>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
135 </tests>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
136 <help><![CDATA[
13
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
137 .. class:: infomark
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
138
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
139 **Tassel5** version 5.2.40
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
140
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
141 .. class:: infomark
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
142
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
143 **Galaxy integration** Provided by Southgreen & Dereeper Alexis (IRD) & Marcon Valentin (IFB & INRA)
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
144
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
145 .. class:: infomark
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
146
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
147 **Support** For any questions about Galaxy integration, please send an e-mail to alexis.dereeper@ird.fr
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
148
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
149 ---------------------------------------------------
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
150
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
151 =======
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
152 Tassel5
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
153 =======
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
154
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
155 -----------
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
156 Description
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
157 -----------
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
158
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
159 | Software to evaluate traits associations, evolutionary patterns, and linkage disequilibrium.
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
160 | For further informations on tassel, please visit the website_.
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
161
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
162 .. _website: http://www.maizegenetics.net/tassel/
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
163
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
164 ------------
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
165 Dependencies
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
166 ------------
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
167
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
168 Tassel5
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
169
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
170 tassel_ 5.2.40, Conda version
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
171
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
172 .. _tassel: https://anaconda.org/bioconda/tassel
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
173
9
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
174 ]]></help>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
175 <citations>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
176 <citation type="doi">10.1093/bioinformatics/btm308</citation>
b2f196d098cb Uploaded
dereeper
parents:
diff changeset
177 </citations>
13
a29a0f2c0897 Uploaded
dereeper
parents: 12
diff changeset
178 </tool>