Welcome, Guest. Please Login or Register
UGENE Bulletin Board
  Welcome to our forum.
  HomeHelpSearchLoginRegister  
 
 
Pages: 1 2 
Input port fail to connect (Read 28637 times)
Jan 13th, 2012 at 3:43pm

kenkl   Offline
Junior Member

Posts: 73
**
 
We are working on a workflow project, created an element with command line that has 2 input port, however only 1 input port could be connected whereas the other cannot be connected at all.

Anyone has an idea what might be the problem?

Thanks!
 

IP Logged
 
Reply #1 - Jan 13th, 2012 at 9:40pm

Mikhail Fursov   Offline
YaBB Administrator

Gender: male
Posts: 162
*****
 
This does looks like a bug.

Could you send us the element with 2 ports so we can reproduce and fix it?
 

---
UGENE team
IP Logged
 
Reply #2 - Jan 16th, 2012 at 4:24pm

kenkl   Offline
Junior Member

Posts: 73
**
 
Hi, we had tried with several solution and we had figured out that when we connect 1 read element to 2 output it works, however from the 2 output elements they could not converged back to a third element. Would this be due to the processing ability of the elements? Kindly advice, thanks! =)
 
IP Logged
 
Reply #3 - Jan 16th, 2012 at 9:14pm

Mikhail Fursov   Offline
YaBB Administrator

Gender: male
Posts: 162
*****
 
When you create multiple outputs (for example from read-sequence) it means that the same data is passed to different elements. Once processed by the element new data context is created.

When you you want to move multiple data streams into the one element you actually need a data context multiplexing rule: tell to workflow how do you want to join the data. Examples:
1) for every element from port A wait for the first single element from port B
2) for every element of port A wait for every element from a port B
3) for every element from port A wait for the element from port  B with the same name/length/property

etc...

This becomes rather complex and for now only a very limited set of built-in elements can do such multiplexing. We're working on WD the architecture to support this feature in UGENE 1.11 version. The main problem for us is how to make it both simple and efficient.

For your task I would propose the following:
Now you have:
R->A1
R->A2
A1->E
A2->E

do not separate outputs from R into 2 streams. Use a single  pipe:
R->A1->A2->E
This will keep the data creation context and you will not need multiplexing to join different contexts.

In this case in A2 select  R-output but not A1-output to use.
For element E as input you will have all kind of outputs available: R-output, A1-output and A2-output so you can merge and use them as you wish.

Please tell if you need more details about this algorithm


 

---
UGENE team
IP Logged
 
Reply #4 - Jan 20th, 2012 at 4:09pm

kenkl   Offline
Junior Member

Posts: 73
**
 
Thanks for the guidelines on the workflow, it has been validated but new issue has arise: We can't integrate external tools (not in the UGENE package) into custom element by CMD tools. It kept giving out error of unknown element detected. Any idea what went wrong? Thanks again for the help! Smiley
 
IP Logged
 
Reply #5 - Jan 24th, 2012 at 9:36am

German   Offline
Full Member

Posts: 118
***
 
kenkl wrote on Jan 20th, 2012 at 4:09pm:
Thanks for the guidelines on the workflow, it has been validated but new issue has arise: We can't integrate external tools (not in the UGENE package) into custom element by CMD tools. It kept giving out error of unknown element detected. Any idea what went wrong? Thanks again for the help! Smiley


Hello. Another user of UGENE has found this problem too. See:
http://ugene.unipro.ru/forum/YaBB.pl?num=1326766085

We are working on it and it will be fixed at UGENE 1.10.2 version in a couple of weeks.
« Last Edit: Jan 24th, 2012 at 11:18am by German »  
IP Logged
 
Reply #6 - Jan 24th, 2012 at 11:18am

German   Offline
Full Member

Posts: 118
***
 
kenkl wrote on Jan 20th, 2012 at 4:09pm:
Thanks for the guidelines on the workflow, it has been validated but new issue has arise: We can't integrate external tools (not in the UGENE package) into custom element by CMD tools. It kept giving out error of unknown element detected. Any idea what went wrong? Thanks again for the help! Smiley


We have resolved this issue. You can try it by downloading the latest snapshot from our site or waiting for the 1.10.2 version.

Thanks for your feedback.
 
IP Logged
 
Reply #7 - Feb 20th, 2012 at 3:50pm

kenkl   Offline
Junior Member

Posts: 73
**
 
Hi there,

About the algorithm on R > A1 > A2 > E, I had tried it on my elements but faced problem executing it, ended up with errors. Attached are the screenshots. Kindly advice.

Thanks!
 

forum1.png (76 KB | )
forum1.png
forum2.png (94 KB | )
forum2.png
IP Logged
 
Reply #8 - Feb 21st, 2012 at 9:42am

German   Offline
Full Member

Posts: 118
***
 
As I can see from the first screenshot, you execution string of the left ttuner element is "ttuner -sa $out -if $in".
The ttuner key -if means, that its input parameter is the path to the text file with pathes to other abi files.

Are you sure that it is correct? Your "File list" produces the path exactly to such a text file or not?

You could use this element next way:
Input directory - path to the directory with ABI files. The directory, but not the file.
Absolute output paths - true
Recursive reading - true or false. You could read filenames only from the input directory or from every nested directory.
Include name filter - I think that it is *.ab1
Exclude name filter - if you don't want to produce some files, you could set up this parameter and exclude them.

So, your execution string would be without the -if key:
ttuner -sa $out $in

 
IP Logged
 
Reply #9 - Feb 21st, 2012 at 9:55am

kenkl   Offline
Junior Member

Posts: 73
**
 
Yes, the path is correct as I had tested it individually and it works in the way of:

R > A1 > E and R > A2 > E

but doesn't work in the form of R > A1 > A2 > E

Not very sure why. I had tried your suggestion too but it still does not work. Kindly advice, thanks!

Kenneth
 
IP Logged
 
Reply #10 - Feb 21st, 2012 at 10:17am

German   Offline
Full Member

Posts: 118
***
 
kenkl wrote on Feb 21st, 2012 at 9:55am:
Yes, the path is correct as I had tested it individually and it works in the way of:

R > A1 > E and R > A2 > E

but doesn't work in the form of R > A1 > A2 > E

Not very sure why. I had tried your suggestion too but it still does not work. Kindly advice, thanks!

Kenneth

Yes, I can reproduce it too. It will be fixed soon.
 
IP Logged
 
Reply #11 - Feb 21st, 2012 at 1:38pm

German   Offline
Full Member

Posts: 118
***
 
kenkl wrote on Feb 21st, 2012 at 9:55am:
Yes, the path is correct as I had tested it individually and it works in the way of:

R > A1 > E and R > A2 > E

but doesn't work in the form of R > A1 > A2 > E

Not very sure why. I had tried your suggestion too but it still does not work. Kindly advice, thanks!

Kenneth


Kenneth, your problem is fixed. The latest snapshot with the fix will be available tomorrow.

And a little advice for you. Set the output slot type of the right ttuner element as a text file, but not as a fasta sequence. So, the last element will be "Write plain text". It is needed because
"ttuner -qa $out $in"
produces not a fasta file, but some text qualities that are not supported by UGENE. So, if you use "Text type" for this slot then the data would be written as it is, without any changes.
 

scheme_001.JPG (22 KB | )
scheme_001.JPG
IP Logged
 
Reply #12 - Feb 21st, 2012 at 5:14pm

German   Offline
Full Member

Posts: 118
***
 
Built snapshots are available for downloading.
http://ugene.unipro.ru/snapshot.html
 
IP Logged
 
Reply #13 - Feb 22nd, 2012 at 2:04pm

kenkl   Offline
Junior Member

Posts: 73
**
 
Hi Sir, I had downloaded the latest snapshot and tried running my previous workflow on it but has error, not sure of why. I exactly the same as how it works before the snapshot today but couldn't work. (see screenshot 2)

As for the R > A1 > A2 > E, i tried, it ran but no output files are located. (See screenshot 1)

Kindly advice. Thanks!
 

error.png (158 KB | )
error.png
error2.png (45 KB | )
error2.png
IP Logged
 
Reply #14 - Feb 22nd, 2012 at 2:28pm

kenkl   Offline
Junior Member

Posts: 73
**
 
Besides, i also felt confused when I run my workflow of:

File list > ttuner1 > E

Which works well in previous snapshot, but works awakwardly as it gave error notice on log but yet there is output file created. (See snapshot) This happens for other previous workflow as well.
 

error4.png (142 KB | )
error4.png
error3.png (94 KB | )
error3.png
IP Logged
 
Pages: 1 2