Mercurial > repos > iuc > hyphy_fubar
annotate hyphy_fubar.xml @ 3:d92fc00e1e9d draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit f14f2bae2b27dc04e574803c7d4442a64cfe43e4"
| author | iuc |
|---|---|
| date | Fri, 14 Feb 2020 21:38:37 +0000 |
| parents | 0e02271cfc93 |
| children | 5807a4aef9e9 |
| rev | line source |
|---|---|
|
0
0943d89b7a25
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"?> |
|
3
d92fc00e1e9d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit f14f2bae2b27dc04e574803c7d4442a64cfe43e4"
iuc
parents:
2
diff
changeset
|
2 <tool id="hyphy_fubar" name="HyPhy-FUBAR" version="@VERSION@+galaxy1"> |
|
0
0943d89b7a25
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> |
|
0943d89b7a25
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff
changeset
|
4 <macros> |
|
0943d89b7a25
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> |
|
0943d89b7a25
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff
changeset
|
6 </macros> |
|
1
5bd05fa94ffc
"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"/> |
|
5bd05fa94ffc
"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[ |
|
5bd05fa94ffc
"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 && |
|
5bd05fa94ffc
"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 && |
|
3
d92fc00e1e9d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit f14f2bae2b27dc04e574803c7d4442a64cfe43e4"
iuc
parents:
2
diff
changeset
|
11 hyphy fubar |
|
1
5bd05fa94ffc
"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 |
|
5bd05fa94ffc
"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 |
|
5bd05fa94ffc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
14 --code '$gencodeid' |
|
5bd05fa94ffc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
15 --method '$posterior' |
|
5bd05fa94ffc
"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' |
|
5bd05fa94ffc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
17 --chains '$mcmc' |
|
5bd05fa94ffc
"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' |
|
5bd05fa94ffc
"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' |
|
5bd05fa94ffc
"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' |
|
5bd05fa94ffc
"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' |
|
5bd05fa94ffc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
22 > '$fubar_log' |
|
5bd05fa94ffc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
23 ]]></command> |
|
0
0943d89b7a25
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff
changeset
|
24 <inputs> |
|
1
5bd05fa94ffc
"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"/> |
|
5bd05fa94ffc
"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"/> |
|
5bd05fa94ffc
"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
0943d89b7a25
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
5bd05fa94ffc
"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> |
|
5bd05fa94ffc
"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> |
|
5bd05fa94ffc
"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
0943d89b7a25
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff
changeset
|
32 </param> |
|
1
5bd05fa94ffc
"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"/> |
|
5bd05fa94ffc
"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"/> |
|
5bd05fa94ffc
"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"/> |
|
5bd05fa94ffc
"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"/> |
|
5bd05fa94ffc
"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
0943d89b7a25
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff
changeset
|
38 </inputs> |
|
0943d89b7a25
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff
changeset
|
39 <outputs> |
|
1
5bd05fa94ffc
"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"/> |
|
3
d92fc00e1e9d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit f14f2bae2b27dc04e574803c7d4442a64cfe43e4"
iuc
parents:
2
diff
changeset
|
41 <data name="fubar_output" format="hyphy_results.json" from_work_dir="fubar_input.fa.FUBAR.json" /> |
|
0
0943d89b7a25
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff
changeset
|
42 </outputs> |
|
0943d89b7a25
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff
changeset
|
43 <tests> |
|
0943d89b7a25
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff
changeset
|
44 <test> |
|
1
5bd05fa94ffc
"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"/> |
|
5bd05fa94ffc
"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"/> |
|
5bd05fa94ffc
"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"/> |
|
5bd05fa94ffc
"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
0943d89b7a25
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff
changeset
|
49 </test> |
|
0943d89b7a25
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff
changeset
|
50 </tests> |
|
1
5bd05fa94ffc
"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
0943d89b7a25
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. |
|
0943d89b7a25
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff
changeset
|
53 |
|
0943d89b7a25
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
0e02271cfc93
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 533e8f97b4df382944ac8a31d98e04c9efeb6798"
iuc
parents:
1
diff
changeset
|
55 |
|
0e02271cfc93
"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. |
|
0e02271cfc93
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 533e8f97b4df382944ac8a31d98e04c9efeb6798"
iuc
parents:
1
diff
changeset
|
57 |
|
0e02271cfc93
"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
5bd05fa94ffc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
iuc
parents:
0
diff
changeset
|
59 ]]></help> |
|
0
0943d89b7a25
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff
changeset
|
60 <expand macro="citations"> |
|
0943d89b7a25
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> |
|
0943d89b7a25
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff
changeset
|
62 </expand> |
|
0943d89b7a25
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 538d41e9789e18c8edb3dc68a1aabbee9b9f8bea
iuc
parents:
diff
changeset
|
63 </tool> |
