From 2dd5829fbb4759cc5dceb51d4c590793042907d1 Mon Sep 17 00:00:00 2001 From: Sam <137890552+SamGallop-NBI@users.noreply.github.com> Date: Tue, 12 Sep 2023 13:21:34 +0100 Subject: [PATCH] Update select_db.py Add threads argument to the call of StreamingQueryDNADatabase.py. --- scripts/select_db.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/select_db.py b/scripts/select_db.py index 53aa990..aba950d 100644 --- a/scripts/select_db.py +++ b/scripts/select_db.py @@ -72,7 +72,8 @@ def run_cmash_and_cutoff(args, taxid2info): cmash_out = args.temp_dir + 'cmash_query_results.csv' cmash_proc = subprocess.Popen(['StreamingQueryDNADatabase.py', args.temp_dir + '60mers_intersection_dump.fa', cmash_db_loc, - cmash_out, '30-60-10', '-c', '0', '-r', '1000000', '-v', + cmash_out, '30-60-10', '-c', '0', '-r', '1000000', + '-t', str(args.threads), '-v', '-f', cmash_filter_loc, '--sensitive']).wait() else: cmash_out = args.cmash_results