Hi @BjornFJohansson I noticed this when making further tests for the cuts. My implementation makes the exact same mistake, but the code below is with current pydna code. Will make a fix for this in the new implementation, but wanted to document it somewhere.
cc: @hiyama341 (maybe related to the error in the transfer of features that you mentioned)
The example below uses the following circular sequence with 4 features:
full_overlap (blue): spans only the overhang
left_side (green): spans the overhang and a bp from the left side
right_side (pink): spans the overhang and a bp from the right side
throughout (orange): spans from left to right.
In the image below, the overhang of EcoRI is highlighted with the selector
The expected behaviour would be that when you cut with EcoRI, you would end up with something like this:
However, the result gives wrong coordinates for left_side and keeps throughout when it should not (see print of the script).
Hi @BjornFJohansson I noticed this when making further tests for the cuts. My implementation makes the exact same mistake, but the code below is with current pydna code. Will make a fix for this in the new implementation, but wanted to document it somewhere.
cc: @hiyama341 (maybe related to the error in the transfer of features that you mentioned)
The example below uses the following circular sequence with 4 features:
full_overlap
(blue): spans only the overhangleft_side
(green): spans the overhang and a bp from the left sideright_side
(pink): spans the overhang and a bp from the right sidethroughout
(orange): spans from left to right.In the image below, the overhang of EcoRI is highlighted with the selector
The expected behaviour would be that when you cut with EcoRI, you would end up with something like this:
However, the result gives wrong coordinates for
left_side
and keepsthroughout
when it should not (see print of the script).Prints: