UGENE Forum
https://forum.ugene.net/forum/YaBB.pl
General Category >> Help and How-to >> Script
https://forum.ugene.net/forum/YaBB.pl?num=1353957234

Message started by tekka01 on Nov 27th, 2012 at 2:13am

Title: Script
Post by tekka01 on Nov 27th, 2012 at 2:13am
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  :)

Title: Re: Script
Post by Agu on Nov 28th, 2012 at 10:16pm
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.

Title: Re: Script
Post by German Grekhov on Dec 27th, 2012 at 11:57am
We have implemented the feature you suggest. You can download just released UGENE 1.11.4 and try it:
http://ugene.unipro.ru/download.html

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.

https://forum.ugene.net/forum/YaBB.pl?action=downloadfile;file=example.uwl (5 KB | )
example.PNG (40 KB | )
result_001.PNG (26 KB | )

UGENE Forum » Powered by YaBB 2.5 AE!
YaBB Forum Software © 2000-2010. All Rights Reserved.