summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIain Lane <laney@debian.org>2023-12-27 18:01:52 +0100
committerÉtienne Mollier <emollier@debian.org>2023-12-27 18:01:52 +0100
commit3cfc9e2d6b16dc67021110ff38fdfd606913453c (patch)
treeed09b9407b7321b315f67cd102af26833ea45eec
parent448e993d8e9a625c28aed14cc532f41b61e8bc72 (diff)
Pass "-blastdb_version 4" to makeblastdb to work properly on 32 bit systems
Forwarded: https://github.com/katholt/Kaptive/issues/20 Gbp-Pq: Name blastdb_4
-rwxr-xr-xkaptive.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kaptive.py b/kaptive.py
index 3cf607c..1d40694 100755
--- a/kaptive.py
+++ b/kaptive.py
@@ -1880,7 +1880,7 @@ def makeblastdb(fasta):
gunzip.stdout.close()
_, err = makeblastdb_process.communicate()
else: # plain text
- makeblastdb_command = ['makeblastdb', '-dbtype', 'nucl', '-in', fasta]
+ makeblastdb_command = ['makeblastdb', '-blastdb_version', '4', '-dbtype', 'nucl', '-in', fasta]
makeblastdb_process = subprocess.Popen(makeblastdb_command, stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
_, err = makeblastdb_process.communicate()