Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Cope with Debian naming of rpsblast+ binary

  • Loading branch information...
commit 148b681a66061cc03d70f940a2efdede29adc64a 1 parent 90da547
@peterjc peterjc authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 Tests/
7 Tests/
@@ -18,6 +18,7 @@
# TODO - On windows, can we use the ncbi.ini file?
wanted = ["blastx", "blastp", "blastn", "tblastn", "tblastx",
+ "rpsblast+", #For Debian
"rpsblast", "rpstblastn", "psiblast", "blast_formatter"]
exe_names = {}
@@ -61,6 +62,12 @@
# print "Rejecting", exe_name
del exe_name, name
+#To avoid the name clash with legacy BLAST, Debian introduced rpsblast+ alias
+if "rpsblast+" in exe_names:
+ exe_names["rpsblast"] = exe_names["rpsblast+"]
+ del exe_names["rpsblast+"]
#We can cope with blast_formatter being missing, only added in BLAST 2.2.24+
if len(set(exe_names).difference(["blast_formatter"])) < len(wanted)-1 :
raise MissingExternalDependencyError("Install the NCBI BLAST+ command line "

0 comments on commit 148b681

Please sign in to comment.
Something went wrong with that request. Please try again.