I have an web application hosted with Django-gUnicorn-Nginx. The web app is working mostly fine and is accessible except for one functionality.
Recently, I added pybedtools, a python wrapper package for bedtools. I have the binary executables of bedtools in the PATH
variable. However, the server is unable to access this executable.
The error just reports
intersectBed does not appear to be installed or on the path, so this method is disabled. Please install a more recent version of BEDTools and re-import to use this method
I have tested/reinstalled the latest versions locally and it works, but not in the server.
Any ideas? Thanks in advance.
Please show code how you did that. PATH should contain the directory where binaries are stored in, not the binary itself.
So if
bedtools
executable is in a folderbin
then set PATH toexport PATH=$PATH:/path/to/bin
Thanks. Yes, I've done it as you mentioned
This is where I've the bedtools executables