Description: Pass "-blastdb_version 4" to makeblastdb to work properly on 32 bit systems
Author: Iain Lane <laney@debian.org>
Forwarded: https://github.com/katholt/Kaptive/issues/20

--- kaptive.orig/kaptive.py
+++ kaptive/kaptive.py
@@ -1879,7 +1879,7 @@
         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()
