Repository 'iqtree'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/iqtree

Changeset 11:563c3aa769f2 (2021-09-27)
Previous changeset 10:b8476e82ac20 (2021-09-08) Next changeset 12:9b892d7f82cc (2021-11-27)
Commit message:
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/iqtree/ commit 72a0164fcc4430240241ac057974f8bb87b4e04f"
modified:
iqtree.xml
b
diff -r b8476e82ac20 -r 563c3aa769f2 iqtree.xml
--- a/iqtree.xml Wed Sep 08 06:42:34 2021 +0000
+++ b/iqtree.xml Mon Sep 27 15:55:35 2021 +0000
[
@@ -1,7 +1,7 @@
 <tool id="iqtree" name="IQ-TREE" version="@TOOL_VERSION@+@VERSION_SUFFIX@" >
     <description>Phylogenomic / evolutionary tree construction from multiple sequences</description>
     <macros>
-        <token name="@VERSION_SUFFIX@">galaxy1</token>
+        <token name="@VERSION_SUFFIX@">galaxy2</token>
         <import>iqtree_macros.xml</import>
     </macros>
     <expand macro="requirements" />
@@ -27,8 +27,8 @@
 ## file
 #if $general_options.t
     -t '$general_options.t'
-    $tree_parameters.constructing_consensus.con_tree
-    $tree_parameters.constructing_consensus.con_net
+    $tree_parameters.constructing_consensus.contree
+    $tree_parameters.constructing_consensus.connet
     #if str($tree_parameters.constructing_consensus.burnin) != ''
         --burnin '$tree_parameters.constructing_consensus.burnin'
     #end if
@@ -43,10 +43,10 @@
     #end if
 
     ## file
-    #if $tree_parameters.computing_robinson_foulds.rf
-        -rf '$tree_parameters.computing_robinson_foulds.rf'
+    #if $tree_parameters.computing_robinson_foulds.tree_dist_all
         $tree_parameters.computing_robinson_foulds.tree_dist_all
-        $tree_parameters.computing_robinson_foulds.rf_adj
+        --tree-dist $tree_parameters.computing_robinson_foulds.tree_dist
+        --tree-dist2 $tree_parameters.computing_robinson_foulds.tree_dist2
     #end if
     $tree_parameters.ancestral_state.ancestral
     #if $tree_parameters.ancestral_state.asr_min:
@@ -602,8 +602,8 @@
                 <param argument="--test-au" type="boolean" truevalue="--test-au" falsevalue="" checked="false" label="Used together with --test to additionally perform the approximately unbiased (AU) test (Shimodaira, 2002)" help="Note that you have to specify the number of replicates for the AU test via -test."/>
             </section>
             <section name="constructing_consensus" expanded="False" title="Constructing consensus tree">
-                <param argument="--con-tree" type="boolean" truevalue="--con-tree" falsevalue="" checked="false" label="Compute consensus tree of the trees passed via -t" help="Resulting consensus tree is written to .contree file."/>
-                <param argument="--con-net" type="boolean" truevalue="--con-net" falsevalue="" checked="false" label="Compute consensus network of the trees passed via -t" help="Resulting consensus network is written to .nex file."/>
+                <param argument="--contree" type="boolean" truevalue="--contree" falsevalue="" checked="false" label="Compute consensus tree of the trees passed via -t" help="Resulting consensus tree is written to .contree file."/>
+                <param argument="--connet" type="boolean" truevalue="--connet" falsevalue="" checked="false" label="Compute consensus network of the trees passed via -t" help="Resulting consensus network is written to .nex file."/>
                 <param argument="--sup-min" type="float" value="0.0" optional="true" label="Specify a minimum threshold (between 0 and 1) to keep branches in the consensus tree"/>
                 <param argument="--burnin" type="integer" optional="true" label="Specify a burn-in, which is the number of beginning trees passed via -t to discard before consensus construction" help="This is useful e.g. when summarizing trees from MrBayes analysis."/>
                 <param argument="--support" type="data" format="nhx" optional="true" label="Specify an input “target” tree file" help="That means, support values are first extracted from the trees passed via -t, and then mapped onto the target tree. Resulting tree with assigned support values is written to .suptree file. This option is useful to map and compare support values from different approaches onto a single tree."/>
@@ -686,7 +686,9 @@
     <outputs>
         <data name="bionj" format="nhx" from_work_dir="*.bionj" label="${tool.name} on ${on_string}: BIONJ Tree" />
         <data name="treefile" format="nhx" from_work_dir="*.treefile" label="${tool.name} on ${on_string}: MaxLikelihood Tree" />
-        <data name="contree" format="nhx" from_work_dir="*.contree" label="${tool.name} on ${on_string}: Consensus Tree" />
+        <data name="consensus_tree" format="nhx" from_work_dir="*.contree" label="${tool.name} on ${on_string}: Consensus Tree">
+            <filter>tree_parameters['constructing_consensus']['contree']</filter>
+        </data>
         <data name="mldist" format="mldist" from_work_dir="*.mldist" label="${tool.name} on ${on_string}: MaxLikelihood Distance Matrix"/>
         <data name="splits" format="nex" from_work_dir="*.splits.nex" label="${tool.name} on ${on_string}: Occurence Frequencies in Bootstrap Trees" />
         <data name="iqtree" format="iqtree" from_work_dir="*.iqtree" label="${tool.name} on ${on_string}: Report and Final Tree" />
@@ -701,7 +703,7 @@
         </data>
     </outputs>
     <tests>
-        <test expect_num_outputs="6">
+        <test expect_num_outputs="5">
             <param name="seed" value="1257" />
             <param name="seqtype" value="AA" />
             <param name="s" value="example.phy" />
@@ -733,7 +735,7 @@
                     <has_line_matching expression="\(LngfishAu:(\d|\..)+,\(LngfishSA:(\d.)+,.*" />
                 </assert_contents>
             </output>
-            <output name="contree">
+            <output name="consensus_tree">
                 <assert_contents>
                     <has_line_matching
                         expression="\(LngfishAu:(\d|\..)+,\(LngfishSA:(\d.)+,.*\)\d+:(\d|\.)+,.*" />
@@ -746,7 +748,7 @@
                 </assert_contents>
             </output>
         </test>
-        <test expect_num_outputs="6">
+        <test expect_num_outputs="5">
             <!-- bootstrap sans model -->
             <param name="seed" value="1257" />
             <param name="seqtype" value="AA" />
@@ -780,7 +782,7 @@
                 </assert_contents>
             </output>
         </test>
-        <test expect_num_outputs="6">
+        <test expect_num_outputs="5">
             <!-- model sans bootstrap -->
             <param name="seed" value="1257" />
             <param name="seqtype" value="AA" />
@@ -814,7 +816,7 @@
                 </assert_contents>
             </output>
         </test>
-        <test expect_num_outputs="6">
+        <test expect_num_outputs="5">
             <param name="s" value="example.phy" />
             <output name="iqtree">
                 <assert_contents>
@@ -827,7 +829,7 @@
                 </assert_contents>
             </output>
         </test>
-        <test expect_num_outputs="6">
+        <test expect_num_outputs="5">
             <param name="s" value="example.phy" />
             <param name="opt_custommodel" value="true" />
             <param name="m" value="GTR+G{0.9}" />
@@ -842,7 +844,7 @@
                 </assert_contents>
             </output>
         </test>
-        <test expect_num_outputs="6">
+        <test expect_num_outputs="5">
             <param name="s" value="short.fasta" />
             <param name="short_alignments" value="true" />
             <output name="treefile">
@@ -851,7 +853,7 @@
                 </assert_contents>
             </output>
         </test>
-        <test expect_num_outputs="8">
+        <test expect_num_outputs="7">
             <param name="s" value="dates.fa" />
             <param name="n" value="100" />
             <param name="seed" value="122125" />