| 1 |
Description: Pass "-blastdb_version 4" to makeblastdb to work properly on 32 bit systems |
| 2 |
Author: Iain Lane <[email protected]> |
| 3 |
Forwarded: https://github.com/katholt/Kaptive/issues/20 |
| 4 |
|
| 5 |
--- kaptive.orig/kaptive.py |
| 6 |
+++ kaptive/kaptive.py |
| 7 |
@@ -1879,7 +1879,7 @@ |
| 8 |
gunzip.stdout.close() |
| 9 |
_, err = makeblastdb_process.communicate() |
| 10 |
else: # plain text |
| 11 |
- makeblastdb_command = ['makeblastdb', '-dbtype', 'nucl', '-in', fasta] |
| 12 |
+ makeblastdb_command = ['makeblastdb', '-blastdb_version', '4', '-dbtype', 'nucl', '-in', fasta] |
| 13 |
makeblastdb_process = subprocess.Popen(makeblastdb_command, stdout=subprocess.PIPE, |
| 14 |
stderr=subprocess.PIPE) |
| 15 |
_, err = makeblastdb_process.communicate() |