Open cjfields opened 9 years ago
Original Redmine Comment Author Name: J Nelson Original Date: 2012-02-02T16:40:24Z
Update: The patch I originally submitted did not work on Win32 machines, due to File::Spec->catfile() turning the ‘/’ into a ‘\’ before sending the web request. This attached patch corrects that.
Author Name: J Nelson (J Nelson) Original Redmine Issue: 3322, https://redmine.open-bio.org/issues/3322 Original Date: 2012-02-02 Original Assignee: Bioperl Guts
The
-remote
parameter toBio::Tools::Run::StandAloneBlastPlus->new()
is throwing an error if--db_name
contains a forward slash. The error text is: “Path specified by DB_DIR+DB_NAME ('$d') does not exist
”Example:
throws
Some of the databases available do contain the forward slash in their name, as seen here: http://www.ncbi.nlm.nih.gov/staff/tao/URLAPI/remote\_blastdblist.html\#7.2 so it would be nice if StandAloneBlastPlus supported them.
I’ve attached a simple patch that I believe fixes the problem, as well as a sample script that demonstrates the error.