Description: Implement BLAST database version 4 switch
 This patch adds support for the -blastdb_version switch of the makeblastdb
 wrapper of the library.  This originates from a workaround to fix a build test
 failure on 32 bit architecture, but the option might be interesting upstream
 as well, hence a separation of the implementation and test.
Author: Étienne Mollier <etienne.mollier@mailoo.org>
Forwarded: https://github.com/biopython/biopython/pull/2987
Applied-Upstream: 1.79
Last-Update: 2020-09-08
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- python-biopython.orig/Bio/Blast/Applications.py
+++ python-biopython/Bio/Blast/Applications.py
@@ -1452,6 +1452,14 @@
                 equate=False,
             ),
             # makeblastdb specific options
+            _Option(
+                ["-blastdb_version", "blastdb_version"],
+                "Version of BLAST database to be created. "
+                "Tip: use BLAST database version 4 on 32 bit CPU. "
+                "Default = 5",
+                equate=False,
+                checker_function=lambda x: x == 4 or x == 5
+            ),
             _Option(
                 ["-dbtype", "dbtype"],
                 "Molecule type of target db ('nucl' or 'prot').",
