Skip to content

Commit

Permalink
Update tools.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bgruening authored Mar 14, 2024
1 parent 40adc8a commit 2e45024
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions files/galaxy/tpv/tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1027,14 +1027,14 @@ tools:
accept:
- pulsar
rules:
- id: unicycler_small_input_rule
if: input_size < 0.05
cores: 1
mem: 3.8
- id: unicycler_medium_input_rule
if: 0.05 <= input_size < 2
cores: 8
mem: 28
- id: unicycler_small_input_rule
if: input_size < 0.05
cores: 1
mem: 3.8
- id: unicycler_medium_input_rule
if: 0.05 <= input_size < 2
cores: 8
mem: 28

toolshed.g2.bx.psu.edu/repos/imgteam/unzip/unzip/.*:
scheduling:
Expand Down Expand Up @@ -1188,30 +1188,30 @@ tools:
cores: 32
mem: 244
rules:
- id: bwa_mem2_small_input_rule
if: input_size < 0.25
cores: 2
mem: 7.6
- id: bwa_mem2_medium_input_rule
if: 0.25 <= input_size < 16
cores: 8
mem: 28
- id: bwa_mem2_large_input_rule
if: 16 <= input_size < 32
cores: 16
mem: 58
- id: bwa_mem2_xlarge_input_rule
if: 32 <= input_size < 64
cores: 24
mem: 120
- id: bwa_mem2_history_reference_rule
if: |
helpers.job_args_match(job, app, {"reference_source": {"reference_source_selector": "history"}})
# per https://github.com/bwa-mem2/bwa-mem2/issues/41 it's 28 * reference
mem: |
options = job.get_param_values(app)
size = options["reference_source"]["ref_file"].get_size()
min(max(float(size/1024**3) * 28, (input_size - float(size/1024**3)) * 2, 7.6), 120)
- id: bwa_mem2_small_input_rule
if: input_size < 0.25
cores: 2
mem: 7.6
- id: bwa_mem2_medium_input_rule
if: 0.25 <= input_size < 16
cores: 8
mem: 28
- id: bwa_mem2_large_input_rule
if: 16 <= input_size < 32
cores: 16
mem: 58
- id: bwa_mem2_xlarge_input_rule
if: 32 <= input_size < 64
cores: 24
mem: 120
- id: bwa_mem2_history_reference_rule
if: |
helpers.job_args_match(job, app, {"reference_source": {"reference_source_selector": "history"}})
# per https://github.com/bwa-mem2/bwa-mem2/issues/41 it's 28 * reference
mem: |
options = job.get_param_values(app)
size = options["reference_source"]["ref_file"].get_size()
min(max(float(size/1024**3) * 28, (input_size - float(size/1024**3)) * 2, 7.6), 120)
toolshed.g2.bx.psu.edu/repos/bgruening/flye/flye/.*:
cores: 20
Expand Down

0 comments on commit 2e45024

Please sign in to comment.