seqviz icon indicating copy to clipboard operation
seqviz copied to clipboard

Render cut site when it goes over the end of the sequence

Open guzmanvig opened this issue 1 year ago • 2 comments

Mentioned in: https://github.com/Lattice-Automation/seqviz/blob/803fc901e81a92b452d89715d520d9f358b4ede6/src/Linear/CutSites.tsx#L40 And in: # 270

Describe the bug

When an enzyme's combined recognition site and cut site sequence span straddles the last SeqBlock and first SeqBlock. This feature is not implemented in Seqviz as the TODO in the code mentions

Expected behavior

If an enzyme's recognition sequence is detected near the end of the final SeqBlock and some-or-all the associated cut site is offset from it such that it extends off the end of the final SeqBlock, then the cut site should be displayed on the first SeqBlock, at the top of the sequence viewer display.

guzmanvig avatar Sep 24 '24 16:09 guzmanvig