Open nick-youngblut opened 5 years ago
Is it actually possible to read in a non-ultrametric tree and then convert it to ultrametric? The package docs make a lot of statements about how ultrametric trees are needed for most (all?) functions, but I couldn't find any info on how to convert a tree to ultrametric.
Sure. There's an entire body of theory, divergence time estimation, devoted to inferring ultrametric trees (or "converting" non-ultrametric trees to ultrametric ones). You need a model of evolution that decouples time and substitution rate (which would typically be of the strict or relaxed molecular clock variety) and probably some additional data (for calibration points, though you can calibrate the root to some arbitrary value if you don't care about absolute time).
https://revbayes.github.io/tutorials/dating/
https://beast2-dev.github.io/beast-docs/beast2/DivergenceDating/DivergenceDatingTutorial.html
http://ib.berkeley.edu/courses/ib200b/labs/ib200b_lab07_testing_molecular_clock.pdf
I'm getting the following error when reading in a tree:
I can't tell from the documentation on how to read in a non-ultrametric tree.