Mercurial > repos > iuc > hyphy_bgm
comparison hyphy_bgm.xml @ 25:d88bbb287923 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 3908306ffa6f6cbc7b83303b2d4c581406d2fad9"
author | iuc |
---|---|
date | Tue, 27 Apr 2021 18:01:09 +0000 |
parents | ede53272264e |
children | d1c977aee228 |
comparison
equal
deleted
inserted
replaced
24:e14d926dfdc4 | 25:d88bbb287923 |
---|---|
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@+galaxy1" 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> | |
8 </macros> | 6 </macros> |
9 <expand macro="requirements"/> | 7 <expand macro="requirements"/> |
10 <command detect_errors="exit_code"><![CDATA[ | 8 <command detect_errors="exit_code"><![CDATA[ |
11 @SYMLINK_FILES@ | 9 @SYMLINK_FILES@ |
12 hyphy bgm | 10 hyphy bgm |
13 --alignment ./$input_file | 11 --alignment ./$input_file |
14 #if $input_nhx: | 12 @INPUT_TREE@ |
15 --tree ./input.nhx | |
16 #end if | |
17 --run_type $datatype.value | 13 --run_type $datatype.value |
18 #if $datatype.value == "codon": | 14 #if $datatype.value == "codon": |
19 --code '$datatype.gencodeid' | 15 --code '$datatype.gencodeid' |
20 #end if | 16 #end if |
21 #if $datatype.value == "protein": | 17 #if $datatype.value == "protein": |
22 --baseline_model '$datatype.model' | 18 --baseline_model '$datatype.model' |
23 #end if | 19 #end if |
24 --branches '$branches' | 20 @branch_options@ |
25 --chain '$chain_length' | 21 --chain '$chain_length' |
26 --burn_in '$burn_in' | 22 --burn_in '$burn_in' |
27 --samples '$samples' | 23 --samples '$samples' |
28 --parents '$parents' | 24 --parents '$parents' |
29 --min_subs '$min_subs' | 25 --min_subs '$min_subs' |
30 > '$bgm_log' ; | 26 @ERRORS@ |
31 @CATCH_ERROR@ | |
32 ]]></command> | 27 ]]></command> |
33 <inputs> | 28 <inputs> |
34 <expand macro="inputs" /> | 29 <expand macro="inputs" /> |
35 <conditional name="datatype"> | 30 <conditional name="datatype"> |
36 <param name="value" type="select" label="Type of data"> | 31 <param name="value" type="select" label="Type of data"> |
52 <param name="samples" type="integer" value="100" min="0" max="100" label="Number of steps to extract from chain sample"/> | 47 <param name="samples" type="integer" value="100" min="0" max="100" label="Number of steps to extract from chain sample"/> |
53 <param argument="--max-parents" name="parents" type="integer" value="1" min="1" max="3" label="Maximum number of parents allowed per node" /> | 48 <param argument="--max-parents" name="parents" type="integer" value="1" min="1" max="3" label="Maximum number of parents allowed per node" /> |
54 <param argument="--min-subs" name="min_subs" type="integer" value="1" min="1" max="100000" label="Minimum number of ubstitutions per site to be included in the analysis" /> | 49 <param argument="--min-subs" name="min_subs" type="integer" value="1" min="1" max="100000" label="Minimum number of ubstitutions per site to be included in the analysis" /> |
55 </inputs> | 50 </inputs> |
56 <outputs> | 51 <outputs> |
57 <data name="bgm_log" format="txt"/> | |
58 <data name="bgm_output" format="hyphy_results.json" from_work_dir="bgm_input.fa.BGM.json"/> | 52 <data name="bgm_output" format="hyphy_results.json" from_work_dir="bgm_input.fa.BGM.json"/> |
59 </outputs> | 53 </outputs> |
60 <tests> | 54 <tests> |
61 <test> | 55 <test> |
62 <param name="input_file" ftype="fasta" value="bgm-in1.fa"/> | 56 <param name="input_file" ftype="fasta" value="bgm-in1.fa"/> |