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