annotate bayescan.xml @ 0:72f3a333f155 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
author iuc
date Fri, 17 Mar 2017 15:20:38 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
1 <tool id="BayeScan" name="BayeScan" version="2.1">
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
2 <description>Detecting natural selection from population-based genetic data</description>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
3 <requirements>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
4 <requirement type="package" version="2.0.1">bayescan</requirement>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
5 </requirements>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
6 <command>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
7
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
8 <![CDATA[
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
9 mkdir 'output_dir';
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
10
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
11 bayescan2 '$input'
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
12 -od output_dir
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
13 #if '$loci_file.loci' == "1"
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
14 -d '$loci_file.input_loci'
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
15 #end if
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
16 '$snp_genotypes_matrix'
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
17 '$fstats'
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
18 '$pilot_runs'
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
19 '$allele_frequency'
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
20 -o bayescan
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
21 -n '$sample_size'
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
22 -thin '$thinning_interval'
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
23 -nbp '$num_pilot_runs'
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
24 -pilot '$length_pilot_run'
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
25 -burn '$burn'
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
26 -pr_odds '$prior_odds'
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
27 -lb_fis '$lower_prior'
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
28 -hb_fis '$higher_prior'
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
29 -aflp_pc '$threshold' > '$output'
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
30 ]]>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
31
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
32 </command>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
33
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
34 <inputs>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
35
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
36 <param name="input" type="data" format="tabular,txt" label="Input genotype data file" help="must be space/tab delimitted plain text file" />
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
37 <conditional name="loci_file">
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
38 <param name="loci" type="select" label="Discard loci?" help="" >
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
39 <option value="0">No</option>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
40 <option value="1">Yes</option>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
41 </param>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
42 <when value="0"></when>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
43 <when value="1">
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
44 <param name="input_loci" type="data" format="tabular,txt" label="Discard loci file" help="Optional input file containing list of loci to discard" />
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
45 </when>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
46 </conditional>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
47 <param name="snp_genotypes_matrix" type="boolean" checked="false" truevalue="-fstat" falsevalue="" label="SNP genotypes matrix data" help="Use SNP genotypes matrix"/>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
48
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
49 <param name="fstats" type="boolean" checked="false" truevalue="-snp" falsevalue="" label="Only estimate F-stats (no selection)"/>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
50
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
51 <param name="sample_size" type="integer" value="5000" label="Number of outputted iterations"/>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
52 <param name="thinning_interval" type="integer" value="10" label="Thinning interval size"/>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
53 <param name="num_pilot_runs" type="integer" value="20" label="Number of pilot runs" />
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
54 <param name="length_pilot_run" type="integer" value="5000" label="Length of pilot runs" />
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
55 <param name="burn" type="integer" value="50000" label="Additional burn-in length" help="Nlength of an interval between two draws in MCMC"/>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
56
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
57 <param name="prior_odds" type="integer" value="10" size="3" label="Prior odds for the neutral model"/>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
58 <param name="lower_prior" type="float" value="0.0" label="Lower bound for uniform prior on Fis (dominant data)"/>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
59 <param name="higher_prior" type="float" value="1.0" label="Higher bound for uniform prior on Fis (dominant data)"/>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
60 <param name="threshold" type="float" value="0.1" label="Threshold for the recessive genotype as a fraction of maximum band intensity"/>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
61
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
62 <param name="pilot_runs" type="boolean" checked="false" truevalue="-out_pilot" falsevalue="" label="Optional output file for pilot runs"/>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
63 <param name="allele_frequency" type="boolean" checked="false" truevalue="-out_freq" falsevalue="" label="Optional output file for allele frequencies"/>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
64
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
65
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
66 </inputs>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
67
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
68 <outputs>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
69 <data format="txt" name="output">
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
70 <discover_datasets pattern="__designation_and_ext__" directory="output_dir" visible="true" />
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
71 </data>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
72 </outputs>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
73
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
74 <tests>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
75 <test>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
76 <param name="input" value="test_binary_AFLP.txt" />
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
77 <param name="loci" value="0" />
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
78 <param name="snp_genotypes_matrix" value="true" />
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
79 <param name="fstats" value="true"/>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
80
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
81 <param name="sample_size" value="5000" />
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
82 <param name="thinning_interval" value="10" />
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
83 <param name="num_pilot_runs" value="20" />
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
84 <param name="length_pilot_run" value="5000" />
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
85 <param name="burn" value="50000" />
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
86
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
87 <param name="prior_odds" value="10"/>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
88 <param name="lower_prior" value="0.0" />
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
89 <param name="higher_prior" value="1.0"/>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
90 <param name="threshold" value="0.1"/>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
91
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
92 <param name="pilot_runs" value="true"/>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
93 <param name="allele_frequency" value="true" />
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
94
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
95 <output name="output" file="result.out" ftype="txt">
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
96 <discovered_dataset designation="bayescan" ftype="sel">
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
97 <assert_contents>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
98 <has_text text="logL Fis1 Fis2 Fis3 Fis4 Fis5 Fis6 Fis7 Fis8 Fis9 Fis10 Fst1 Fst2 Fst3 Fst4 Fst5 Fst6 Fst7 Fst8 Fst9 Fst10" />
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
99 </assert_contents>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
100 </discovered_dataset>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
101 <discovered_dataset designation="bayescan_Verif" ftype="txt" value="verif.txt" />
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
102 <discovered_dataset designation="bayescan_AccRte" ftype="txt">
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
103 <assert_contents>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
104 <has_line_matching expression="alpha beta ances freq a_p.*" />
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
105 </assert_contents>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
106 </discovered_dataset>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
107 <discovered_dataset designation="bayescan_prop" ftype="txt" value="pilot.txt" />
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
108 <discovered_dataset designation="bayescan_freq" ftype="txt">
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
109 <assert_contents>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
110 <has_text text="locus1 locus2 locus3 locus4 locus5 locus6 locus7 locus8 locus9 locus10" />
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
111 </assert_contents>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
112 </discovered_dataset>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
113 </output>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
114 </test>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
115 </tests>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
116
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
117 <help><![CDATA[
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
118
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
119 **What it does**
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
120
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
121 This program, BayeScan aims at identifying candidate loci under natural selection from genetic data, using differences in allele frequencies between populations.
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
122
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
123 `BayeScan`_ is based on the multinomial-Dirichlet model.
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
124
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
125 One of the simplest possible scenarios covered consists of an island model in which subpopulation allele frequencies are correlated through a common migrant gene pool from which they differ in varying degrees. The difference in allele frequency between this common gene pool and each subpopulation is measured by a subpopulation specific FST coefficient.
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
126
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
127 Therefore, this formulation can consider realistic ecological scenarios where the effective size and the immigration rate may differ among subpopulations.
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
128
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
129 .. _Bayescan: http://cmpg.unibe.ch/software/BayeScan/
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
130
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
131 .. class:: infomark
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
132
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
133 **Input file**
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
134
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
135 BayeScan uses its own input file formats, which depend on the type of data used. All input files are simply in text format.
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
136
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
137 Read the `manual`_ to create the input file.
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
138
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
139 .. _manual: http://cmpg.unibe.ch/software/BayeScan/files/BayeScan2.1_manual.pdf
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
140
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
141 ]]>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
142
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
143 </help>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
144 <citations>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
145 <citation type="doi">10.1534/genetics.108.092221</citation>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
146 </citations>
72f3a333f155 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bayescan/ commit 33637968e1e32c02d7765a6701e930a0ea0dd903
iuc
parents:
diff changeset
147 </tool>