NP-Omix / BioCompass

Other
5 stars 3 forks source link

Failed to run multigeneblast from other folder #10

Closed tiagolbiotech closed 8 years ago

tiagolbiotech commented 8 years ago

While executing step E from Makefile, the following error appears:

mkdir -p dirname ../outputs/tables/PAL_db python ../multigeneblast//makedb.py ../outputs/tables/PAL_db \ find ../database_clusters -name 'gbk' | awk '{print $0}' ORS=' ' Error: Please add the MultiGeneBlast installation directory to your $PATH environment variable before running the executable from another folder. make[1]: ** [../outputs/tables/PAL_db] Error 1 make: *\ [ALL] Error 2

castelao commented 8 years ago

It's failing because MultiGeneBlast installation directory is not in your $PATH.

In macOSX, you can add the following lines in .bash_profile export PATH="$PATH:/path/to/multigeneblast"

I'm including that into $PATH when it's needed in the Makefile