Hi Rob,
Thanks for that! I agree that it is odd to have so few sites supporting the branches and that may be part of why there is odd behaviour. I'll provide some context for these datasets:
The trees are output from SVDQuartets, and the input alignment contains a single SNP per locus concatenated together, but only about 2800 SNPs of a potentially >300 kbp alignment of full loci. The samples are from a species complex, so there may be limited variation between them in some cases.
The output trees from SVDQuartets do not have branch lengths, so in order to get IQ-TREE to run I manually make all branch lengths = 1:
sed "s/,/:1,/g" input.tre | sed "s/)/:1)/g" > output.tre
I also collapse branches with <60% bootstrap support to polytomies using Newick Utilities:
nw_ed input.tre "i & b < 60" o > output.tre
In order to provide a comparison for this troubleshooting, I retain the un-collapsed tree as well.
The normal "--scf" option works for both trees (IQ-TREE v. 2.3.2), but gives odd concordance factors for both the tree with collapsed branches and the one without.
iqtree -s input.nex -t output.tre --scf 100000 -T 8 --prefix concord
When attempting to use the new "--scfl" option, I hit the following error for both the tree with collapsed branches and the un-collapsed tree:
Reading input tree file qfm_boots_collapsed_mod.tre ...
Perform fast likelihood tree search using GTR+I+G model...
Estimate model parameters (epsilon = 5.000)
Perform nearest neighbor interchange...
ERROR: phylotree.cpp:4070: virtual NNIMove PhyloTree::getBestNNIForBran(PhyloNode*, PhyloNode*, NNIMove*): Assertion `node1->degree() == 3 && node2->degree() == 3' failed.
ERROR: STACK TRACE FOR DEBUGGING:
ERROR:
ERROR: *** IQ-TREE CRASHES WITH SIGNAL ABORTED
ERROR: *** For bug report please send to developers:
ERROR: *** Log file: concord_collapsed_likelihood.log
ERROR: *** Alignment files (if possible)
Perhaps this is because I have artificially added branch lengths of 1? Maybe when it tries to put a model on the tree it falls down?
Let me know if you would like me to send you any of the alignments, logs, or trees.
Cheers,
Ben