Open mgalland opened 4 years ago
Dear Marc,
Thank you for your question.
Maybe you failed to install/load the rgl
package.
From the sessionInfo.txt
file you attached, I understand you're using Ubuntu 20.04 LTS
OS.
When using Ubuntu, the error like this for the installation/loading of rgl
often happens.
Please retry installing and loading the rgl
package, and see the errors.
You should install some modules mentioned in those errors by using sudo apt install
command in your terminal.
If the troubles are not resolved after doing the above operations, please attach the errors you get to the reply.
Best regards, Kosuke
Dear Kosuke Thank you for your answer. Eventually, I'd like to build a Docker image that I can use from a CLI to run RAINBOWR. This is the script I've made: https://github.com/SilkeAllmannLab/gwas/blob/master/rainbowr_gwas.R
I am busy teaching at the time but will resume GWAS activities mid-October. Will try your solution then and see how it helps to build the Docker image.
Thank you for your answer.
Dear Kosuke,
Since this morning, I am back to GWAS matters. I have made a new Docker image with rgl
installed using apt-get
and within R. Please find the related Dockerfile here
As i'd like to run the RAINBOWR-based pipeline in the cloud, I'd like to run a Docker container with this command: docker run --rm allmann/gwas:0.1.0 --help
It seems to work now as I get "only" warning messages regarding the X11 display:
Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl.init' failed, running with 'rgl.useNULL = TRUE'.
3: no DISPLAY variable so Tk is not available
Usage: /home/rainbowr_gwas.R [options]
A program to perform a GWAS analysis based on the RAINBOWR package for R
Options:
-v FILENAME, --vcf=FILENAME
Path to VCF file. Can be gzipped (.gz)
-p FILENAME, --phenotype=FILENAME
Path to the phenotype file. One column with line identifier and one with phenotypic value. Tab-separated.
-o CHARACTER, --outdir=CHARACTER
output directory where to store results [default= gwas_results]
-h, --help
Show this help message and exit
What do you think? Does it seem ok from your point of view?
Dear Kosuke, This might not be the place to post such an issue but I ran out of options....Hope you can help.
I am trying to install RAINBOWR in the cloud to get more CPU and RAM for my GWAS analyses. Locally, on my machine, it works just fine. But somehow, the
rgl
dependency bumps into a right problem. Do you have any ideas/suggestions? Thank you in advance Marc