Closed phiweger closed 3 years ago
Yes, treetime should work with gapped alignments. but it will ignore gaps in branch length calculations. You could either mark those missing SNPs with -
or N
.
Will Treetime use any "information" from those positions or just ignore them?
It will use them in ancestral state reconstruction, but will ignore them in branch length calculations.
perfect, thanks a lot!
Say a have a gapped alignment
Is it possible to use Treetime to construct a dated phylogeny? I would like to not drop columns with a gap.
The use case is that I would like to include pangenome-wide SNVs in an outbreak reconstruction; in this case not all SNV "positions" are present in all genomes, eg those in accessory genes.
Thank you for your help!