Maybe too obvious but something we have encountered before with other scripts.
Check that galaxy can find the requirements to run your script. Shell settings 
like PATH.
What we do when starting galaxy is to source the /etc/profile
Since galaxy is not using the ENV of for instance bash.
Hope this helps.
Alex


Van: galaxy-user-boun...@lists.bx.psu.edu 
[mailto:galaxy-user-boun...@lists.bx.psu.edu] Namens Makis Ladoukakis
Verzonden: dinsdag 12 februari 2013 11:54
Aan: galaxy-user@lists.bx.psu.edu
Onderwerp: [galaxy-user] Rscript not found when running shell script in Galaxy

Dear users,

Has anyone encountered this problem before? I wrote a shell script which among 
other things calls some R scripts like this..

Rscript rscript_to_use.R

When I run it via terminal it's fine plus I have verified Rscript works. But 
when I upload my tool to Galaxy and try to run it I get the following error:

/path/to/script/shell_script.sh: line 26: Rscript: command not found


Can anyone help?

Thank you in advance,
Makis Ladoukakis


___________________________________________________________
The Galaxy User list should be used for the discussion of
Galaxy analysis and other features on the public server
at usegalaxy.org.  Please keep all replies on the list by
using "reply all" in your mail client.  For discussion of
local Galaxy instances and the Galaxy source code, please
use the Galaxy Development list:

  http://lists.bx.psu.edu/listinfo/galaxy-dev

To manage your subscriptions to this and other Galaxy lists,
please use the interface at:

  http://lists.bx.psu.edu/

Reply via email to