From a1aab2d87c53b3c551063449718e8d6b5845def9 Mon Sep 17 00:00:00 2001 From: cat-bro Date: Fri, 25 Oct 2024 15:01:41 +1100 Subject: [PATCH] add custom training rule for fgenesh --- .../production/total_perspective_vortex/tools.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/files/galaxy/dynamic_job_rules/production/total_perspective_vortex/tools.yml b/files/galaxy/dynamic_job_rules/production/total_perspective_vortex/tools.yml index 175957e40..ba6171d42 100644 --- a/files/galaxy/dynamic_job_rules/production/total_perspective_vortex/tools.yml +++ b/files/galaxy/dynamic_job_rules/production/total_perspective_vortex/tools.yml @@ -3561,6 +3561,12 @@ tools: - training-exempt # skips user training role rules within users.yml require: - pulsar-high-mem2 + rules: + - id: fgenesh_annotate_training_rule # custom training rule for fgenesh - regular training rules are in users.yml.j2 + if: | + user and any([role.name.startswith('training') for role in user.all_roles() if not role.deleted]) + cores: 4 + mem: 25 fgenesh_merge: inherits: fgenesh_tool fgenesh_split: