Question: Conditional Statement In Compute Tool
0
gravatar for Leontovich, Alexey A., Ph.D.
5.1 years ago by
United States
Hello! I have the same question as Ido Tamir had about a year ago: Dec 07, 2012; 9:53am [Ido Tamir] <http: user.list.galaxyproject.org="" t="" emplate="" namlservlet.jtp?macro="user_nodes&amp;user=317241"> Ido Tamir<http: user.list.galaxyproject.org="" template="" namlservlet.jtp?macro="user_nodes" &user="317241"> 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
galaxy • 534 views
ADD COMMENTlink modified 5.1 years ago by Jennifer Hillman Jackson25k • written 5.1 years ago by Leontovich, Alexey A., Ph.D.30
0
gravatar for Jennifer Hillman Jackson
5.1 years ago by
United States
Jennifer Hillman Jackson25k wrote:
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 -- Jennifer Hillman-Jackson http://galaxyproject.org
ADD COMMENTlink written 5.1 years ago by Jennifer Hillman Jackson25k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 180 users visited in the last hour