Error when BLAST returns no results
Closed this issue · 1 comments
d-cameron commented
BLASTing of a sequence with no hits results in the following error:
Error in read.table(outfile, sep = ",") : no lines available in input
Called from: read.table(outfile, sep = ",")
A data frame with zero rows is the expected output.
NB: the return status of the blast would probably also have to be checked so rBLAST would know whether no results is due to actually having no results, or the processing exiting abnormally.
mhahsler commented
This should be fixed now. blast returns now an empty data frame and creates a warning.