comparison hyphy_fade.xml @ 0:6164d9298db9 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2c7a7ff8a55e7584e84335baa3159a63ce7a590c"
author iuc
date Wed, 21 Aug 2019 12:25:26 -0400
parents
children da4192d32e10
comparison
equal deleted inserted replaced
-1:000000000000 0:6164d9298db9
1 <?xml version="1.0"?>
2 <tool id="hyphy_fade" name="HyPhy-FADE" version="@VERSION@+galaxy0">
3 <description>: FUBAR* Approach to Directional Evolution (*Fast
4 Unconstrained Bayesian Approximation)</description>
5 <macros>
6 <import>macros.xml</import>
7 </macros>
8 <expand macro="requirements"/>
9 <command detect_errors="exit_code"><![CDATA[
10 ln -s '$input_file' fade_input.fa &&
11 ln -s '$input_nhx' fade_input.nhx &&
12 @HYPHY_INVOCATION@ fade
13 --alignment ./fade_input.fa
14 --tree ./fade_input.nhx
15 --branches '$branches'
16 --model '$model'
17 --method '$posteriorEstimationMethod'
18 --grid '$grid_points'
19 --concentration_parameter '$concentration'
20 #if $posteriorEstimationMethod != "Metropolis-Hastings"
21 --chains '$mcmc'
22 --chain-length '$chain_length'
23 --burn-in '$samples'
24 --samples '$samples_per_chain'
25 #end if
26 > '$fade_log'
27 ]]></command>
28 <inputs>
29 <param name="input_file" type="data" format="fasta" label="Input amino acid FASTA file"/>
30 <param name="input_nhx" type="data" format="nhx" label="Input rooted newick file"/>
31 <expand macro="branches"/>
32 <expand macro="substitution" />
33 <param name="grid_points" type="integer" value="20" min="5" max="50" label="Grid points"/>
34 <param name="mcmc" type="integer" value="5" min="2" max="20" label="Number of MCMC chains"/>
35 <param name="chain_length" type="integer" value="2000000" min="500000" max="50000000" label="Length of each chain"/>
36 <param name="samples" type="integer" value="1000000" min="100000" max="1900000" label="Samples to use for burn-in"/>
37 <param name="samples_per_chain" type="integer" value="100" min="50" max="1000000" label="Samples to draw from each chain"/>
38 <param name="concentration" type="float" value="0.5" min="0.001" max="1" label="Concentration parameter of the Dirichlet prior"/>
39 <expand macro="branches"/>
40 <param name="posteriorEstimationMethod" type="select" label="Posterior estimation method">
41 <option value="Variational-Bayes">Metropolis-Hastings - Full
42 Metropolis-Hastings MCMC algorithm (slowest, original 2013
43 paper implementation)</option>
44 <option value="Collapsed-Gibbs">Collapsed Gibbs - Collapsed Gibbs sampler
45 (intermediate speed)</option>
46 <option value="Metropolis-Hastings">Variational Bayes - 0-th order Variational
47 Bayes approximations (fastest, recommended default)</option>
48 </param>
49 </inputs>
50 <outputs>
51 <data name="fade_log" format="txt"/>
52 <data name="fade_output" format="hyphy_results.json" from_work_dir="fade_input.fa.FADE.json"/>
53 </outputs>
54 <tests>
55 <test>
56 <param name="input_file" ftype="fasta" value="fade-in1.fa"/>
57 <param name="input_nhx" ftype="nhx" value="fade-in1.nhx"/>
58 <output name="fade_output" file="fade-out1.json" compare="sim_size"/>
59 </test>
60 </tests>
61 <help><![CDATA[
62 FADE (FUBAR Approach to Directional Evolution) uses the same underlying algorithmic advances as impletented in FUBAR to apply Baysian MCMC accounting of parameter uncertiantiy to detect sites evolving under directional evolution in protien alignments.
63 ]]></help>
64 <expand macro="citations">
65 <citation type="doi">10.1093/molbev/msv022</citation>
66 </expand>
67 </tool>