i was also facing issues in r8s installation . so i tried alternate way to convert your tree to ultrametric using r. the script i used below try ...
library(phytools)
set.seed(1)
tree1 <- read.tree(file="/home/usr/Desktop/sp_tree.txt",text=text)
tree1
plotTree(tree1)
is.ultrametric(tree1)
test.tree <- read.tree(file = "/home/usr/Desktop/sp_tree.txt", text = NULL, tree.names = NULL, skip = 0,
comment.char = "#", keep.multi = FALSE)
test.tree.nu <- chronopl(test.tree, 0, age.min = 1, age.max = NULL,
node = "root", S = 1, tol = 1e-8,
CV = FALSE, eval.max = 500, iter.max = 500)
is.ultrametric(
test.tree.nu)
is.binary.tree(
test.tree.nu)
treeclust <- as.hclust.phylo(tree.phylo)
text<-write.tree(
test.tree.nu, file="/home/usr/Desktop/spnu_tree.txt", digits=7)
all the best.