New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove overlaps not working as expected #2082
Comments
These variants are not overlapping. For example, the insertion in the first example inserts A between the positions 28728 and 28729. |
Ahhh okay I see what you mean with the first example. But am struggling to understand how the second example isn't overlapping? |
It's exactly the same case. The first happens between 30586 and 30587, 30588 is not affected by the insertion. |
Alright, so I did some playing and testing and it seems the order of the variants impacts what As a way of illustrating, let's reframe the variants for clarity and provide an example fasta sequence First example:
BUT, if I switch the order of the variants I get
And indeed, if I run Second example:
The ordering situation from the first example obviously doesn't apply here given the positions are different. tl;dr make sure you run |
Me again. I've just run into an example where
|
Sorry to be a pest @pd3, not sure if this dropped off your radar (I imagine you get a lot of notifications)? Is my last example a bug? |
I'm not sure if I am misunderstanding how
bcftools +remove-overlaps
works, but I still have some overlapping variants in the output afterwardse.g.,
and
The text was updated successfully, but these errors were encountered: