Mercurial > repos > iuc > hyphy_fubar
annotate hyphy_fubar.xml @ 2:6943fbec145c draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 533e8f97b4df382944ac8a31d98e04c9efeb6798"
author | iuc |
---|---|
date | Thu, 13 Feb 2020 15:01:46 -0500 |
parents | 0f108ee932ea |
children | b73b35db4664 |
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> |
1
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
7 <expand macro="requirements"/> |
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
8 <command detect_errors="exit_code"><![CDATA[ |
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
9 ln -s '$input_file' fubar_input.fa && |
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
10 ln -s '$input_nhx' fubar_input.nhx && |
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
11 @HYPHY_INVOCATION@ fubar |
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
12 --alignment ./fubar_input.fa |
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
13 --tree ./fubar_input.nhx |
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
14 --code '$gencodeid' |
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
15 --method '$posterior' |
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
16 --grid '$grid_points' |
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
17 --chains '$mcmc' |
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
18 --chain-length '$chain_length' |
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
19 --burn-in '$samples' |
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
20 --samples '$samples_per_chain' |
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
21 --concentration_parameter '$concentration' |
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
22 > '$fubar_log' |
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
23 ]]></command> |
0
fe399429a5d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff
changeset
|
24 <inputs> |
1
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
25 <expand macro="inputs"/> |
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
26 <expand macro="gencode"/> |
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
27 <param name="grid_points" type="integer" value="20" min="5" max="50" label="Grid points"/> |
0
fe399429a5d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff
changeset
|
28 <param name="posterior" type="select" label="Posterior estimation method"> |
1
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
29 <option value="Metropolis-Hastings">Full Metropolis-Hastings MCMC algorithm</option> |
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
30 <option value="Collapsed-Gibbs">Collapsed Gibbs sampler</option> |
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
31 <option value="Variational-Bayes">0-th order Variational Bayes approximations</option> |
0
fe399429a5d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff
changeset
|
32 </param> |
1
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
33 <param name="mcmc" type="integer" value="5" min="2" max="20" label="Number of MCMC chains"/> |
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
34 <param name="chain_length" type="integer" value="2000000" min="500000" max="50000000" label="Length of each chain"/> |
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
35 <param name="samples" type="integer" value="1000000" min="100000" max="1900000" label="Samples to use for burn-in"/> |
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
36 <param name="samples_per_chain" type="integer" value="100" min="50" max="1000000" label="Samples to draw from each chain"/> |
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
37 <param name="concentration" type="float" value="0.5" min="0.001" max="1" label="Concentration parameter of the Dirichlet prior"/> |
0
fe399429a5d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff
changeset
|
38 </inputs> |
fe399429a5d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff
changeset
|
39 <outputs> |
1
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
40 <data name="fubar_log" format="txt"/> |
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
41 <data name="fubar_output" format="hyphy_results.json" from_work_dir="fubar_input.fa.FUBAR.json"/> |
0
fe399429a5d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff
changeset
|
42 </outputs> |
fe399429a5d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff
changeset
|
43 <tests> |
fe399429a5d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff
changeset
|
44 <test> |
1
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
45 <param name="input_file" ftype="fasta" value="fubar-in1.fa"/> |
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
46 <param name="input_nhx" ftype="nhx" value="fubar-in1.nhx"/> |
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
47 <param name="posterior" value="Variational-Bayes"/> |
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
48 <output name="fubar_output" file="fubar-out1.json" compare="sim_size"/> |
0
fe399429a5d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff
changeset
|
49 </test> |
fe399429a5d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff
changeset
|
50 </tests> |
1
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
51 <help><![CDATA[ |
0
fe399429a5d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff
changeset
|
52 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
|
53 |
fe399429a5d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff
changeset
|
54 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. |
2
6943fbec145c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 533e8f97b4df382944ac8a31d98e04c9efeb6798"
iuc
parents:
1
diff
changeset
|
55 |
6943fbec145c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 533e8f97b4df382944ac8a31d98e04c9efeb6798"
iuc
parents:
1
diff
changeset
|
56 See the online documentation_ for more information. |
6943fbec145c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 533e8f97b4df382944ac8a31d98e04c9efeb6798"
iuc
parents:
1
diff
changeset
|
57 |
6943fbec145c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 533e8f97b4df382944ac8a31d98e04c9efeb6798"
iuc
parents:
1
diff
changeset
|
58 .. _documentation: http://hyphy.org/methods/selection-methods/#fubar |
1
0f108ee932ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
59 ]]></help> |
0
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> |