popgenmethods / SINGER

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

Inferring mutation times #17

Closed sylviah23 closed 4 months ago

sylviah23 commented 5 months 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 5 months 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 5 months ago

Hi @YunDeng98, that works, thank you!