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

Move rule cz-pulsar_alphafold to tools.yml #919

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions files/galaxy/tpv/tool_defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,6 @@ tools:
entity.tpv_tags = entity.tpv_tags.combine(
TagSetManager(tags=[pulsar_tag])
)
- id: cz-pulsar_alphafold
if: |
all((
"cz-pulsar" in {tag.value for tag in entity.tpv_tags.tags},
tool.id.startswith("toolshed.g2.bx.psu.edu/repos/galaxy-australia/alphafold2/alphafold"),
helpers.tool_version_gte(tool, '2.3.1'),
))
gpus: 1

rank: |
final_destinations = helpers.weighted_random_sampling(candidate_destinations)
Expand Down
7 changes: 7 additions & 0 deletions files/galaxy/tpv/tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,13 @@ tools:
- id: model_preset_multimer
if: job.get_param_values(app).get("model_preset") == "multimer"
mem: 69
- id: cz-pulsar_alphafold
if: |
(
"cz-pulsar" in {tag.value for tag in entity.tpv_tags.tags}
and helpers.tool_version_gte(tool, '2.3.1')
)
gpus: 1
scheduling:
require:
- singularity
Expand Down
Loading