Skip to content

Commit

Permalink
StandaloneBlastPlus: don't automatically add ./ to remote database names
Browse files Browse the repository at this point in the history
Thanks to Paul Cantalupo for reporting and testing this.
  • Loading branch information
Kai Blin committed Aug 12, 2010
1 parent 91bfbd9 commit e817288
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/Bio/Tools/Run/StandAloneBlastPlus/BlastMethods.pm
Expand Up @@ -248,7 +248,13 @@ sub run {
}
}

$blast_args{-db} = $self->db_path;
# remove a leading ./ on remote databases. Something adds that in the
# factory, easier to remove here.
my $db = $self->db_path;
if ($self->is_remote) {
$db =~ s#^\./##;
}
$blast_args{-db} = $db;
$blast_args{-query} = $self->_fastize($query);
$blast_args{-out} = $outfile;
# user arg override
Expand Down

0 comments on commit e817288

Please sign in to comment.