UGENE Forum
https://forum.ugene.net/forum/YaBB.pl
General Category >> Help and How-to >> Modify workflow to fit 1 sample at a time
https://forum.ugene.net/forum/YaBB.pl?num=1599094747

Message started by afina.m on Sep 3rd, 2020 at 7:59am

Title: Modify workflow to fit 1 sample at a time
Post by afina.m on Sep 3rd, 2020 at 7:59am
Hi all,

I am trying to create my own workflow as below:

1. Call 1 sample (AB1 file, forward and reverse)
2. Do quality trimming
3. Do de novo assembly using CAP3
4. Get output in fasta file

When I used the workflow, when I input all of my data, it able to do Step1 and Step2. However, at Step3, it gathers a few sample to get 1 assembly instead of 1 sample => 1 assembly.

I would like to modify the .uwl but it is not written in a common programming language (correct me if I'm wrong here). Therefore, is there a way to modify this so that the workflow will only read 1 sample at a time? Or do I have to execute the workflow using UGENE CLI where I can create my bash script?

And tips and advise is much appreciated.
Thank you in advance.

Title: Re: Modify workflow to fit 1 sample at a time
Post by Dmitrii Sukhomlinov on Sep 4th, 2020 at 11:09am
Hello,
There is a green plus button called "Add dataset" near the input files (see the attached picture). The datasets are processed as separate units, the workflow kinda runs several times (if you have 2 datasets - 2 times; if you have 3 datasets - 3 times)so, you can separate your input files into several datasets. Is that what you wanted?
Screenshot_1.jpg (182 KB | 216 )

Title: Re: Modify workflow to fit 1 sample at a time
Post by afina.m on Nov 12th, 2020 at 4:11pm

Dmitrii Sukhomlinov wrote on Sep 4th, 2020 at 11:09am:
Hello,
There is a green plus button called "Add dataset" near the input files (see the attached picture). The datasets are processed as separate units, the workflow kinda runs several times (if you have 2 datasets - 2 times; if you have 3 datasets - 3 times)so, you can separate your input files into several datasets. Is that what you wanted?


Hi Dmitrii,

Thank you for the reply. Yes, that is exactly what I was looking for.
However, as the number of samples that I have may be different (some project I have more than 20 samples and others might be less), is there any way to do this?
Instead of adding the dataset manually, can I do this by editing the .uwl?

Thank you in advance.

Title: Re: Modify workflow to fit 1 sample at a time
Post by Dmitrii Sukhomlinov on Nov 13th, 2020 at 12:26pm
Hello,

".uwl" is a special format, which was developed for UGENE and could be read and written by UGENE only. It's possible to change it by editing in any text editor (just open the file by, for example, notepad or notepad++), but if you do this UGENE posiibly won't figure the result file out and it may cause the data loss, so you can try to edit the ".uwl" file at your own risk.

If you still want to experiment with it, you may see in the file sections with the following id: "url-in" (see the attached picture) - this is the representations of datasets, by adding the part with this id you may add datasets.
Screenshot_1_001.png (22 KB | 201 )

Title: Re: Modify workflow to fit 1 sample at a time
Post by ethan on Nov 16th, 2020 at 9:59pm
This is great!

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