Mercurial > repos > rdvelazquez > hyphy_fubar
annotate hyphy_fubar.xml @ 1:fa2236bc5ab2 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'bff24ad0eccc4083de076adc029c5c3ac50e2852\n'-dirty
author | rdvelazquez |
---|---|
date | Sun, 18 Nov 2018 22:58:53 -0500 |
parents | a52fcdeacf3d |
children | 203597c4875e |
rev | line source |
---|---|
0
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
2 <tool id="hyphy_fubar" name="HyPhy-FUBAR" version="@VERSION@+galaxy0"> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
3 <description>: Fast Unconstrained Bayesian AppRoximation</description> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
4 <macros> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
5 <import>macros.xml</import> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
6 </macros> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
7 <expand macro="requirements" /> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
8 <version_command>HYPHYMP --version | tail -n 1 | awk '{print $1}'</version_command> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
9 <command detect_errors="exit_code"> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
10 <![CDATA[ |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
11 ln -s '$input_file' fubar_input.fa && |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
12 ln -s '$input_nhx' fubar_input.nhx && |
1
fa2236bc5ab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'bff24ad0eccc4083de076adc029c5c3ac50e2852\n'-dirty
rdvelazquez
parents:
0
diff
changeset
|
13 echo $gencodeid > tool_params && |
fa2236bc5ab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'bff24ad0eccc4083de076adc029c5c3ac50e2852\n'-dirty
rdvelazquez
parents:
0
diff
changeset
|
14 echo `pwd`/fubar_input.fa >> tool_params && |
fa2236bc5ab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'bff24ad0eccc4083de076adc029c5c3ac50e2852\n'-dirty
rdvelazquez
parents:
0
diff
changeset
|
15 echo `pwd`/fubar_input.nhx >> tool_params && |
fa2236bc5ab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'bff24ad0eccc4083de076adc029c5c3ac50e2852\n'-dirty
rdvelazquez
parents:
0
diff
changeset
|
16 echo '$grid_points' >> tool_params && |
fa2236bc5ab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'bff24ad0eccc4083de076adc029c5c3ac50e2852\n'-dirty
rdvelazquez
parents:
0
diff
changeset
|
17 echo '$mcmc' >> tool_params && |
fa2236bc5ab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'bff24ad0eccc4083de076adc029c5c3ac50e2852\n'-dirty
rdvelazquez
parents:
0
diff
changeset
|
18 echo '$chain_length' >> tool_params && |
fa2236bc5ab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'bff24ad0eccc4083de076adc029c5c3ac50e2852\n'-dirty
rdvelazquez
parents:
0
diff
changeset
|
19 echo '$samples' >> tool_params && |
fa2236bc5ab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'bff24ad0eccc4083de076adc029c5c3ac50e2852\n'-dirty
rdvelazquez
parents:
0
diff
changeset
|
20 echo '$samples_per_chain' >> tool_params && |
fa2236bc5ab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'bff24ad0eccc4083de076adc029c5c3ac50e2852\n'-dirty
rdvelazquez
parents:
0
diff
changeset
|
21 echo '$concentration' >> tool_params && |
fa2236bc5ab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'bff24ad0eccc4083de076adc029c5c3ac50e2852\n'-dirty
rdvelazquez
parents:
0
diff
changeset
|
22 @HYPHY_INVOCATION@ \$HYPHY_LIB/TemplateBatchFiles/SelectionAnalyses/FUBAR.bf > '$fubar_log' |
0
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
23 ]]> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
24 </command> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
25 <inputs> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
26 <param name="input_file" type="data" format="fasta" label="Input FASTA file" /> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
27 <param name="input_nhx" type="data" format="nhx" label="Input newick file" /> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
28 <param name="gencodeid" type="select" label="Genetic code"> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
29 <option value="1">Universal code</option> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
30 <option value="2">Vertebrate mitochondrial DNA code</option> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
31 <option value="3">Yeast mitochondrial DNA code</option> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
32 <option value="4">Mold, Protozoan and Coelenterate mt; Mycloplasma/Spiroplasma</option> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
33 <option value="5">Invertebrate mitochondrial DNA code</option> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
34 <option value="6">Ciliate, Dasycladacean and Hexamita Nuclear code</option> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
35 <option value="7">Echinoderm mitochondrial DNA code</option> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
36 <option value="8">Euplotid Nuclear code</option> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
37 <option value="9">Alternative Yeast Nuclear code</option> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
38 <option value="10">Ascidian mitochondrial DNA code</option> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
39 <option value="11">Flatworm mitochondrial DNA code</option> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
40 <option value="12">Blepharisma Nuclear code</option> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
41 </param> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
42 <param name="grid_points" type="integer" value="20" min="5" max="50" label="Grid points" /> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
43 <param name="mcmc" type="integer" value="5" min="2" max="20" label="Number of MCMC chains" /> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
44 <param name="chain_length" type="integer" value="2000000" min="500000" max="50000000" label="Length of each chain" /> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
45 <param name="samples" type="integer" value="1000000" min="100000" max="1900000" label="Samples to use for burn-in" /> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
46 <param name="samples_per_chain" type="integer" value="100" min="50" max="1000000" label="Samples to draw from each chain" /> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
47 <param name="concentration" type="float" value="0.5" min="0.001" max="1" label="Concentration parameter of the Dirichlet prior" /> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
48 </inputs> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
49 <outputs> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
50 <data name="fubar_log" format="txt" /> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
51 <data name="fubar_output" format="json" from_work_dir="fubar_input.fa.FUBAR.json" /> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
52 </outputs> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
53 <tests> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
54 <test> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
55 <param name="input_file" ftype="fasta" value="fubar-in1.fa" /> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
56 <param name="input_nhx" ftype="nhx" value="fubar-in1.nhx" /> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
57 <output name="fubar_output" file="fubar-out1.json" compare="sim_size" /> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
58 </test> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
59 </tests> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
60 <help> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
61 <![CDATA[ |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
62 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. |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
63 |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
64 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. |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
65 ]]> |
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
66 </help> |
1
fa2236bc5ab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'bff24ad0eccc4083de076adc029c5c3ac50e2852\n'-dirty
rdvelazquez
parents:
0
diff
changeset
|
67 <expand macro="citations"> |
fa2236bc5ab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'bff24ad0eccc4083de076adc029c5c3ac50e2852\n'-dirty
rdvelazquez
parents:
0
diff
changeset
|
68 <citation type="doi">10.1093/molbev/mst030</citation> |
fa2236bc5ab2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'bff24ad0eccc4083de076adc029c5c3ac50e2852\n'-dirty
rdvelazquez
parents:
0
diff
changeset
|
69 </expand> |
0
a52fcdeacf3d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit b'32e39857cb09a483e607ddd223f3783bff328cb2\n'-dirty
rdvelazquez
parents:
diff
changeset
|
70 </tool> |