Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure that hidden actions are rendered in q2galaxy #57

Open
ebolyen opened this issue Jun 10, 2024 · 1 comment
Open

Ensure that hidden actions are rendered in q2galaxy #57

ebolyen opened this issue Jun 10, 2024 · 1 comment

Comments

@ebolyen
Copy link
Member

ebolyen commented Jun 10, 2024

Improvement Description
Typically we use hidden actions for the inner part of a parallel pipeline loop, e.g.

def some_parallel_pipeline():
  ...
  collection = partition_data()
  for key, val in collection.items():
    result[key] =  _hidden_method(val)
  viz = collate_data(result)
  ...

where partition_data, _hidden_method, and collate_data are all qiime2 actions.

With Galaxy, it is better to use the built-in for-each on a collection which will play nicely with whatever scheduler is present and will accomplish the same goal as the pipeline. So the user should be using the underlying actions directly instead of the pipeline.

@ebolyen
Copy link
Member Author

ebolyen commented Jun 10, 2024

This is more interesting when our metagenome distro arrives on the scene, as amplicon doesn't tend to use these features

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant