Mercurial > repos > iuc > hyphy_bgm
comparison hyphy_bgm.xml @ 23:ede53272264e draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2742ee3b4e90f65352845265d2f85c4263e0eabb"
author | iuc |
---|---|
date | Tue, 20 Apr 2021 10:33:00 +0000 |
parents | 26ad9a6b1293 |
children | d88bbb287923 |
comparison
equal
deleted
inserted
replaced
22:373afb209788 | 23:ede53272264e |
---|---|
1 <?xml version="1.0"?> | 1 <?xml version="1.0"?> |
2 <tool id="hyphy_bgm" name="HyPhy-BGM" version="@VERSION@+galaxy0" profile="19.09"> | 2 <tool id="hyphy_bgm" name="HyPhy-BGM" version="@VERSION@+galaxy0" profile="19.09"> |
3 <description>- Detecting coevolving sites via Bayesian graphical models</description> | 3 <description>- Detecting coevolving sites via Bayesian graphical models</description> |
4 <macros> | 4 <macros> |
5 <import>macros.xml</import> | 5 <import>macros.xml</import> |
6 <token name="@OPERATION@">BGM</token> | |
7 <token name="@operation@">bgm</token> | |
6 </macros> | 8 </macros> |
7 <expand macro="requirements"/> | 9 <expand macro="requirements"/> |
8 <command detect_errors="exit_code"><![CDATA[ | 10 <command detect_errors="exit_code"><![CDATA[ |
9 ln -s '$input_file' bgm_input.fa && | 11 @SYMLINK_FILES@ |
10 ln -s '$input_nhx' bgm_input.nhx && | |
11 hyphy bgm | 12 hyphy bgm |
12 --alignment ./bgm_input.fa | 13 --alignment ./$input_file |
13 --tree ./bgm_input.nhx | 14 #if $input_nhx: |
15 --tree ./input.nhx | |
16 #end if | |
14 --run_type $datatype.value | 17 --run_type $datatype.value |
15 #if $datatype.value == "codon": | 18 #if $datatype.value == "codon": |
16 --code '$datatype.gencodeid' | 19 --code '$datatype.gencodeid' |
17 #end if | 20 #end if |
18 #if $datatype.value == "protein": | 21 #if $datatype.value == "protein": |
22 --chain '$chain_length' | 25 --chain '$chain_length' |
23 --burn_in '$burn_in' | 26 --burn_in '$burn_in' |
24 --samples '$samples' | 27 --samples '$samples' |
25 --parents '$parents' | 28 --parents '$parents' |
26 --min_subs '$min_subs' | 29 --min_subs '$min_subs' |
27 > '$bgm_log' | 30 > '$bgm_log' ; |
31 @CATCH_ERROR@ | |
28 ]]></command> | 32 ]]></command> |
29 <inputs> | 33 <inputs> |
30 <param name="input_file" type="data" format="fasta" label="Input FASTA file"/> | 34 <expand macro="inputs" /> |
31 <param name="input_nhx" type="data" format="nhx" label="Input newick file"/> | |
32 <conditional name="datatype"> | 35 <conditional name="datatype"> |
33 <param name="value" type="select" label="Type of data"> | 36 <param name="value" type="select" label="Type of data"> |
34 <option value="nucleotide">Nucleotide</option> | 37 <option value="nucleotide">Nucleotide</option> |
35 <option value="amino-acid">Amino acid</option> | 38 <option value="amino-acid">Amino acid</option> |
36 <option value="codon">Codon</option> | 39 <option value="codon">Codon</option> |