xavierdidelot / BactDating

Bayesian inference of ancestral dates on bacterial phylogenetic trees
https://xavierdidelot.github.io/BactDating
MIT License
80 stars 15 forks source link

Missing dates #47

Closed LeonardosMageiros closed 2 years ago

LeonardosMageiros commented 2 years ago

Hi!

I have the clonalframeML output for ~1500 strains and I would like to run bactdating. My problem is that some of the strains (around 60) dont have a sampling date assigned to them so the values are actually NA.

Can bactating handle that situation somehow or I must rerun clonalframeML only using the strains that have a date assigned to them?

Thank you very much in advance Leonardos

xavierdidelot commented 2 years ago

Hi Leonardos! Yes BactDating can deal with missing dates. If you leave them as NA, BactDating will understand that the date is missing. There could be an issue if too many dates are missing, but having only around 60 missing out of 1500 should be no problem at all.

LeonardosMageiros commented 2 years ago

Xavier thank you very much!