EDTA icon indicating copy to clipboard operation
EDTA copied to clipboard

ERROR: blastn is not exist in the BLAST+ path

Open ericadinatale opened this issue 1 year ago • 1 comments

Hello!

I am running the cleanup_nested.pl as following: perl cleanup_nested.pl -in file.fa -blastplus /path to blast conda environment

But I have this error: ERROR: blastn is not exist in the BLAST+ path

Do you have any advice? I am sure blastn is there :)

Cheers! Erica

ericadinatale avatar Jul 07 '22 14:07 ericadinatale

Hello Erica,

The code is expecting blastn accessible from $ENV:

$blastplus=`which blastn 2>/dev/null` if $blastplus eq '';
$blastplus=~s/blastn\n//;
die "ERROR: blastn is not exist in the BLAST+ path $blastplus!\n" unless -X "${blastplus}blastn";

Please double check.

Best, Shujun

oushujun avatar Jul 07 '22 15:07 oushujun