Replies: 1 comment 1 reply
-
Hi @pmaen, Here's where that code lives: The findSequenceMatches function: Test code showing how the function is called: If you look in the code, you'll see the "trick" for finding matches that cross the "origin" of the sequence: Hope that all makes sense for you! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Copied from an email with @pmaen:
I am currently working on an open source bioinformatics tool and need to be able to search for sequences in circular plasmids. I have seen that your tool Open Vector Editor is capable of doing this, but I am not familiar with JavaScript. Could you perhaps explain to me what approach you used to implement this function?
Example of what I mean

Basically, my problem is that when searching for a string in the plasmid, the string I am looking for could be, for example, the last 30 bases of the plasmid and the first 20 bases of the plasmid, which would be a 50 nt sequence on a circular plasmid, but I couldn't find a way to implement this in my tool.
Thank you in advance.
Kind regards
@pmaen
Beta Was this translation helpful? Give feedback.
All reactions