annotate tassel.xml @ 17:93bccb57e4f4 draft

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