# HG changeset patch # User leomrtns # Date 1576676782 0 # Node ID a396ccf6079c6280e953f9e2cfb8ab4844435c91 # Parent 87daf702e47712a49c2ccbbd197402de095489fb "planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/iqtree" diff -r 87daf702e477 -r a396ccf6079c iqtree.xml --- a/iqtree.xml Thu Sep 05 13:14:43 2019 -0400 +++ b/iqtree.xml Wed Dec 18 13:46:22 2019 +0000 @@ -16,8 +16,8 @@ #end if ## file -#if $general_options.t - -t '$general_options.t' +#if str($initial_tree.mode.tree) == "file" + -t '$initial_tree.mode.t' $tree_parameters.constructing_consensus.con $tree_parameters.constructing_consensus.net #if str($tree_parameters.constructing_consensus.bi) != '' @@ -39,11 +39,27 @@ $tree_parameters.computing_robinson_foulds.rf_all $tree_parameters.computing_robinson_foulds.rf_adj #end if -#end if +#else if str($initial_tree.mode.tree) == "fixed" + -te '$initial_tree.mode.te' +#else if str($initial_tree.mode.tree) == "default" + #if str($initial_tree.mode.ninit) != '' + -ninit '$initial_tree.mode.ninit' + #end if + #if str($initial_tree.mode.sprrad) != '' + -sprrad '$initial_tree.mode.sprrad' + #end if +#else if str($initial_tree.mode.tree) == "fast" + -fast -nbest 1 +#else if str($initial_tree.mode.tree) == "pars" + -t PARS -ninit 2 -nbest 1 +#else + -t BIONJ -ninit 2 -nbest 1 +#end if -## file -#if $general_options.te - -te '$general_options.te' +#if str($initial_tree.mode.tree) in ["fixed", "default", "file"]: + #if str($tree_parameters.tree_search.nbest) != '' + -nbest '$tree_parameters.tree_search.nbest' + #end if #end if #if str($general_options.st) != '' @@ -154,18 +170,11 @@ $modelling_parameters.site_specific_frequency.fmax - -#if str($tree_parameters.tree_search.ninit) != '' - -ninit '$tree_parameters.tree_search.ninit' -#end if - #if str($tree_parameters.tree_search.ntop) != '' -ntop '$tree_parameters.tree_search.ntop' #end if -#if str($tree_parameters.tree_search.nbest) != '' - -nbest '$tree_parameters.tree_search.nbest' -#end if + #if str($tree_parameters.tree_search.nstop) != '' -nstop '$tree_parameters.tree_search.nstop' @@ -175,17 +184,12 @@ -n '$tree_parameters.tree_search.n' #end if -#if str($tree_parameters.tree_search.sprrad) != '' - -sprrad '$tree_parameters.tree_search.sprrad' -#end if - #if str($tree_parameters.tree_search.pers) != '' -pers '$tree_parameters.tree_search.pers' #end if $tree_parameters.tree_search.allnni $tree_parameters.tree_search.djc -$tree_parameters.tree_search.fast ## file #if $tree_parameters.tree_search.g @@ -278,23 +282,77 @@
- -st NT2AA tells IQ-TREE to translate protein-coding DNA into AA sequences and then subsequent analysis will work on the AA sequences. You can also use a genetic code like -st NT2AA5 for the Invertebrate Mitochondrial Code (see genetic code table).]]> - + -st NT2AA tells IQ-TREE to translate protein-coding DNA into AA sequences and then subsequent analysis will work on the AA sequences. + You can also use a genetic code like -st NT2AA5 for the Invertebrate Mitochondrial Code (see genetic code table). + ]]> + - -
+ +
+ + + + + + + + + + The default parsimony estimation is through the PLL library, which is linear on the number of sites and not patterns (so slower than other algorithms). + Notice that this library is also used to populate the "initial parsimony trees" set ("-ninit" below), so keep that in mind.
+ +
According to the documentation (see http://www.iqtree.org/doc/Command-Reference#tree-search-parameters), the option "-fast" + "Turn on the fast tree search mode, where IQ-TREE will just construct two starting trees: maximum parsimony and BIONJ, which are then optimized + by nearest neighbor interchange (NNI)." + If you chose fast parsimony, fasttree, or bioNJ, it is assumed that the initial set of trees is two ("-ninit 2") since doing otherwise would defeat the purpose + of avoiding the default PLL.
+
You can also select a tree file as input to IQ_TREE. In most cases this tree file is used as + initial state for optimisation (or as a fixed topology). But in some cases it is used for consensus tree calculation or Robinson-Foulds distances. + There are a few reasons why you should provide trees to IQ-TREE: +
    +
  • Through a constrained tree search, where you give a (potentially small, multifurcating) tree which should be respected when searching for optimal trees. + This is given through option "-g". You use this option when you "know" or want to test a specific grouping of taxa. (Section "Tree search parameters")
  • +
  • Input trees for tree fit comparison, as in section "Tree topology tests" below. IQ-TREE may still do model optimisation, initial tree search, etc. since + it compares the user-provided trees assuming a common model.
  • +
  • Suggest the initial trees (option "-t"). From these, IQ-TREE will start exploring trees (to speed up the tree search in case you already have + good candidate trees). This same command (i.e. same tree file) can also be used for calculating consensus trees or distances between trees. The other options will + inform IQ-TREE how it should use this file (here, the default is to use it as starting tree).
  • +
  • By fixing the tree (option "-te"). This means that IQ-TREE will not try any optimisation with other topologies, and can be used e.g. in ancestral reconstruction.
  • +
+ ]]>
+ + + + + + + + + + + + + + +
+
+
@@ -303,7 +361,12 @@
- + + See http://www.iqtree.org/doc/Substitution-Models for a full list]]> + @@ -426,25 +489,18 @@
- - Emulates fasttree. According to the documentation (see http://www.iqtree.org/doc/Command-Reference#tree-search-parameters): -
"Turn on the fast tree search mode, where IQ-TREE will just construct two starting trees: maximum parsimony and BIONJ, which are then optimized - by nearest neighbor interchange (NNI). Introduced in version 1.6." -
Some options below may therefore be unused (e.g. the initial number of parsimony trees...) - ]]> -
- + + - + - - - - - - + +
@@ -452,7 +508,14 @@
- + + + + diff -r 87daf702e477 -r a396ccf6079c readme.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/readme.txt Wed Dec 18 13:46:22 2019 +0000 @@ -0,0 +1,1 @@ +ninit > nbest+1 always