Mercurial > repos > iuc > iqtree
changeset 1:288db50d1fb9 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/iqtree/ commit d4423a8641e86485dde733e8148c5bced4d8410c
author | iuc |
---|---|
date | Sat, 25 Nov 2017 18:17:09 -0500 |
parents | 05ee0a74faef |
children | d1c340a5664b |
files | iqtree.xml |
diffstat | 1 files changed, 305 insertions(+), 237 deletions(-) [+] |
line wrap: on
line diff
--- a/iqtree.xml Wed Nov 15 12:45:24 2017 -0500 +++ b/iqtree.xml Sat Nov 25 18:17:09 2017 -0500 @@ -1,4 +1,4 @@ -<tool id="iqtree" name="IQ-TREE" version="1.5.5" > +<tool id="iqtree" name="IQ-TREE" version="1.5.5.1" > <description>Phylogenomic / evolutionary tree construction from multiple sequences</description> <requirements> <requirement type="package" version="1.5.5">iqtree</requirement> @@ -6,7 +6,7 @@ <command detect_errors='exit_code' ><![CDATA[ iqtree -pre PREF - -nt AUTO + -nt \${GALAXY_SLOTS:-10} -redo ## file @@ -17,6 +17,27 @@ ## file #if $general_options.t -t '$general_options.t' + $tree_parameters.constructing_consensus.con + $tree_parameters.constructing_consensus.net + #if str($tree_parameters.constructing_consensus.bi) != '' + -bi '$tree_parameters.constructing_consensus.bi' + #end if + + ## file + #if $tree_parameters.constructing_consensus.sup + -sup '$tree_parameters.constructing_consensus.sup' + #end if + + #if str($tree_parameters.constructing_consensus.suptag) != '' + -suptag '$tree_parameters.constructing_consensus.suptag' + #end if + + ## file + #if $tree_parameters.computing_robinson_foulds.rf + -rf '$tree_parameters.computing_robinson_foulds.rf' + $tree_parameters.computing_robinson_foulds.rf_all + $tree_parameters.computing_robinson_foulds.rf_adj + #end if #end if ## file @@ -53,15 +74,15 @@ #if str($modelling_parameters.automatic_model.rcluster) != '' -rcluster '$modelling_parameters.automatic_model.rcluster' #end if - + #if str($modelling_parameters.automatic_model.mset) != '' -mset '$modelling_parameters.automatic_model.mset' #end if - + #if str($modelling_parameters.automatic_model.msub) != '' -msub '$modelling_parameters.automatic_model.msub' #end if - + #if str($modelling_parameters.automatic_model.mfreq) != '' -mfreq '$modelling_parameters.automatic_model.mfreq' #end if @@ -189,33 +210,10 @@ $tree_parameters.tree_topology.zw $tree_parameters.tree_topology.au -$tree_parameters.constructing_consensus.con -$tree_parameters.constructing_consensus.net - #if str($tree_parameters.constructing_consensus.minsup) != '' -minsup '$tree_parameters.constructing_consensus.minsup' #end if -#if str($tree_parameters.constructing_consensus.bi) != '' - -bi '$tree_parameters.constructing_consensus.bi' -#end if - -## file -#if $tree_parameters.constructing_consensus.sup - -sup '$tree_parameters.constructing_consensus.sup' -#end if - -#if str($tree_parameters.constructing_consensus.suptag) != '' - -suptag '$tree_parameters.constructing_consensus.suptag' -#end if - -## file -#if $tree_parameters.computing_robinson_foulds.rf - -rf '$tree_parameters.computing_robinson_foulds.rf' -#end if - -$tree_parameters.computing_robinson_foulds.rf_all -$tree_parameters.computing_robinson_foulds.rf_adj #if str($tree_parameters.generating_random.r) != '' -r '$tree_parameters.generating_random.r' @@ -262,7 +260,7 @@ #if str($bootstrap_parameters.nonparametric_bootstrap.b) != '' -b '$bootstrap_parameters.nonparametric_bootstrap.b' #end if - + $bootstrap_parameters.nonparametric_bootstrap.bc $bootstrap_parameters.nonparametric_bootstrap.bo @@ -273,46 +271,47 @@ ]]> </command> <inputs> - <section name="general_options" expanded="True" title="General options"> + <section name="general_options" expanded="True" title="General options"> <param argument="-s" type="data" format="txt" optional="true" label="Specify input alignment file in PHYLIP, FASTA, NEXUS, CLUSTAL or MSF format."/> <param argument="-st" type="select" label="Specify sequence type as either of DNA, AA, BIN, MORPH, CODON or NT2AA for DNA, amino-acid, binary, morphological, codon or DNA-to-AA-translated sequences"> - <help><![CDATA[ + <help><![CDATA[ Note that -st CODON is always necessary when using codon models and you also need to specify a genetic code like this if differed from the standard genetic code. -<br /><i>-st</i> 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).]]> - </help> - <option value="DNA">DNA</option> - <option value="AA">AA</option> - <option value="BIN">BIN</option> - <option value="MORPH">MORPH</option> - <option value="CODON">CODON</option> - <option value="NT2AA">NT2AA</option> +<br/><i>-st</i> 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).]]> + </help> + <option value="DNA">DNA</option> + <option value="AA">AA</option> + <option value="BIN">BIN</option> + <option value="MORPH">MORPH</option> + <option value="CODON">CODON</option> + <option value="NT2AA">NT2AA</option> </param> <param argument="-t" type="data" format="nhx" optional="true" label="Specify a file containing starting tree for tree search"/> <param argument="-te" type="data" format="nhx" optional="true" label="Like -t but fixing user tree" help="That means, no tree search is performed and IQ-TREE computes the log-likelihood of the fixed user tree."/> <param argument="-seed" type="integer" optional="true" label="Specify a random number seed to reproduce a previous run (leave blank to randomize)"/> <param argument="-keep_ident" type="boolean" truevalue="-keep-ident" falsevalue="" checked="false" label="Keep identical sequences in the alignment" help="By default: IQ-TREE will remove them during the analysis and add them in the end."/> <param argument="-safe" type="boolean" truevalue="-safe" falsevalue="" checked="false" label="Turn on safe numerical mode to avoid numerical underflow for large data sets with many sequences (typically in the order of thousands)" help="This mode is automatically turned on when having more than 2000 sequences."/> - </section> - <section name="likelihood_mapping" expanded="False" title="Likelihood mapping analysis"> + </section> + <section name="likelihood_mapping" expanded="False" title="Likelihood mapping analysis"> <param argument="-lmap" type="integer" optional="true" label="Specify the number of quartets to be randomly drawn" help="If you specify -lmap ALL, all unique quartets will be drawn, instead."/> <param argument="-lmclust" type="data" format="txt" optional="true" label="Specify a NEXUS file containing taxon clusters (see below for example) for quartet mapping analysis."/> <param argument="-wql" type="boolean" truevalue="-wql" falsevalue="" checked="false" label="Write quartet log-likelihoods into .lmap.quartetlh file (typically not needed)."/> - </section> - <section name="modelling_parameters" title="Modelling Parameters"> + </section> + <section name="modelling_parameters" title="Modelling Parameters"> <section name="automatic_model" expanded="False" title="Automatic model selection"> - <conditional name="cond_model" > - <param name="opt_custommodel" type="boolean" checked="false" label="Use Custom Model" help="See http://www.iqtree.org/doc/Substitution-Models"/> - <when value="true"> - <param argument="-m" type="text" label="Model"> - <sanitizer> - <valid initial="string.ascii_uppercase,+" /> - </sanitizer> - </param> - </when> - <when value="false"> - <param argument="-m" type="select" label="Perform standard model selection like jModelTest (for DNA) and ProtTest (for protein)" > - <help><![CDATA[ -Moreover, IQ-TREE also works for codon, binary and morphogical data. + <conditional name="cond_model" > + <param name="opt_custommodel" type="boolean" checked="false" label="Use Custom Model" help="See http://www.iqtree.org/doc/Substitution-Models"/> + <when value="true"> + <param argument="-m" type="text" label="Model"> + <sanitizer> + <valid initial="string.ascii_uppercase,+" /> + </sanitizer> + </param> + </when> + <when value="false"> + <param argument="-m" type="select" label="Perform standard model selection like jModelTest (for DNA) and ProtTest (for protein)" > + <help><![CDATA[ +<b>Note:</b> Only <code>TEST</code> and custom models that do not rely on <code>MF</code> can be used in conjunction with bootstrap parameters (-b)<br/><br/> +IQ-TREE also works for codon, binary and morphogical data. <table> <tr> <td><i>TESTONLY</i></td> @@ -348,174 +347,175 @@ </tr> </table> ]]> - </help> - <option value="TESTONLY">TESTONLY</option> - <option value="TEST">TEST</option> - <option value="TESTNEWONLY">TESTNEWONLY</option> - <option value="TESTNEW">TESTNEW</option> - <option value="TESTMERGEONLY">TESTMERGEONLY</option> - <option value="TESTMERGE">TESTMERGE</option> - <option value="TESTNEWMERGEONLY">TESTNEWMERGEONLY</option> - <option value="TESTNEWMERGE">TESTNEWMERGE</option> - </param> - </when> - </conditional> - <param argument="-rcluster" type="integer" optional="true" label="Specify the percentage for the relaxed clustering algorithm (Lanfear et al., 2014)" help="This is similar to --rcluster-percent option of PartitionFinder. For example, with -rcluster 10 only the top 10% partition schemes are considered to save computations." /> - <param argument="-mset" type="text" optional="true" label="Specify the name of a program (raxml, phyml or mrbayes) to restrict to only those models supported by the specified program" help="Alternatively, one can specify a comma-separated list of base models. For example, -mset WAG,LG,JTT will restrict model selection to WAG, LG, and JTT instead of all 18 AA models to save computations."> - <sanitizer> - <valid initial="string.ascii_uppercase,string.punctuation" /> - </sanitizer> - </param> - <param argument="-msub" type="select" label="Specify either nuclear, mitochondrial, chloroplast or viral to restrict to those AA models designed for specified source." help=""> - <option value="nuclear">nuclear</option> - <option value="mitochondrial">mitochondrial</option> - <option value="chloroplast">chloroplast</option> - <option value="viral">viral</option> - </param> - <param argument="-mfreq" type="text" optional="true" label="Specify a comma-separated list of frequency types for model selection" > - <sanitizer> - <valid initial="string.ascii_uppercase,string.digits,x,string.punctuation" /> - </sanitizer> - </param> - <param argument="-mrate" type="text" optional="true" label="Specify a comma-separated list of rate heterogeneity types for model selection"> - <sanitizer> - <valid initial="string.ascii_uppercase,string.punctuation" /> - </sanitizer> - </param> - <param argument="-cmin" type="integer" value="2" optional="true" label="Specify minimum number of categories for FreeRate model"/> - <param argument="-cmax" type="integer" value="10" optional="true" label="Specify maximum number of categories for FreeRate model"/> - <param argument="-merit" type="select" label="Specify either AIC, AICc or BIC for the optimality criterion to apply for new procedure" help=""> - <option value="AIC">AIC</option> - <option value="AICc">AICc</option> - <option value="BIC">BIC</option> - </param> - <param argument="-mtree" type="boolean" truevalue="-mtree" falsevalue="" checked="false" label="Turn on full tree search for each model considered, to obtain more accurate result"/> - <param argument="-madd" type="text" optional="true" label="Specify a comma-separated list of mixture models to additionally consider for model selection" help="For example, -madd LG4M,LG4X to additionally include these two protein mixture models."> - <sanitizer> - <valid initial="string.ascii_uppercase,string.digits,string.punctuation" /> - </sanitizer> - </param> - <param argument="-mdef" type="data" format="txt" optional="true" label="Specify a NEXUS model file to define new models."/> + </help> + <option value="" selected="true">(None)</option> + <option value="TESTONLY">TESTONLY</option> + <option value="TEST">TEST</option> + <option value="TESTNEWONLY">TESTNEWONLY</option> + <option value="TESTNEW">TESTNEW</option> + <option value="TESTMERGEONLY">TESTMERGEONLY</option> + <option value="TESTMERGE">TESTMERGE</option> + <option value="TESTNEWMERGEONLY">TESTNEWMERGEONLY</option> + <option value="TESTNEWMERGE">TESTNEWMERGE</option> + </param> + </when> + </conditional> + <param argument="-rcluster" type="integer" optional="true" label="Specify the percentage for the relaxed clustering algorithm (Lanfear et al., 2014)" help="This is similar to --rcluster-percent option of PartitionFinder. For example, with -rcluster 10 only the top 10% partition schemes are considered to save computations." /> + <param argument="-mset" type="text" optional="true" label="Specify the name of a program (raxml, phyml or mrbayes) to restrict to only those models supported by the specified program" help="Alternatively, one can specify a comma-separated list of base models. For example, -mset WAG,LG,JTT will restrict model selection to WAG, LG, and JTT instead of all 18 AA models to save computations."> + <sanitizer> + <valid initial="string.ascii_uppercase,string.punctuation" /> + </sanitizer> + </param> + <param argument="-msub" type="select" label="Specify either nuclear, mitochondrial, chloroplast or viral to restrict to those AA models designed for specified source." help=""> + <option value="nuclear">nuclear</option> + <option value="mitochondrial">mitochondrial</option> + <option value="chloroplast">chloroplast</option> + <option value="viral">viral</option> + </param> + <param argument="-mfreq" type="text" optional="true" label="Specify a comma-separated list of frequency types for model selection" > + <sanitizer> + <valid initial="string.ascii_uppercase,string.digits,x,string.punctuation" /> + </sanitizer> + </param> + <param argument="-mrate" type="text" optional="true" label="Specify a comma-separated list of rate heterogeneity types for model selection"> + <sanitizer> + <valid initial="string.ascii_uppercase,string.punctuation" /> + </sanitizer> + </param> + <param argument="-cmin" type="integer" value="2" optional="true" label="Specify minimum number of categories for FreeRate model"/> + <param argument="-cmax" type="integer" value="10" optional="true" label="Specify maximum number of categories for FreeRate model"/> + <param argument="-merit" type="select" label="Specify either AIC, AICc or BIC for the optimality criterion to apply for new procedure" help=""> + <option value="AIC">AIC</option> + <option value="AICc">AICc</option> + <option value="BIC">BIC</option> + </param> + <param argument="-mtree" type="boolean" truevalue="-mtree" falsevalue="" checked="false" label="Turn on full tree search for each model considered, to obtain more accurate result"/> + <param argument="-madd" type="text" optional="true" label="Specify a comma-separated list of mixture models to additionally consider for model selection" help="For example, -madd LG4M,LG4X to additionally include these two protein mixture models."> + <sanitizer> + <valid initial="string.ascii_uppercase,string.digits,string.punctuation" /> + </sanitizer> + </param> + <param argument="-mdef" type="data" format="txt" optional="true" label="Specify a NEXUS model file to define new models."/> + </section> + <section name="specifying_substitution" expanded="False" title="Specifying substitution models"> + <param argument="-mwopt" type="boolean" truevalue="-mwopt" falsevalue="" checked="false" label="Turn on optimizing weights of mixture models" help="Note that for models like LG+C20+F+G this mode is automatically turned on, but not for LG+C20+G."/> + </section> + <section name="rate_heterogeneity" expanded="False" title="Rate heterogeneity"> + <param argument="-a" type="text" optional="true" label="Specify the Gamma shape parameter (default: estimate)"> + <sanitizer> + <valid initial="string.printable" /> + </sanitizer> + </param> + <param argument="-gmedian" type="boolean" truevalue="-gmedian" falsevalue="" checked="false" label="Perform the median approximation for Gamma rate heterogeneity instead of the default mean approximation (Yang, 1994)"/> + <param argument="-i" type="text" optional="true" label="Specify the proportion of invariable sites (default: estimate)"> + <sanitizer> + <valid initial="string.printable" /> + </sanitizer> + </param> + <param argument="--opt_gamma_inv" type="boolean" truevalue="--opt-gamma-inv" falsevalue="" checked="false" label="Perform more thorough estimation for +I+G model parameters"/> + <param argument="-wsr" type="boolean" truevalue="-wsr" falsevalue="" checked="false" label="Write per-site rates to .rate file"/> + </section> + <section name="partition_model" expanded="False" title="Partition model options"> + <param argument="-q" type="data" format="txt" optional="true" label="Specify partition file for edge-equal partition model" help="That means, all partitions share the same set of branch lengths (like -q option of RAxML)."/> + <param argument="-spp" type="boolean" truevalue="-spp" falsevalue="" checked="false" label="Like -q but allowing partitions to have different evolutionary speeds (edge-proportional partition model)."/> + <param argument="-sp" type="data" format="txt" optional="true" label="Specify partition file for edge-unlinked partition model" help="That means, each partition has its own set of branch lengths (like -M option of RAxML). This is the most parameter-rich partition model to accomodate heterotachy."/> + </section> + <section name="site_specific_frequency" expanded="False" title="Site-specific frequency model options"> + <param argument="-ft" type="data" format="nhx" optional="true" label="Specify a guide tree to infer site frequency profiles."/> + <param argument="-fs" type="float" optional="true" label="Specify a site frequency file, e.g" help="the .sitefreq file obtained from -ft run. This will save memory used for the first phase of the analysis."/> + <param argument="-fmax" type="boolean" truevalue="-fmax" falsevalue="" checked="false" label="Switch to posterior maximum mode for obtaining site-specific profiles" help="Default: posterior mean."/> </section> - <section name="specifying_substitution" expanded="False" title="Specifying substitution models"> - <param argument="-mwopt" type="boolean" truevalue="-mwopt" falsevalue="" checked="false" label="Turn on optimizing weights of mixture models" help="Note that for models like LG+C20+F+G this mode is automatically turned on, but not for LG+C20+G."/> - </section> - <section name="rate_heterogeneity" expanded="False" title="Rate heterogeneity"> - <param argument="-a" type="text" optional="true" label="Specify the Gamma shape parameter (default: estimate)"> - <sanitizer> - <valid initial="string.printable" /> - </sanitizer> - </param> - <param argument="-gmedian" type="boolean" truevalue="-gmedian" falsevalue="" checked="false" label="Perform the median approximation for Gamma rate heterogeneity instead of the default mean approximation (Yang, 1994)"/> - <param argument="-i" type="text" optional="true" label="Specify the proportion of invariable sites (default: estimate)"> - <sanitizer> - <valid initial="string.printable" /> - </sanitizer> - </param> - <param argument="--opt_gamma_inv" type="boolean" truevalue="--opt-gamma-inv" falsevalue="" checked="false" label="Perform more thorough estimation for +I+G model parameters"/> - <param argument="-wsr" type="boolean" truevalue="-wsr" falsevalue="" checked="false" label="Write per-site rates to .rate file"/> - </section> - <section name="partition_model" expanded="False" title="Partition model options"> - <param argument="-q" type="data" format="txt" optional="true" label="Specify partition file for edge-equal partition model" help="That means, all partitions share the same set of branch lengths (like -q option of RAxML)."/> - <param argument="-spp" type="boolean" truevalue="-spp" falsevalue="" checked="false" label="Like -q but allowing partitions to have different evolutionary speeds (edge-proportional partition model)."/> - <param argument="-sp" type="data" format="txt" optional="true" label="Specify partition file for edge-unlinked partition model" help="That means, each partition has its own set of branch lengths (like -M option of RAxML). This is the most parameter-rich partition model to accomodate heterotachy."/> - </section> - <section name="site_specific_frequency" expanded="False" title="Site-specific frequency model options"> - <param argument="-ft" type="data" format="nhx" optional="true" label="Specify a guide tree to infer site frequency profiles."/> - <param argument="-fs" type="float" optional="true" label="Specify a site frequency file, e.g" help="the .sitefreq file obtained from -ft run. This will save memory used for the first phase of the analysis."/> - <param argument="-fmax" type="boolean" truevalue="-fmax" falsevalue="" checked="false" label="Switch to posterior maximum mode for obtaining site-specific profiles" help="Default: posterior mean."/> - </section> - </section> - <section name="tree_parameters" title="Tree Parameters"> - <section name="tree_search" expanded="False" title="Tree search parameters"> - <param argument="-n" type="integer" optional="true" label="Skip subsequent tree search (n = 0), useful when you only want to assess the phylogenetic information of the alignment. Otherwise specify number of iterations to stop (this option overrides -nstop criterion)." /> - <param argument="-ninit" type="integer" value="100" optional="true" label="Specify number of initial parsimony trees"/> - <param argument="-ntop" type="integer" value="20" optional="true" label="Specify number of top initial parsimony trees to optimize with ML nearest neighbor interchange (NNI) search to initialize the candidate set"/> - <param argument="-nbest" type="integer" value="5" optional="true" label="Specify number of trees in the candidate set to maintain during ML tree search"/> - <param argument="-nstop" type="integer" value="100" optional="true" label="Specify number of unsuccessful iterations to stop"/> - <param argument="-sprrad" type="integer" value="6" optional="true" label="Specify SPR radius for the initial parsimony tree search"/> - <param argument="-pers" type="float" value="0.5" optional="true" label="Specify perturbation strength (between 0 and 1) for randomized NNI"/> - <param argument="-allnni" type="boolean" truevalue="-allnni" falsevalue="" checked="false" label="Turn on more thorough and slower NNI search"/> - <param argument="-djc" type="boolean" truevalue="-djc" falsevalue="" checked="false" label="Avoid computing ML pairwise distances and BIONJ tree."/> - <param argument="-g" type="data" format="txt" optional="true" label="Specify a topological constraint tree file in NEWICK format" help="The constraint tree can be a multifurcating tree and need not to include all taxa."/> - </section> - <section name="single_branch" expanded="False" title="Single branch tests"> - <param argument="-alrt" type="integer" optional="true" label="Specify number of replicates (>=1000) to perform SH-like approximate likelihood ratio test (SH-aLRT) (Guindon et al., 2010)" help="If number of replicates is set to 0 (-alrt 0), then the parametric aLRT test (Anisimova and Gascuel 2006) is performed, instead of SH-aLRT."/> - <param argument="-abayes" type="boolean" truevalue="-abayes" falsevalue="" checked="false" label="Perform approximate Bayes test (Anisimova et al., 2011)."/> - <param argument="-lbp" type="integer" optional="true" label="Specify number of replicates (>=1000) to perform fast local bootstrap probability method (Adachi and Hasegawa, 1996)."/> - </section> - <section name="tree_topology" expanded="False" title="Tree topology tests"> - <param argument="-z" type="data" format="txt" optional="true" label="Specify a file containing a set of trees" help="IQ-TREE will compute the log-likelihoods of all trees."/> - <param argument="-zb" type="integer" optional="true" label="Specify the number of RELL (Kishino et al., 1990) replicates (>=1000) to perform several tree topology tests for all trees passed via -z" help="The tests include bootstrap proportion (BP), KH test (Kishino and Hasegawa, 1989), SH test (Shimodaira and Hasegawa, 1999) and expected likelihood weights (ELW) (Strimmer and Rambaut, 2002)."/> - <param argument="-zw" type="boolean" truevalue="-zw" falsevalue="" checked="false" label="Used together with -zb to additionally perform the weighted-KH and weighted-SH tests."/> - <param argument="-au" type="boolean" truevalue="-au" falsevalue="" checked="false" label="Used together with -zb 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 -zb."/> - </section> - <section name="constructing_consensus" expanded="False" title="Constructing consensus tree"> - <param argument="-con" type="boolean" truevalue="-con" falsevalue="" checked="false" label="Compute consensus tree of the trees passed via -t" help="Resulting consensus tree is written to .contree file."/> - <param argument="-net" type="boolean" truevalue="-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="-minsup" 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="-bi" 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="-sup" 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."/> - <param argument="-suptag" type="text" optional="true" label="Specify name of a node in -sup target tree" help="The corresponding node of .suptree will then be assigned with IDs of trees where this node appears. Special option -suptag ALL will assign such IDs for all nodes of the target tree."/> - </section> - <section name="computing_robinson_foulds" expanded="False" title="Computing Robinson-Foulds distance"> - <param argument="-rf" type="data" format="nhx" optional="true" label="Specify a second set of trees" help="IQ-TREE computes all pairwise RF distances between two tree sets passed via -t and -rf"/> - <param argument="-rf_all" type="boolean" truevalue="-rf_all" falsevalue="" checked="false" label="Compute all-to-all RF distances between all trees passed via -t"/> - <param argument="-rf_adj" type="boolean" truevalue="-rf_adj" falsevalue="" checked="false" label="Compute RF distances between adjacent trees passed via -t"/> - </section> - <section name="generating_random" expanded="False" title="Generating random trees"> - <param argument="-r" type="integer" optional="true" label="Specify number of taxa" help="IQ-TREE will create a random tree under Yule-Harding model with specified number of taxa"/> - <param argument="-ru" type="boolean" truevalue="-ru" falsevalue="" checked="false" label="Like -r, but a random tree is created under uniform model."/> - <param argument="-rcat" type="boolean" truevalue="-rcat" falsevalue="" checked="false" label="Like -r, but a random caterpillar tree is created."/> - <param argument="-rbal" type="boolean" truevalue="-rbal" falsevalue="" checked="false" label="Like -r, but a random balanced tree is created."/> - <param argument="-rcsg" type="boolean" truevalue="-rcsg" falsevalue="" checked="false" label="Like -r, bur a random circular split network is created."/> - <param argument="-rlen" type="text" optional="true" label="Specify three numbers: minimum, mean and maximum branch lengths of the random tree"> - <sanitizer> - <valid initial="string.digits,string.whitespace" /> - </sanitizer> - </param> - </section> - </section> - <section name="bootstrap_parameters" title="Bootstrap Parameters"> - <section name="ultrafast_bootstrap" expanded="False" title="Ultrafast bootstrap parameters"> - <param argument="-bb" type="integer" optional="true" label="Specify number of bootstrap replicates (>=1000)."/> - <param argument="-wbt" type="boolean" truevalue="-wbt" falsevalue="" checked="false" label="Turn on writing bootstrap trees to .ufboot file"/> - <param argument="-wbtl" type="boolean" truevalue="-wbtl" falsevalue="" checked="false" label="Like -wbt but bootstrap trees written with branch lengths"/> - <param argument="-nm" type="integer" value="1000" optional="true" label="Specify maximum number of iterations to stop"/> - <param argument="-bcor" type="float" value="0.99" optional="true" label="Specify minimum correlation coefficient for UFBoot convergence criterion"/> - <param argument="-nstep" type="integer" value="100" optional="true" label="Specify iteration interval checking for UFBoot convergence"/> - <param argument="-beps" type="float" value="0.5" optional="true" label="Specify a small epsilon to break tie in RELL evaluation for bootstrap trees"/> - <param argument="-bspec" type="text" optional="true" label="Specify the resampling strategies for partitioned analysis" help="By default, IQ-TREE resamples alignment sites within partitions. With -bspec GENE IQ-TREE will resample partitions. With -bspec GENESITE IQ-TREE will resample partitions and then resample sites within resampled partitions (Gadagkar et al., 2005)."> - <sanitizer> - <valid initial="string.ascii_uppercase" /> - </sanitizer> - </param> - <param argument="-bnni" type="boolean" truevalue="-bnni" falsevalue="" checked="false" label="Perform an additional step to further optimize UFBoot trees by nearest neighbor interchange (NNI) based directly on bootstrap alignments" help="This option is recommended in the presence of severe model violations. It increases computing time by 2-fold but reduces the risk of overestimating branch supports due to severe model violations. Introduced in IQ-TREE 1.6."/> - </section> - <section name="nonparametric_bootstrap" expanded="False" title="Nonparametric bootstrap"> - <param argument="-b" type="integer" optional="true" label="Specify number of bootstrap replicates (recommended >=100)" help="This will perform both bootstrap and analysis on original alignment and provide a consensus tree."/> - <param argument="-bc" type="boolean" truevalue="-bc" falsevalue="" checked="false" label="Like -b but omit analysis on original alignment."/> - <param argument="-bo" type="boolean" truevalue="-bo" falsevalue="" checked="false" label="Like -b but only perform bootstrap analysis (no analysis on original alignment and no consensus tree)."/> - </section> - </section> - <section name="miscellaneous_options" expanded="False" title="Miscellaneous options"> - <param argument="-fconst" type="text" optional="true" label="Specify a list of comma-separated integer numbers" help="The number of entries should be equal to the number of states in the model (e.g. 4 for DNA and 20 for protein). IQ-TREE will then add a number of constant sites accordingly. For example, -fconst 10,20,15,40 will add 10 constant sites of all A, 20 constant sites of all C, 15 constant sites of all G and 40 constant sites of all T into the alignment."> - <sanitizer> - <valid initial="string.digits,string.punctuation" /> - </sanitizer> - </param> - </section> + </section> + <section name="tree_parameters" title="Tree Parameters"> + <section name="tree_search" expanded="False" title="Tree search parameters"> + <param argument="-n" type="integer" optional="true" label="Skip subsequent tree search (n = 0), useful when you only want to assess the phylogenetic information of the alignment. Otherwise specify number of iterations to stop (this option overrides -nstop criterion)." /> + <param argument="-ninit" type="integer" value="100" optional="true" label="Specify number of initial parsimony trees"/> + <param argument="-ntop" type="integer" value="20" optional="true" label="Specify number of top initial parsimony trees to optimize with ML nearest neighbor interchange (NNI) search to initialize the candidate set"/> + <param argument="-nbest" type="integer" value="5" optional="true" label="Specify number of trees in the candidate set to maintain during ML tree search"/> + <param argument="-nstop" type="integer" value="100" optional="true" label="Specify number of unsuccessful iterations to stop"/> + <param argument="-sprrad" type="integer" value="6" optional="true" label="Specify SPR radius for the initial parsimony tree search"/> + <param argument="-pers" type="float" value="0.5" optional="true" label="Specify perturbation strength (between 0 and 1) for randomized NNI"/> + <param argument="-allnni" type="boolean" truevalue="-allnni" falsevalue="" checked="false" label="Turn on more thorough and slower NNI search"/> + <param argument="-djc" type="boolean" truevalue="-djc" falsevalue="" checked="false" label="Avoid computing ML pairwise distances and BIONJ tree."/> + <param argument="-g" type="data" format="txt" optional="true" label="Specify a topological constraint tree file in NEWICK format" help="The constraint tree can be a multifurcating tree and need not to include all taxa."/> + </section> + <section name="single_branch" expanded="False" title="Single branch tests"> + <param argument="-alrt" type="integer" optional="true" label="Specify number of replicates (>=1000) to perform SH-like approximate likelihood ratio test (SH-aLRT) (Guindon et al., 2010)" help="If number of replicates is set to 0 (-alrt 0), then the parametric aLRT test (Anisimova and Gascuel 2006) is performed, instead of SH-aLRT."/> + <param argument="-abayes" type="boolean" truevalue="-abayes" falsevalue="" checked="false" label="Perform approximate Bayes test (Anisimova et al., 2011)."/> + <param argument="-lbp" type="integer" optional="true" label="Specify number of replicates (>=1000) to perform fast local bootstrap probability method (Adachi and Hasegawa, 1996)."/> + </section> + <section name="tree_topology" expanded="False" title="Tree topology tests"> + <param argument="-z" type="data" format="txt" optional="true" label="Specify a file containing a set of trees" help="IQ-TREE will compute the log-likelihoods of all trees."/> + <param argument="-zb" type="integer" optional="true" label="Specify the number of RELL (Kishino et al., 1990) replicates (>=1000) to perform several tree topology tests for all trees passed via -z" help="The tests include bootstrap proportion (BP), KH test (Kishino and Hasegawa, 1989), SH test (Shimodaira and Hasegawa, 1999) and expected likelihood weights (ELW) (Strimmer and Rambaut, 2002)."/> + <param argument="-zw" type="boolean" truevalue="-zw" falsevalue="" checked="false" label="Used together with -zb to additionally perform the weighted-KH and weighted-SH tests."/> + <param argument="-au" type="boolean" truevalue="-au" falsevalue="" checked="false" label="Used together with -zb 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 -zb."/> + </section> + <section name="constructing_consensus" expanded="False" title="Constructing consensus tree"> + <param argument="-con" type="boolean" truevalue="-con" falsevalue="" checked="false" label="Compute consensus tree of the trees passed via -t" help="Resulting consensus tree is written to .contree file."/> + <param argument="-net" type="boolean" truevalue="-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="-minsup" 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="-bi" 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="-sup" 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."/> + <param argument="-suptag" type="text" optional="true" label="Specify name of a node in -sup target tree" help="The corresponding node of .suptree will then be assigned with IDs of trees where this node appears. Special option -suptag ALL will assign such IDs for all nodes of the target tree."/> + </section> + <section name="computing_robinson_foulds" expanded="False" title="Computing Robinson-Foulds distance"> + <param argument="-rf" type="data" format="nhx" optional="true" label="Specify a second set of trees" help="IQ-TREE computes all pairwise RF distances between two tree sets passed via -t and -rf"/> + <param argument="-rf_all" type="boolean" truevalue="-rf_all" falsevalue="" checked="false" label="Compute all-to-all RF distances between all trees passed via -t"/> + <param argument="-rf_adj" type="boolean" truevalue="-rf_adj" falsevalue="" checked="false" label="Compute RF distances between adjacent trees passed via -t"/> + </section> + <section name="generating_random" expanded="False" title="Generating random trees"> + <param argument="-r" type="integer" optional="true" label="Specify number of taxa" help="IQ-TREE will create a random tree under Yule-Harding model with specified number of taxa"/> + <param argument="-ru" type="boolean" truevalue="-ru" falsevalue="" checked="false" label="Like -r, but a random tree is created under uniform model."/> + <param argument="-rcat" type="boolean" truevalue="-rcat" falsevalue="" checked="false" label="Like -r, but a random caterpillar tree is created."/> + <param argument="-rbal" type="boolean" truevalue="-rbal" falsevalue="" checked="false" label="Like -r, but a random balanced tree is created."/> + <param argument="-rcsg" type="boolean" truevalue="-rcsg" falsevalue="" checked="false" label="Like -r, bur a random circular split network is created."/> + <param argument="-rlen" type="text" optional="true" label="Specify three numbers: minimum, mean and maximum branch lengths of the random tree"> + <sanitizer> + <valid initial="string.digits,string.whitespace" /> + </sanitizer> + </param> + </section> + </section> + <section name="bootstrap_parameters" title="Bootstrap Parameters"> + <section name="ultrafast_bootstrap" expanded="False" title="Ultrafast bootstrap parameters"> + <param argument="-bb" type="integer" optional="true" label="Specify number of bootstrap replicates (>=1000)."/> + <param argument="-wbt" type="boolean" truevalue="-wbt" falsevalue="" checked="false" label="Turn on writing bootstrap trees to .ufboot file"/> + <param argument="-wbtl" type="boolean" truevalue="-wbtl" falsevalue="" checked="false" label="Like -wbt but bootstrap trees written with branch lengths"/> + <param argument="-nm" type="integer" value="1000" optional="true" label="Specify maximum number of iterations to stop"/> + <param argument="-bcor" type="float" value="0.99" optional="true" label="Specify minimum correlation coefficient for UFBoot convergence criterion"/> + <param argument="-nstep" type="integer" value="100" optional="true" label="Specify iteration interval checking for UFBoot convergence"/> + <param argument="-beps" type="float" value="0.5" optional="true" label="Specify a small epsilon to break tie in RELL evaluation for bootstrap trees"/> + <param argument="-bspec" type="text" optional="true" label="Specify the resampling strategies for partitioned analysis" help="By default, IQ-TREE resamples alignment sites within partitions. With -bspec GENE IQ-TREE will resample partitions. With -bspec GENESITE IQ-TREE will resample partitions and then resample sites within resampled partitions (Gadagkar et al., 2005)."> + <sanitizer> + <valid initial="string.ascii_uppercase" /> + </sanitizer> + </param> + <param argument="-bnni" type="boolean" truevalue="-bnni" falsevalue="" checked="false" label="Perform an additional step to further optimize UFBoot trees by nearest neighbor interchange (NNI) based directly on bootstrap alignments" help="This option is recommended in the presence of severe model violations. It increases computing time by 2-fold but reduces the risk of overestimating branch supports due to severe model violations. Introduced in IQ-TREE 1.6."/> + </section> + <section name="nonparametric_bootstrap" expanded="False" title="Nonparametric bootstrap"> + <param argument="-b" type="integer" optional="true" label="Specify number of bootstrap replicates (recommended >=100)" help="This will perform both bootstrap and analysis on original alignment and provide a consensus tree."/> + <param argument="-bc" type="boolean" truevalue="-bc" falsevalue="" checked="false" label="Like -b but omit analysis on original alignment."/> + <param argument="-bo" type="boolean" truevalue="-bo" falsevalue="" checked="false" label="Like -b but only perform bootstrap analysis (no analysis on original alignment and no consensus tree)."/> + </section> + </section> + <section name="miscellaneous_options" expanded="False" title="Miscellaneous options"> + <param argument="-fconst" type="text" optional="true" label="Specify a list of comma-separated integer numbers" help="The number of entries should be equal to the number of states in the model (e.g. 4 for DNA and 20 for protein). IQ-TREE will then add a number of constant sites accordingly. For example, -fconst 10,20,15,40 will add 10 constant sites of all A, 20 constant sites of all C, 15 constant sites of all G and 40 constant sites of all T into the alignment."> + <sanitizer> + <valid initial="string.digits,string.punctuation" /> + </sanitizer> + </param> + </section> </inputs> <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='mldist' format='mldist' from_work_dir="*.mldist" label="${tool.name} on ${on_string}: MaxLikelihood Distance Matrix"/> - <data name='splits.nex' 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" /> + <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='mldist' format='mldist' from_work_dir="*.mldist" label="${tool.name} on ${on_string}: MaxLikelihood Distance Matrix"/> + <data name='splits.nex' 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" /> </outputs> <tests> - <test> + <test> <param name="seed" value="1257" /> <param name="st" value="AA" /> <param name="s" value="example.phy" /> @@ -523,7 +523,7 @@ <param name="msub" value="nuclear" /> <param name="madd" value="LG4M,LG4X" /> <param name="merit" value="AICc" /> - <param name="bb" value="2000" /> + <param name="bb" value="1000" /> <output name='bionj'> <assert_contents> <has_text_matching expression=".*Human.*Whale.*" /> @@ -560,6 +560,74 @@ </output> </test> <test> + <!-- bootstrap sans model --> + <param name="seed" value="1257" /> + <param name="st" value="AA" /> + <param name="s" value="example.phy" /> + <!-- <param name="m" value="TESTONLY" /> --> + <param name="msub" value="nuclear" /> + <param name="cmin" value="2" /> + <param name="cmax" value="10" /> + <param name="merit" value="AICc" /> + <param name="madd" value="LG4M,LG4X" /> + <param name="ninit" value="100" /> + <param name="ntop" value="20" /> + <param name="nbest" value="5" /> + <param name="nstop" value="100" /> + <param name="sprrad" value="6" /> + <param name="pers" value="0.5" /> + <param name="minsup" value="0.0" /> + <param name="nm" value="1000" /> + <param name="bcor" value="0.99" /> + <param name="nstep" value="100" /> + <param name="beps" value="0.5" /> + <param name="b" value="2" /> + <output name='iqtree'> + <assert_contents> + <has_text_matching expression="VT\+F\+I(\s+((-|\d|\.)+))+" /> + </assert_contents> + </output> + <output name='treefile'> + <assert_contents> + <has_line_matching expression="\(LngfishAu:(\d|\..)+,\(LngfishSA:(\d.)+,.*" /> + </assert_contents> + </output> + </test> + <test> + <!-- model sans bootstrap --> + <param name="seed" value="1257" /> + <param name="st" value="AA" /> + <param name="s" value="example.phy" /> + <param name="m" value="TESTONLY" /> + <param name="msub" value="nuclear" /> + <param name="cmin" value="2" /> + <param name="cmax" value="10" /> + <param name="merit" value="AICc" /> + <param name="madd" value="LG4M,LG4X" /> + <param name="ninit" value="100" /> + <param name="ntop" value="20" /> + <param name="nbest" value="5" /> + <param name="nstop" value="100" /> + <param name="sprrad" value="6" /> + <param name="pers" value="0.5" /> + <param name="minsup" value="0.0" /> + <param name="nm" value="1000" /> + <param name="bcor" value="0.99" /> + <param name="nstep" value="100" /> + <param name="beps" value="0.5" /> + <!-- <param name="b" value="100" /> --> + <output name='iqtree'> + <assert_contents> + <has_text_matching expression="VT\+F\+I(\s+((-|\d|\.)+))+" /> + </assert_contents> + </output> + <output name='treefile'> + <assert_contents> + <has_line_matching expression="\(LngfishAu:(\d|\..)+,\(LngfishSA:(\d.)+,.*" /> + </assert_contents> + </output> + </test> + <test> <param name='s' value='example.phy' /> <output name='iqtree'> <assert_contents> @@ -606,21 +674,21 @@ :: - >Frog + >Frog AAATTTGGTCCTGTGATTCAGCAGTGAT - >Turtle + >Turtle CTTCCACACCCCAGGACTCAGCAGTGAT - >Bird + >Bird CTACCACACCCCAGGACTCAGCAGTAAT - >Human + >Human CTACCACACCCCAGGAAACAGCAGTGAT - >Cow + >Cow CTACCACACCCCAGGAAACAGCAGTGAC - >Whale + >Whale CTACCACGCCCCAGGACACAGCAGTGAT - >Mouse + >Mouse CTACCACACCCCAGGACTCAGCAGTGAT - + **NOTE**: If you have raw sequences, you need to first apply alignment programs like MAFFT_ or ClustalW_ to align the sequences, before feeding them into IQ-TREE. .. _MAFFT: http://mafft.cbrc.jp/alignment/software/ @@ -656,10 +724,10 @@ * **-merit** asserts the type of optimality criterion * **-bb** defines the number of replicates - + Each of these parameters are available under the relevant sub-sections in the main tool interface. - + At the end of the run IQ-TREE will write several output files including: * **example.phy.iqtree**: the main report file that is self-readable. You should look at this file to see the computational results. It also contains a textual representation of the final tree (see below). @@ -706,7 +774,7 @@ +----------| | +----------------Platypus +---| - +-------------Opossum + +-------------Opossum This makes sense as the mammals (**Human** to **Opossum**) form a clade, whereas the reptiles **Turtle** to **Crocodile**) and **Bird** form a separate sister clade. Here the tree is drawn at the *outgroup* Lungfish which is more accient than other species in this example. However, please note that IQ-TREE always produces an **unrooted tree** as it knows nothing about this biological background; IQ-TREE simply draws the tree this way as **LngfishAu** is the first sequence occuring in the alignment. @@ -731,15 +799,15 @@ :: - iqtree -s coding_gene.phy -st CODON + iqtree -s coding_gene.phy -st CODON If your alignment length is not divisible by 3, IQ-TREE will stop with an error message. IQ-TREE will group sites 1,2,3 into codon site 1; sites 4,5,6 to codon site 2; etc. Moreover, any codon, which has at least one gap/unknown/ambiguous nucleotide, will be treated as unknown codon character. Note that the above command assumes the standard genetic code. If your sequences follow 'The Invertebrate Mitochondrial Code', then run: :: - - iqtree -s coding_gene.phy -st CODON5 + + iqtree -s coding_gene.phy -st CODON5 Note that ModelFinder works for codon alignments. IQ-TREE version >= 1.5.4 will automatically invokes ModelFinder to find the best-fit codon model. @@ -749,7 +817,7 @@ To overcome the computational burden required by the nonparametric bootstrap, IQ-TREE introduces an ultrafast bootstrap approximation (UFBoot) ([Minh et al., 2013]) that is orders of magnitude faster than the standard procedure and provides relatively unbiased branch support values. Citation for UFBoot: - B.Q. Minh, M.A.T. Nguyen, and A. von Haeseler (2013) Ultrafast approximation for phylogenetic bootstrap. _Mol. Biol. Evol., 30:1188-1195. + B.Q. Minh, M.A.T. Nguyen, and A. von Haeseler (2013) Ultrafast approximation for phylogenetic bootstrap. _Mol. Biol. Evol., 30:1188-1195. :: @@ -788,7 +856,7 @@ iqtree -s example.phy -m TIM2+I+G -b 100 **-b** specifies the number of bootstrap replicates where 100 -is the minimum recommended number. The output files are similar to those produced by the UFBoot procedure. +is the minimum recommended number. The output files are similar to those produced by the UFBoot procedure. @@ -801,7 +869,7 @@ iqtree -s example.phy -m TIM2+I+G -alrt 1000 -**-alrt** specifies the number of bootstrap replicates for SH-aLRT where 1000 is the minimum number recommended. +**-alrt** specifies the number of bootstrap replicates for SH-aLRT where 1000 is the minimum number recommended. IQ-TREE also supports other tests such as the aBayes test (Anisimova et al., 2011) and the local bootstrap test (Adachi and Hasegawa, 1996).