This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Tools error on local galaxy

I am getting this while running clip on locally installed galaxy.

/home/user/Downloads/galaxy-master/database/jobs_directory/000/24/tool_script.sh: line 9: fastx_clipper: command not found

gzip: stdout: Broken pipe

galaxy fastxtools

2 answers

Obviously the program fastx_clipper has not been found. It either has not been installed or is not in the PATH environment so the OS cannot find it

I will revise the install of Galaxy, or outside Galaxy, will make sure that the fastx-toolkit commands can be found, like copying the commands in a place defined in the PATH

If you are root run

echo $PATH

And look if a directory like /usr/local/bin is included

Then copy with a sudo cp order all of the fastx-tollkit commands there

If you are not root, ask for assistance

Since this is Galaxy, tools will never be installed under /usr/local.

This is better suited to the Galaxy site, however since I run a couple Galaxy instances too perhaps I can help.

The fastx_clipper executable should be somewhere under /home/user/Downloads/galaxy-master/tool-deps (or something along those lines). You can check the exact place it's looking for it by looking in the shell script that you mentioned. For each job, the $PATH is modified in that script by sourcing various env.sh scripts. Those, in turn, contain the exact expected location of the executables.

Having said that, you could also remove and reinstall fastxtools from the toolshed, since that'll probably also fix the problem.

Log in to answer this question.