Hi, I want to use Tax4Fun2 for annotating metabolic potential to microbial communities. I installed everything successfully. I have tested reference data, built the dependencies, and added the bin to PATH. (according to : https://github.com/bwemheu/Tax4Fun2)
When trying to run with the test data using the command: runRefBlast(path_to_otus = "~/Thesis_Data/seqs/seqs.fasta", path_to_reference_data = PATH, path_to_temp_folder = "~/Thesis_Data/seqs/REF99NR", database_mode = "Ref99NR", use_force = T, num_threads = 4)
Then, I get this: Copy and generate database Reference blast started Error in if (file.size(path_to_blast_file) == 0) stop("Blast file empty!") : missing value where TRUE/FALSE needed
Anyone has encountered the same problem and knows a solution?
I used tax4fun version 1.1.5.
Thank you in advance!
I had have the same problem.
I have the same problem with this package. It is no more maintained on github. Plz if you have a solution for that post here!
Thank you
Yes, I solved it a few weeks ago. I remember the error was in the specification of the paths (at least, it was for me). So I did as follows: (change your paths to format : "C:/Users/NAME/folder..."
This worked for me :) let me know if that helped
Hi ymj and everybody,
I am trying the above code in R, but always I get the next ERROR:
But all these folders and files have root permissions.And also I have tried it using nautilus, but the error is the same.
Please, could you help me to solve this error if you know how?.
I use Ubuntu 16.0 and R 4.1.1.
Thank you very much.strong text
Sorry,
The PATH that I wrote before (my last post) is not correct.The PATH correct is :
PATH = "~/d631a66f-81da-495d-8136-67bc214cb51d2/Tax4Fun2/R/Tax4Fun2_ReferenceData_v2/"
Thank you
Error is about not being able to find
blastn
executable. Where is your blast install located? Make sure that directory is in your$PATH
orTax4Fun2
is configured correctly to findblastn
.My blast install is located into the folder Tax4Fun2_ReferenceData_v2 (it includes the bin folder with blastn inside).
And when I try again in R the runRefBlast() script, the output is the same (the same ERROR).
Please, could you write me the code of $export PATH and the runRefBlast() script to solve this ERROR?
Thank you very much for your help.
You need to set the
PATH
to include the directory containing theblastn
executable. So use the following and see if that fixes the issue:Again the same ERROR:
Thank you
So the program path being checked (and which generates the error that
blastn
is not found) isWhere as you are setting the
$PATH
tothose two paths are not the same. Which exact directory is your
blastn
executable located in?If that is correct then you need to make sure that
Tax4Fun2
is configured accordingly. Currently it appears to be looking forblastn
in/media/juanm/d631a66f-81da-495d-8136-67bc214cb51d2/Tax4Fun2/R/Tax4Fun2_ReferenceData_v2//blast_bin/bin/
.