Dear all,
I ran into a problem, when trying to use diffbind. I am running a local server of Galaxy on a workstation in our lab. I was able to install diffbind without any obvious error. When I run it, the history entry turns green directly after leaving the queue, indicating a successful run, only much to fast. The results itself are empty and the stderr channel gives me no output. But the stdout channel outputs this:
WARNING: ignoring environment value of R_HOME Fatal error: cannot open file '/usr/local/galaxy/shed_tools/testtoolshed.g2.bx.psu.edu/repos/bgruening/diffbind/7929c8b3f6f9/diffbind/diffbind.R': No such file or directory
Galaxy is installed in /home/galaxy_production/galaxy-dist/ not in /usr/local/galaxy/, thus of course diffbind.R can't be found there. I guess that the ignored R_HOME value contains the correct path. When checking the installation-log of diffbind this was further confirmed:
############################################# R_HOME=/home/galaxy_production/galaxy-dist/dependency_dir/R_3_0_1/3.0.1/iuc/package_r_3_0_1/59b82e6e0801; export R_HOME R_LIBS=/home/galaxy_production/galaxy-dist/dependency_dir/R_3_0_1/3.0.1/iuc/package_r_3_0_1/59b82e6e0801/lib/R/library; export R_LIBS PATH=/home/galaxy_production/galaxy-dist/dependency_dir/R_3_0_1/3.0.1/iuc/package_r_3_0_1/59b82e6e0801/lib/R/bin:$PATH; export PATH LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/galaxy_production/galaxy-dist/dependency_dir/R_3_0_1/3.0.1/iuc/package_r_3_0_1/59b82e6e0801/lib/R/lib; export LD_LIBRARY_PATH RHOME=/home/galaxy_production/galaxy-dist/dependency_dir/R_3_0_1/3.0.1/iuc/package_r_3_0_1/59b82e6e0801/lib/R; export RHOME R_PATH=/home/galaxy_production/galaxy-dist/dependency_dir/R_3_0_1/3.0.1/iuc/package_r_3_0_1/59b82e6e0801/lib/R/bin; export R_PATH PATH=$PATH:$R_HOME/bin; export PATH; R_LIBS=/home/galaxy_production/galaxy-dist/dependency_dir/diffbind/1.8.3/bgruening/diffbind/7faaf4a5e4e1; export R_LIBS; Rscript -e "install.packages(c('BiocGenerics_0.8.0.tar.gz'),lib='/home/galaxy_production/galaxy-dist/dependency_dir/diffbind/1.8.3/bgruening/diffbind/7faaf4a5e4e1', repos=NULL, dependencies=FALSE)" STDOUT WARNING: ignoring environment value of R_HOME #############################################
The given R_HOME path is correct, but again ignored. This happens in all similar paragraphs in the log file.
In the log of the job handler, I noticed that it failed to load some packages:
galaxy.tools.deps DEBUG 2015-09-07 18:09:41,304 Building dependency shell command for dependency 'Rscript' galaxy.tools.deps WARNING 2015-09-07 18:09:41,304 Failed to resolve dependency on 'Rscript', ignoring galaxy.tools.deps DEBUG 2015-09-07 18:09:41,304 Building dependency shell command for dependency 'DESeq2' galaxy.tools.deps WARNING 2015-09-07 18:09:41,305 Failed to resolve dependency on 'DESeq2', ignoring galaxy.tools.deps DEBUG 2015-09-07 18:09:41,305 Building dependency shell command for dependency 'R_3_0_1' galaxy.tools.deps DEBUG 2015-09-07 18:09:41,308 Building dependency shell command for dependency 'deseq2' galaxy.tools.deps DEBUG 2015-09-07 18:09:41,309 Building dependency shell command for dependency 'diffbind'
I tried to install R externally together with the corresponding packages, but this could not resolve the error.
Did I miss something?
I hope somebody can help me with this problem.
Thanks and best regards,
Thomas