diff --git a/files/galaxy/tpv/tools.yml b/files/galaxy/tpv/tools.yml index 7925c16cd..099888be7 100644 --- a/files/galaxy/tpv/tools.yml +++ b/files/galaxy/tpv/tools.yml @@ -284,6 +284,10 @@ tools: - if: helpers.tool_version_gte(tool, '2.3.1+galaxy2') params: singularity_run_extra_arguments: "--env ALPHAFOLD_DB=/data/db/databases/alphafold_databases,ALPHAFOLD_USE_GPU=False" + execute: | + from random import SystemRandom + if SystemRandom().random() < 0.10: + entity.gpus = 1 # tweak amount of requested memory depending on the AlphaFold model to be run - id: model_preset_multimer if: job.get_param_values(app).get("model_preset") == "multimer"