Skip to content

Commit bdbab57

Browse files
committed
readjust Hi-C bam memory
1 parent 48034fa commit bdbab57

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Benchmark/bfunctions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ def hi_c_processing_bam(input_json):
532532
# input and output are copied once
533533
total_size = (bamsize + other_inputsize + outsize) * 2 + tmp_pairsamsize
534534
safe_total_size = total_size * 2
535-
mem = 48000 # required for sorting buffer
535+
mem = 8000 # very rough number
536536

537537
r = BenchmarkResult(size=safe_total_size, mem=mem, cpu=nthreads)
538538

tests/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ def test_benchmark12(self):
293293
print(res)
294294
assert 'aws' in res
295295
assert 'recommended_instance_type' in res['aws']
296-
assert res['aws']['recommended_instance_type'] == 'r5a.2xlarge'
296+
assert res['aws']['recommended_instance_type'] == 'c6a.2xlarge'
297297
assert res['min_CPU'] == 8
298298

299299
def test_benchmark13(self):

0 commit comments

Comments
 (0)