annotate hyphy_fubar.xml @ 0:fe399429a5d2 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
author iuc
date Thu, 17 Jan 2019 04:22:54 -0500
parents
children 0f108ee932ea
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
1 <?xml version="1.0"?>
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
2 <tool id="hyphy_fubar" name="HyPhy-FUBAR" version="@VERSION@+galaxy0">
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
3 <description>Fast Unconstrained Bayesian AppRoximation</description>
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
4 <macros>
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
5 <import>macros.xml</import>
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
6 </macros>
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
7 <expand macro="requirements" />
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
8 <expand macro="version_command" />
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
9 <command detect_errors="exit_code">
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
10 <![CDATA[
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
11 ln -s '$input_file' fubar_input.fa &&
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
12 ln -s '$input_nhx' fubar_input.nhx &&
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
13 echo $gencodeid > tool_params &&
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
14 echo `pwd`/fubar_input.fa >> tool_params &&
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
15 echo `pwd`/fubar_input.nhx >> tool_params &&
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
16 echo '$grid_points' >> tool_params &&
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
17 echo '$posterior' >> tool_params &&
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
18 echo '$mcmc' >> tool_params &&
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
19 echo '$chain_length' >> tool_params &&
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
20 echo '$samples' >> tool_params &&
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
21 echo '$samples_per_chain' >> tool_params &&
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
22 echo '$concentration' >> tool_params &&
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
23 @HYPHY_INVOCATION@ \$HYPHY_LIB/TemplateBatchFiles/SelectionAnalyses/FUBAR.bf > '$fubar_log'
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
24 ]]>
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
25 </command>
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
26 <inputs>
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
27 <expand macro="inputs" />
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
28 <expand macro="gencode" />
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
29 <param name="grid_points" type="integer" value="20" min="5" max="50" label="Grid points" />
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
30 <param name="posterior" type="select" label="Posterior estimation method">
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
31 <option value="1">Full Metropolis-Hastings MCMC algorithm</option>
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
32 <option value="2">Collapsed Gibbs sampler</option>
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
33 <option value="3">0-th order Variational Bayes approximations</option>
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
34 </param>
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
35 <param name="mcmc" type="integer" value="5" min="2" max="20" label="Number of MCMC chains" />
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
36 <param name="chain_length" type="integer" value="2000000" min="500000" max="50000000" label="Length of each chain" />
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
37 <param name="samples" type="integer" value="1000000" min="100000" max="1900000" label="Samples to use for burn-in" />
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
38 <param name="samples_per_chain" type="integer" value="100" min="50" max="1000000" label="Samples to draw from each chain" />
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
39 <param name="concentration" type="float" value="0.5" min="0.001" max="1" label="Concentration parameter of the Dirichlet prior" />
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
40 </inputs>
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
41 <outputs>
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
42 <data name="fubar_log" format="txt" />
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
43 <data name="fubar_output" format="json" from_work_dir="fubar_input.fa.FUBAR.json" />
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
44 </outputs>
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
45 <tests>
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
46 <test>
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
47 <param name="input_file" ftype="fasta" value="fubar-in1.fa" />
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
48 <param name="input_nhx" ftype="nhx" value="fubar-in1.nhx" />
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
49 <param name="posterior" value="1" />
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
50 <output name="fubar_output" file="fubar-out1.json" compare="sim_size" />
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
51 </test>
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
52 </tests>
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
53 <help>
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
54 <![CDATA[
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
55 Model-based selection analyses (such as those performed by PAML and HyPhy) can be slow, becoming impractical for large alignments. We present a method to model and detect selection much faster than existing methods and to leverage Bayesian MCMC to robustly account for parameter estimation errors.
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
56
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
57 Results: By exploiting some commonly used approximations, FUBAR can perform detection of positive selection under a model that allows rich site- to-site rate variation about 30 to 50 times faster than existing random effects likelihood methods, and 10 to 30 times faster than existing fixed effects likelihood methods. We introduce an ultra-fast MCMC routine that allows a flexible prior specification, with no parametric constraints on the prior shape. Furthermore, our method allows us to visualize Bayesian inference for each site, revealing the model supported by the data.
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
58 ]]>
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
59 </help>
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
60 <expand macro="citations">
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
61 <citation type="doi">10.1093/molbev/mst030</citation>
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
62 </expand>
fe399429a5d2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff changeset
63 </tool>