Mercurial > repos > iuc > hyphy_relax
comparison hyphy_relax.xml @ 23:801547975424 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:32:25 +0000 |
parents | b8bdfac5a326 |
children | a4c5dc437558 |
comparison
equal
deleted
inserted
replaced
22:91e47cb67709 | 23:801547975424 |
---|---|
2 <tool id="hyphy_relax" name="HyPhy-RELAX" version="@VERSION@+galaxy0" profile="19.09"> | 2 <tool id="hyphy_relax" name="HyPhy-RELAX" version="@VERSION@+galaxy0" profile="19.09"> |
3 <description>Detect relaxed selection in a codon-based | 3 <description>Detect relaxed selection in a codon-based |
4 phylogenetic framework</description> | 4 phylogenetic framework</description> |
5 <macros> | 5 <macros> |
6 <import>macros.xml</import> | 6 <import>macros.xml</import> |
7 <token name="@OPERATION@">RELAX</token> | |
8 <token name="@operation@">relax</token> | |
7 </macros> | 9 </macros> |
8 <expand macro="requirements"/> | 10 <expand macro="requirements"/> |
9 <command detect_errors="exit_code"><![CDATA[ | 11 <command detect_errors="exit_code"><![CDATA[ |
10 ln -s '$input_file' relax_input.fa && | 12 @SYMLINK_FILES@ |
11 ln -s '$input_nhx' relax_input.nhx && | |
12 | |
13 export OMP_NUM_THREADS="\${GALAXY_SLOTS:-1}" && | 13 export OMP_NUM_THREADS="\${GALAXY_SLOTS:-1}" && |
14 hyphy relax | 14 hyphy relax |
15 --alignment ./relax_input.fa | 15 --alignment ./$input_file |
16 --tree ./relax_input.nhx | 16 #if $input_nhx: |
17 --tree ./input.nhx | |
18 #end if | |
17 --models '$analysisType' | 19 --models '$analysisType' |
18 --code '$gencodeid' | 20 --code '$gencodeid' |
19 #if $treeAnnotations == "2": | 21 #if $treeAnnotations == "2": |
20 --test TEST | 22 --test TEST |
21 --reference REFERENCE | 23 --reference REFERENCE |
22 #else: | 24 #else: |
23 --test TEST | 25 --test TEST |
24 #end if | 26 #end if |
25 > '$relax_log' | 27 > '$relax_log' ; |
28 @CATCH_ERROR@ | |
26 ]]></command> | 29 ]]></command> |
27 <inputs> | 30 <inputs> |
28 <expand macro="inputs"/> | 31 <expand macro="inputs"/> |
29 <expand macro="gencode"/> | 32 <expand macro="gencode"/> |
30 <param argument="--model" name="analysisType" type="select" label="Analysis Type" > | 33 <param argument="--model" name="analysisType" type="select" label="Analysis Type" > |
36 <option value="2">TEST and REFERENCE</option> | 39 <option value="2">TEST and REFERENCE</option> |
37 </param> | 40 </param> |
38 </inputs> | 41 </inputs> |
39 <outputs> | 42 <outputs> |
40 <data name="relax_log" format="txt"/> | 43 <data name="relax_log" format="txt"/> |
41 <data name="relax_output" format="hyphy_results.json" from_work_dir="relax_input.fa.RELAX.json"/> | 44 <data name="relax_output" format="hyphy_results.json"/> |
42 </outputs> | 45 </outputs> |
43 <tests> | 46 <tests> |
44 <test> | 47 <test> |
45 <param name="input_file" ftype="fasta" value="relax-in1.fa"/> | 48 <param name="input_file" ftype="fasta" value="relax-in1.fa"/> |
46 <param name="input_nhx" ftype="nhx" value="relax-in1.nhx"/> | 49 <param name="input_nhx" ftype="nhx" value="relax-in1.nhx"/> |