diff --git a/tools/iqtree/iqtree.xml b/tools/iqtree/iqtree.xml
index 98cbaa6d283..4801e6b6507 100644
--- a/tools/iqtree/iqtree.xml
+++ b/tools/iqtree/iqtree.xml
@@ -7,6 +7,9 @@
&1 | head -1]]>
/{if(seq!="")print seq; seq=""; next}{seq=seq \$0}END{if(seq!="")print seq}' '$general_options.s' | sort -u | wc -l) &&
+#end if
iqtree3
--prefix PREF
#if $general_options.short_alignments:
@@ -308,7 +311,11 @@ $tree_parameters.tree_topology.test_au
#end if
#if str($bootstrap_parameters.ultrafast_bootstrap.ufboot) != ''
- --ufboot '$bootstrap_parameters.ultrafast_bootstrap.ufboot'
+ #if $bootstrap_parameters.ultrafast_bootstrap.skip_bootstrap_for_small_alignments and $general_options.s and $general_options.s.ext == 'fasta'
+ \$( [ "\$n_unique" -ge 4 ] 2>/dev/null && echo "--ufboot '$bootstrap_parameters.ultrafast_bootstrap.ufboot'" )
+ #else
+ --ufboot '$bootstrap_parameters.ultrafast_bootstrap.ufboot'
+ #end if
#end if
#if str($bootstrap_parameters.ultrafast_bootstrap.ufjack) != ''
@@ -434,7 +441,7 @@ Note that --seqtype CODON is always necessary when using codon models and you al
-
+
@@ -474,7 +481,7 @@ IQ-TREE also works for codon, binary and morphological data.
-
+
@@ -672,6 +679,7 @@ IQ-TREE also works for codon, binary and morphological data.
+
@@ -1070,6 +1078,29 @@ IQ-TREE also works for codon, binary and morphological data.
+
+
+
+
+
+
+
3.1.3
- 0
+ 1
25.0
diff --git a/tools/iqtree/test-data/three_seqs.fasta b/tools/iqtree/test-data/three_seqs.fasta
new file mode 100644
index 00000000000..d194f6cd5b0
--- /dev/null
+++ b/tools/iqtree/test-data/three_seqs.fasta
@@ -0,0 +1,6 @@
+>seq1
+ACGTACGTAC
+>seq2
+ACGTACGTAC
+>seq3
+ACGTACGTAC