Welcome, Guest. Please Login or Register
UGENE Bulletin Board
  Welcome to our forum.
Page Index Toggle Pages: 1
Script (Read 4878 times)
Nov 27th, 2012 at 2:13am

tekka01   Offline
YaBB Newbies

Posts: 2
Hi, I really like UGENE and the workflow designer, but here is my problem:

I'm using HMM to annotate two features (s1, s2) in a sequence and would like to add a third annotation (K1) in between that starts at the end of s1 and goes until the beginning of s2. How can I do that? via a script?

Thanks  Smiley
IP Logged
Reply #1 - Nov 28th, 2012 at 10:16pm

Agu   Offline
Junior Member

Gender: male
Posts: 63
Hi. I've been trying to do that as well for a long time. As far as I know there's no way to annotate something between two annotations (tried with query designer, but no success).

I will add that as a feature request as it should be very useful (https://ugene.unipro.ru/tracker/browse/UGENE-1331).

For now, you can annotate the whole region, including s1 and s2, using the "Collocation search" element (Basic Analysis group). The description is not very clear for me, but basically it will search for a series of annotations (s1 and s2) that must be inside a given maximum distance. But it will annotate the complete region as a new feature.
IP Logged
Reply #2 - Dec 27th, 2012 at 11:57am

German   Offline
Full Member

Posts: 118
We have implemented the feature you suggest. You can download just released UGENE 1.11.4 and try it:

You need to use "Collocation search" workflow element. The new option "Include boundaries" has been added. When you use "Create new annotations" result type and the option is false then your task will be resolved.
See attached screenshots.

Also, I have attached example.uwl workflow schema which you can try.

example.uwl (5 KB | )
example.PNG (40 KB | )
result_001.PNG (26 KB | )
IP Logged
Page Index Toggle Pages: 1