songweizhi / Tax4Fun2_short_tutorial

A short tutorial for Tax4Fun2
9 stars 2 forks source link

sh: 1: blastn: not found #4

Closed shelanzi closed 3 months ago

shelanzi commented 4 months ago

Excuse me when I try to use the tax4fun in Rstudio Server,and code as follows:

runRefBlast(path_to_otus = '/mnt/disk1/home/chenzy24/temp5/raw/xiotus.fa', path_to_reference_data = './Tax4Fun2_ReferenceData_v2', path_to_temp_folder = 'Kelp_Ref99NR', database_mode = 'Ref99NR', use_force = TRUE, num_threads = 4)

and I receive a error

sh: 1: blastn: not found Error in system(command = paste(blast_bin, "-help"), intern = T) : error in running command

but I installed blast successfully!

Install Tax4Fun2 dependencies trying URL 'ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.9.0/ncbi-blast-2.9.0+-x64-linux.tar.gz' Content type 'unknown' length 243817734 bytes (232.5 MB)

blastn installation successfull!