popgenmethods / SINGER

Sampling and inference of genealogies with recombination
MIT License
19 stars 4 forks source link

Inferring mutation times #17

Open sylviah23 opened 1 month ago

sylviah23 commented 1 month ago

After converting to tree sequence format, the tables.mutation.time column is empty currently. Does SINGER infer these mutation times and if so, is it possible to add them in to the tree sequence?

YunDeng98 commented 1 month ago

Hi @sylviah23 , the mutation time can be calculated using the average of lower and upper node time, does this work for you?

sylviah23 commented 1 month ago

Hi @YunDeng98, that works, thank you!