Hi Alex,

No, instead try:

1. "Filter and Sort -> Filter" - run twice
2. "Text Manipulation -> Add" - run twice
3. "Text Manipulation ->Concatinate" - run once
4. Optional: extract this method into a workflow (History menu), and save for future use - in effect creating your own custom tool. The workflow can even be saved onto the Tool Menu (on the Workflow home page, click on "Other options -> Configure your workflow menu" - is a nice short cut).

Then sort, restore metadata, etc. as needed.

Hopefully this helps,

Jen
Galaxy team


On 11/7/13 11:29 AM, Leontovich, Alexey A., Ph.D. wrote:

Hello!

I have the same question as   Ido Tamir had about a year ago:

Ido
                  TamirIdo Tamir conditional in Compute tool

Hi,
is it possible to do a conditional in the compute tool?
something like:

"a" if c1 ==  4 else "b"
or
if c1 == 4 "a" else "b"
or
c1 == 4 ? "a" else "b"

thank you very much,
ido

 

Thank you very much,

Alex

 



___________________________________________________________
The Galaxy User list should be used for the discussion of
Galaxy analysis and other features on the public server
at usegalaxy.org.  Please keep all replies on the list by
using "reply all" in your mail client.  For discussion of
local Galaxy instances and the Galaxy source code, please
use the Galaxy Development list:

  http://lists.bx.psu.edu/listinfo/galaxy-dev

To manage your subscriptions to this and other Galaxy lists,
please use the interface at:

  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:

  http://galaxyproject.org/search/mailinglists/

-- 
Jennifer Hillman-Jackson
http://galaxyproject.org