annotate structure-923cc9e6aa30/Structure.xml @ 0:2c0b270dae70 draft default tip

Uploaded
author ylebrascnrs
date Thu, 14 Sep 2017 08:33:05 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
1 <tool id="Structure" name="Structure" version="1.0.1">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
2 <description>model-based clustering method for inferring population structure using genotype data</description>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
3
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
4 <command interpreter="python">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
5 Structure.py
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
6 --input $input
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
7 --param $parameters
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
8 --extraparam $extraparameters
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
9 #if str( $options_pops.options_pops_selector ) == "yes":
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
10 --K $options_pops.k_value
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
11 #if str( $options_pops.options_popsvar.options_popsvar_selector ) == "yes":
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
12 #if str( $options_pops.options_popsvar.options_popsnumber.options_popsnumber_selector ) == "2":
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
13 --k2 $options_pops.options_popsvar.options_popsnumber.k2
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
14 #end if
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
15 #if str( $options_pops.options_popsvar.options_popsnumber.options_popsnumber_selector ) == "3":
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
16 --k2 $options_pops.options_popsvar.options_popsnumber.k2
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
17 --k3 $options_pops.options_popsvar.options_popsnumber.k3
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
18 #end if
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
19 #if str( $options_pops.options_popsvar.options_popsnumber.options_popsnumber_selector ) == "4":
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
20 --k2 $options_pops.options_popsvar.options_popsnumber.k2
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
21 --k3 $options_pops.options_popsvar.options_popsnumber.k3
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
22 --k4 $options_pops.options_popsvar.options_popsnumber.k4
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
23 #end if
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
24 #if str( $options_pops.options_popsvar.options_popsnumber.options_popsnumber_selector ) == "5":
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
25 --k2 $options_pops.options_popsvar.options_popsnumber.k2
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
26 --k3 $options_pops.options_popsvar.options_popsnumber.k3
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
27 --k4 $options_pops.options_popsvar.options_popsnumber.k4
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
28 --k5 $options_pops.options_popsvar.options_popsnumber.k5
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
29 #end if
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
30 #if str( $options_pops.options_popsvar.options_popsnumber.options_popsnumber_selector ) == "6":
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
31 --k2 $options_pops.options_popsvar.options_popsnumber.k2
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
32 --k3 $options_pops.options_popsvar.options_popsnumber.k3
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
33 --k4 $options_pops.options_popsvar.options_popsnumber.k4
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
34 --k5 $options_pops.options_popsvar.options_popsnumber.k5
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
35 --k6 $options_pops.options_popsvar.options_popsnumber.k6
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
36 #end if
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
37 #if str( $options_pops.options_popsvar.options_popsnumber.options_popsnumber_selector ) == "7":
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
38 --k2 $options_pops.options_popsvar.options_popsnumber.k2
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
39 --k3 $options_pops.options_popsvar.options_popsnumber.k3
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
40 --k4 $options_pops.options_popsvar.options_popsnumber.k4
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
41 --k5 $options_pops.options_popsvar.options_popsnumber.k5
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
42 --k6 $options_pops.options_popsvar.options_popsnumber.k6
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
43 --k7 $options_pops.options_popsvar.options_popsnumber.k7
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
44 #end if
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
45 #if str( $options_pops.options_popsvar.options_popsnumber.options_popsnumber_selector ) == "8":
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
46 --k2 $options_pops.options_popsvar.options_popsnumber.k2
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
47 --k3 $options_pops.options_popsvar.options_popsnumber.k3
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
48 --k4 $options_pops.options_popsvar.options_popsnumber.k4
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
49 --k5 $options_pops.options_popsvar.options_popsnumber.k5
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
50 --k6 $options_pops.options_popsvar.options_popsnumber.k6
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
51 --k7 $options_pops.options_popsvar.options_popsnumber.k7
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
52 --k8 $options_pops.options_popsvar.options_popsnumber.k8
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
53 #end if
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
54 #if str( $options_pops.options_popsvar.options_popsnumber.options_popsnumber_selector ) == "9":
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
55 --k2 $options_pops.options_popsvar.options_popsnumber.k2
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
56 --k3 $options_pops.options_popsvar.options_popsnumber.k3
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
57 --k4 $options_pops.options_popsvar.options_popsnumber.k4
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
58 --k5 $options_pops.options_popsvar.options_popsnumber.k5
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
59 --k6 $options_pops.options_popsvar.options_popsnumber.k6
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
60 --k7 $options_pops.options_popsvar.options_popsnumber.k7
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
61 --k8 $options_pops.options_popsvar.options_popsnumber.k8
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
62 --k9 $options_pops.options_popsvar.options_popsnumber.k9
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
63 #end if
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
64 #if str( $options_pops.options_popsvar.options_popsnumber.options_popsnumber_selector ) == "10":
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
65 --k2 $options_pops.options_popsvar.options_popsnumber.k2
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
66 --k3 $options_pops.options_popsvar.options_popsnumber.k3
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
67 --k4 $options_pops.options_popsvar.options_popsnumber.k4
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
68 --k5 $options_pops.options_popsvar.options_popsnumber.k5
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
69 --k6 $options_pops.options_popsvar.options_popsnumber.k6
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
70 --k7 $options_pops.options_popsvar.options_popsnumber.k7
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
71 --k8 $options_pops.options_popsvar.options_popsnumber.k8
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
72 --k9 $options_pops.options_popsvar.options_popsnumber.k9
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
73 --k10 $options_pops.options_popsvar.options_popsnumber.k10
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
74 #end if
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
75 #end if
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
76 #end if
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
77 --t $sevruns
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
78 #if str( $options_ind.options_ind_selector ) == "yes":
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
79 --N $options_ind.N_value
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
80 #end if
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
81 #if str( $options_loci.options_loci_selector ) == "yes":
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
82 --L $options_loci.L_value
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
83 #end if
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
84 #if str( $options_seed.options_seed_selector ) == "yes":
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
85 --D $options_seed.D_value
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
86 #end if
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
87 --logfile $output
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
88 --id $output.id
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
89 --workdir $__new_file_path__
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
90 --compress_output $output_compress
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
91 --total_output $total_output
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
92 </command>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
93
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
94 <inputs>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
95
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
96 <param name="input" type="data" format="txt" label="Read from file" help="input data file for structure" />
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
97 <param name="parameters" type="data" format="txt" label="Read from file" help="input mainparameters file for structure" />
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
98 <param name="extraparameters" type="data" format="txt" label="Read from file" help="input extraparameters file for structure" />
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
99 <conditional name="options_pops">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
100 <param name="options_pops_selector" type="select" label="Did you want modify the K (number of populations) value?">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
101 <option value="yes">Yes</option>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
102 <option value="no" selected="true">No</option>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
103 </param>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
104 <when value="yes">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
105 <param name="k_value" type="integer" value="2" label="Give the new K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
106 <conditional name="options_popsvar">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
107 <param name="options_popsvar_selector" type="select" label="Did you want specify others K values?">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
108 <option value="yes">Yes, more that one</option>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
109 <option value="no" selected="true">No, only one</option>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
110 </param>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
111 <when value="yes">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
112 <conditional name="options_popsnumber">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
113 <param name="options_popsnumber_selector" type="select" label="How many K values?">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
114 <option value="2" selected="true">2</option>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
115 <option value="3">3</option>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
116 <option value="4">4</option>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
117 <option value="5">5</option>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
118 <option value="6">6</option>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
119 <option value="7">7</option>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
120 <option value="8">8</option>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
121 <option value="9">9</option>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
122 <option value="10">10</option>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
123 </param>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
124 <when value="2">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
125 <param name="k2" type="integer" value="2" label="Give the second K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
126 </when>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
127 <when value="3">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
128 <param name="k2" type="integer" value="2" label="Give the second K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
129 <param name="k3" type="integer" value="3" label="Give the third K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
130 </when>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
131 <when value="4">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
132 <param name="k2" type="integer" value="2" label="Give the second K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
133 <param name="k3" type="integer" value="3" label="Give the third K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
134 <param name="k4" type="integer" value="4" label="Give the fourth K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
135 </when>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
136 <when value="5">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
137 <param name="k2" type="integer" value="2" label="Give the second K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
138 <param name="k3" type="integer" value="3" label="Give the third K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
139 <param name="k4" type="integer" value="4" label="Give the fourth K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
140 <param name="k5" type="integer" value="5" label="Give the fifth K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
141 </when>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
142 <when value="6">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
143 <param name="k2" type="integer" value="2" label="Give the second K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
144 <param name="k3" type="integer" value="3" label="Give the third K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
145 <param name="k4" type="integer" value="4" label="Give the fourth K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
146 <param name="k5" type="integer" value="5" label="Give the fifth K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
147 <param name="k6" type="integer" value="6" label="Give the sixth K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
148 </when>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
149 <when value="7">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
150 <param name="k2" type="integer" value="2" label="Give the second K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
151 <param name="k3" type="integer" value="3" label="Give the third K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
152 <param name="k4" type="integer" value="4" label="Give the fourth K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
153 <param name="k5" type="integer" value="5" label="Give the fifth K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
154 <param name="k6" type="integer" value="6" label="Give the sixth K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
155 <param name="k7" type="integer" value="7" label="Give the seventh K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
156 </when>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
157 <when value="8">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
158 <param name="k2" type="integer" value="2" label="Give the second K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
159 <param name="k3" type="integer" value="3" label="Give the third K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
160 <param name="k4" type="integer" value="4" label="Give the fourth K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
161 <param name="k5" type="integer" value="5" label="Give the fifth K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
162 <param name="k6" type="integer" value="6" label="Give the sixth K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
163 <param name="k7" type="integer" value="7" label="Give the seventh K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
164 <param name="k8" type="integer" value="8" label="Give the eighth K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
165 </when>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
166 <when value="9">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
167 <param name="k2" type="integer" value="2" label="Give the second K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
168 <param name="k3" type="integer" value="3" label="Give the third K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
169 <param name="k4" type="integer" value="4" label="Give the fourth K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
170 <param name="k5" type="integer" value="5" label="Give the fifth K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
171 <param name="k6" type="integer" value="6" label="Give the sixth K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
172 <param name="k7" type="integer" value="7" label="Give the seventh K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
173 <param name="k8" type="integer" value="8" label="Give the eighth K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
174 <param name="k9" type="integer" value="9" label="Give the ninth K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
175 </when>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
176 <when value="10">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
177 <param name="k2" type="integer" value="2" label="Give the second K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
178 <param name="k3" type="integer" value="3" label="Give the third K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
179 <param name="k4" type="integer" value="4" label="Give the fourth K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
180 <param name="k5" type="integer" value="5" label="Give the fifth K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
181 <param name="k6" type="integer" value="6" label="Give the sixth K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
182 <param name="k7" type="integer" value="7" label="Give the seventh K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
183 <param name="k8" type="integer" value="8" label="Give the eighth K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
184 <param name="k9" type="integer" value="9" label="Give the ninth K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
185 <param name="k10" type="integer" value="10" label="Give the tenth K value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
186 </when>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
187 </conditional>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
188 </when>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
189 <when value="no">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
190 </when>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
191 </conditional>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
192 </when>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
193 <when value="no">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
194 </when>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
195 </conditional>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
196 <param name="sevruns" type="boolean" checked="false" default="false" label="Did you want to execute 3 Structure runs to give results to Structure Harvester?" />
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
197 <conditional name="options_ind">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
198 <param name="options_ind_selector" type="select" label="Did you want modify the N (Number of individulas) value?">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
199 <option value="yes">Yes</option>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
200 <option value="no" selected="true">No</option>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
201 </param>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
202 <when value="yes">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
203 <param name="N_value" type="integer" value="100" label="Give the new N value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
204 </when>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
205 <when value="no">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
206 </when>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
207 </conditional>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
208 <conditional name="options_loci">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
209 <param name="options_loci_selector" type="select" label="Did you want modify the L (Number of loci) value?">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
210 <option value="yes">Yes</option>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
211 <option value="no" selected="true">No</option>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
212 </param>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
213 <when value="yes">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
214 <param name="L_value" type="integer" value="50" label="Give the new N value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
215 </when>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
216 <when value="no">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
217 </when>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
218 </conditional>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
219 <conditional name="options_seed">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
220 <param name="options_seed_selector" type="select" label="Did you want modify the D (Seed size) value?">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
221 <option value="yes">Yes</option>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
222 <option value="no" selected="true">No</option>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
223 </param>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
224 <when value="yes">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
225 <param name="D_value" type="integer" value="50" label="Give the new N value"/>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
226 </when>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
227 <when value="no">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
228 </when>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
229 </conditional>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
230 <param name="output_compress" type="select" label="Output type" help="please see below for details">
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
231 <option value="default" selected="true">No compression</option>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
232 <option value="total">Compressed all outputs</option>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
233 </param>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
234 </inputs>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
235 <outputs>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
236
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
237 <data format="txt" name="output" label="${tool.name} : results" />
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
238 <data format="zip" name="total_output" label="total_output.zip with ${tool.name} on ${on_string}" >
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
239 <filter>output_compress == "total"</filter>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
240 </data>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
241
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
242 </outputs>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
243 <help>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
244
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
245 .. class:: infomark
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
246
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
247 **What it does**
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
248
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
249 The program structure implements a model-based clustering method for inferring population structure using genotype data consisting of unlinked markers. The method was introduced in a paper by Pritchard, Stephens and Donnelly (2000) and extended in sequels by Falush, Stephens and Pritchard (2003, 2007). Applications of our method include demonstrating the presence of population structure, identifying distinct genetic populations, assigning individuals to populations, and identifying migrants and admixed individuals.
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
250
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
251
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
252 Input file need to be in structure data format.
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
253
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
254
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
255 The output files resume standard output (log) and results.
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
256
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
257 --------
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
258
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
259
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
260 **References:**
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
261
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
262 Pritchard, J. K., Stephens, M., and Donnelly, P. 2000 . Inference of population structure using multilocus genotype data. Genetics, 155 945 959.
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
263
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
264 Falush, D., Stephens, M., and Pritchard, J. K. 2003 . Inference of population structure: Extensions to linked loci and correlated allele frequencies. Genetics, 164 1567 1587.
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
265
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
266 Falush, D., Stephens, M., and Pritchard, J. K. 2007 . Inference of population structure using multilocus genotype data: dominant markers and null alleles. Molecular Ecology Notes, 7 574 578.
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
267
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
268 --------
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
269
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
270 **Project links:**
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
271
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
272 `Structure &lt;http://pritch.bsd.uchicago.edu/structure.html&gt;`_ .
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
273
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
274 --------
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
275
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
276 **Integrated by:**
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
277
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
278 Yvan Le Bras
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
279
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
280 </help>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
281 </tool>
2c0b270dae70 Uploaded
ylebrascnrs
parents:
diff changeset
282