I stumbled upon a small bug. The sorted_locs variable is not used in annotation.py. The effect is that, when slicing with a feature with at least two locations on the minus strand, we get the wrong sequence.
I added a test to demonstrate the problem and fixed it.
Hi! This is an awesome project! Very nice work.
I stumbled upon a small bug. The
sorted_locs
variable is not used inannotation.py
. The effect is that, when slicing with a feature with at least two locations on the minus strand, we get the wrong sequence.I added a test to demonstrate the problem and fixed it.