jeromekelleher / sc2ts

Infer a succinct tree sequence from SARS-COV-2 variation data
MIT License
4 stars 3 forks source link

Reversion push code needs to deal with recombinants #86

Open jeromekelleher opened 1 year ago

jeromekelleher commented 1 year ago

One of the largest artefactual recombinants in the alpha version of the sc2ts trees (node 601947 in upgma-full-md-30-mm-3-2021-06-30-il.ts.tsz) is the direct result (seemingly) of reversion pushing not dealing correctly with recombinants.

jeromekelleher commented 1 year ago

In principle there's no problem with the current approach being applied to nodes which have two or more parents, it's just a little more involved and I skipped it in the initial version.

jeromekelleher commented 1 year ago

recomb-with-reversions

This looks like the same issue here (4 mutations, all immediate reversions near a recomb node)