-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to install docker4seq in windows OS #1
Comments
Dear kagningemma,
first I fixed the bug in the github, it should be ok now.
please reinstall docker4seq master
second part all containers are linux containers and youneed to install a special type of docker for windows that is in reality a linux virtual machine where docker is run.
You need to install
https://docs.docker.com/toolbox/toolbox_install_windows/ <https://docs.docker.com/toolbox/toolbox_install_windows/>
and run R from Docker Quickstart Terminal
let me know if you manage.
Cheers
Raf
…----------------------------------------
Prof. Raffaele A. Calogero
Bioinformatics and Genomics Unit
MBC Centro di Biotecnologie Molecolari
Via Nizza 52, Torino 10126
Tel. ++39 0116706457
Fax ++39 0112366457
Mobile ++39 3333827080
email: [email protected]
[email protected]
www: http://www.bioinformatica.unito.it
On 12 Jul 2017, at 12:16, kagningemma ***@***.***> wrote:
Thank you very much for providing this docker4seq package for R. I am a trying to learn NGS data analysis using docker4seq package but I am facing problems downloading the docker4seq package using Rstudio on windows 7 OS ( Intel Xeon CPU E5-1603 @2.8GHz, HD 1 TB, RAM 32GB). I have docker for windows installed as well as the 7 containers listed at the "02 requirements" section here http://rpubs.com/rcaloger/280163 <http://rpubs.com/rcaloger/280163>.
I pulled+ran the images of the 7 containers, and ran the "install_github("kendomaniac/docker4seq") command in Rstudio, but it didn`t work. instead, i got the following error message in R:
library(devtools)
Warning message:
Package 'devtools' was built under R version 3.4.1
install_github("kendomaniac/docker4seq")
Downloading GitHub repo ***@***.***
from URL https://api.github.com/repos/kendomaniac/docker4seq/zipball/master <https://api.github.com/repos/kendomaniac/docker4seq/zipball/master>
Installing docker4seq
"C:/PROGRA1/R/R-341.0/bin/x64/R" --no-site-file --no-environ --no-save
--no-restore --quiet CMD INSTALL
"C:/Users/viro10/AppData/Local/Temp/RtmpOGpjw0/devtools7bc7ee232e6/kendomaniac-docker4seq-3643254"
--library="C:/Program Files/R/R-3.4.0/library" --install-tests
installing source package 'docker4seq' ...
** R
Warning: 'casc.scnorm.R' (2 lines) can not be re-encoded
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
*** arch - i386
Error: package or namespace load failed for 'docker4seq' in namespaceExport(ns, exports):
undefined exports: cascStep4
Error: Loading failed
Execution stopped
*** arch - x64
Error: package or namespace load failed for 'docker4seq' in namespaceExport(ns, exports):
undefined exports: cascStep4
Error: Loading failed
Execution stopped
ERROR: loading failed for 'i386', 'x64'
removing 'C:/Program Files/R/R-3.4.0/library/docker4seq'
Installation failed: Command failed (1)
please see screenshot below
screenshot2.docx <https://github.com/kendomaniac/docker4seq/files/1141617/screenshot2.docx>
I also ran the docker command: downloadContainers(group="docker"), but got the same error mThank you!running the install_github("kendomaniac/docker4seq") command in R.
I may be mistaken, but the docker4seq downloading and installation steps listed here (http://rpubs.com/rcaloger/280163 <http://rpubs.com/rcaloger/280163>) seems to work only for linux OS.
Please can someone help ? How can i install docker4seq in windows OS ? Thanks in advance.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#1>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AKYcAzHxvqnfQD5C-8JUbhW3rQOWDp-eks5sNJ0HgaJpZM4OVash>.
|
Dear Sir, thank you for your reply. When I asking the question above, I had already installed Docker Toolbox on Windows 7. Thanks Emma |
Hi Emma, open the vignette in your browser: download in the desktop this file 130.192.119.59/public/test.mirnaCounts.zip library(docker4seq) library(docker4seq) from the docker terminal type: the analysis should run in back ground and you should be able to follow it by typing in the terrminal let me know what is happening |
I check on my windows |
this time, i typed the full path where R is installed (the two last commands in the image below) i do not know if that is the expected output. I am having issues connecting to docker hub through kitematic, i wrote the question here docker/kitematic#676 |
Uou start to have a reaction from windows great!
Could you please send me what is written in script.Rout
Cheers
Raf
Ps did you run the command nohup R CMD BATCH script.R
From the docker quick terminal?
Prof. Raffaele A Calogero
Tel +39 3333827080
Email [email protected]
[email protected]
Sent from my iPhone
… On 29 Jul 2017, at 11:51, Emmanuel Kagning T ***@***.***> wrote:
this time, i typed the full path where R is installed (the two last commands in the image below) i do not know if that is the expected output.
The two last commands are exactly the same, but different results??
―
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Yes Sir, i did it from the docker quick start terminal. Below are the the contents of the script.Rout file _**R version 3.4.0 (2017-04-21) -- "You Stupid Darkness" R is free software and comes with ABSOLUTELY NO WARRANTY. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'demo()' for some demos, 'help()' for on-line help, or
In your system the following version of Docker is installed:
|
Hi,
You have to create a folder C:\data\scratch and you have to indicate it as parameter of the script scratch.folder:
Library(docker4seq)
mirnaCounts(group="docker",fastq.folder=getwd(), scratch.folder="C:\data\scratch", mirbase.id="hsa",download.status=FALSE, adapter.type="NEB", trimmed.fastq=FALSE)
Let me know what happen :)
In September I will have a 32 Gb ram window and I can have a more clear idea of the behavior of docker4seq in windows
Cheers
Raf
Prof. Raffaele A Calogero
Tel +39 3333827080
Email [email protected]
[email protected]
Sent from my iPhone
… On 31 Jul 2017, at 05:49, Emmanuel Kagning T ***@***.***> wrote:
Yes Sir, i did it from the docker quick start terminal. Below is the the contents of the script.Rout file
_**R version 3.4.0 (2017-04-21) -- "You Stupid Darkness"
Copyright (C) 2017 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
library(docker4seq)
library(docker4seq)
mirnaCounts(group="docker",fastq.folder=getwd(), scratch.folder="/data/scratch", mirbase.id="hsa",download.status=FALSE, adapter.type="NEB", trimmed.fastq=FALSE)
In your system the following version of Docker is installed:
Docker version 17.05.0-ce, build 89658be
creating a folder in scratch folder
It seems that in C:/Program Files/R/R-3.4.0/bin there are not fastq.gz files[1] 1
Warning message:
In dir.create(file.path(scratch.folder, tmp.folder)) :
cannot create dir '\data\scratch\Sat-Jul-29-18-54-49-2017', reason 'No such file or directory'
proc.time()
user system elapsed
0.20 0.06 0.43**_
―
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
thank you for the good news about your forthcoming windows PC. So, I created the folder C:/data/scratch, the i ran the /c/"Program Files"/R/R.3.4.0/bin/R.exe CMD BATCH script.R command in docker terminal (in the directory where R is installed, as shown by the 1st command in the image below ) Output:
R version 3.4.0 (2017-04-21) -- "You Stupid Darkness" R is free software and comes with ABSOLUTELY NO WARRANTY. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'demo()' for some demos, 'help()' for on-line help, or
II. Next i deleted the previous script.R and edited the location of scratch folder in the command your gave changed "C:\data\scratch" to "C:/data/scratch". Then i ran the same command as above (the 2nd command in the image below) Output: R version 3.4.0 (2017-04-21) -- "You Stupid Darkness" R is free software and comes with ABSOLUTELY NO WARRANTY. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'demo()' for some demos, 'help()' for on-line help, or
In your system the following version of Docker is installed:
The contents of the tempFolderID file is below : C:/data/scratch/Wed-Aug-02-23-34-02-2017 III. When i ran the nohup R CMD BATCH script.R command (the last command in the image), it still created an empty nohup.Rout file Hopefully when you get your windows PC, a solution shall be found. |
Change in the script \ with /
Prof. Raffaele A Calogero
Tel +39 3333827080
Email [email protected]
[email protected]
Sent from my iPhone
… On 2 Aug 2017, at 16:47, Emmanuel Kagning T ***@***.***> wrote:
thank you for the good news about your forthcoming windows PC.
So, I created the folder C:/data/scratch, the i ran the /c/"Program Files"/R/R.3.4.0/bin/R.exe CMD BATCH script.R command in docker terminal (in the directory where R is installed, as shown by the 1st command in the image below )
Output:
the number 7552 appeared in the docker terminal and
-an error message from in the script.Rout (1) file
R version 3.4.0 (2017-04-21) -- "You Stupid Darkness"
Copyright (C) 2017 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
library(docker4seq)
library(docker4seq)
mirnaCounts(group="docker",fastq.folder=getwd(), scratch.folder="C:\data\scratch", mirbase.id="hsa",download.status=FALSE, adapter.type="NEB", trimmed.fastq=FALSE)
Error: '\d' is an unrecognized escape in character string starting ""C:\d"
Execution halted
II. Next i deleted the previous script.R and edited the location of scratch folder in the command your gave changed "C:\data\scratch" to "C:/data/scratch". Then i ran the same command as above (the 2nd command in the image below)
Output:
-2 files were created: script.R (1.2 KB) and tempFolderID (42 bytes) files
The contents of the script.Rout file is below:
R version 3.4.0 (2017-04-21) -- "You Stupid Darkness"
Copyright (C) 2017 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
library(docker4seq)
library(docker4seq)
mirnaCounts(group="docker",fastq.folder=getwd(), scratch.folder="C:/data/scratch", mirbase.id="hsa",download.status=FALSE, adapter.type="NEB", trimmed.fastq=FALSE)
In your system the following version of Docker is installed:
Docker version 17.05.0-ce, build 89658be
creating a folder in scratch folder
It seems that in C:/Program Files/R/R-3.4.0/bin there are not fastq.gz files[1] 1
proc.time()
user system elapsed
0.21 0.01 0.54
The contents of the tempFolderID file is below :
C:/data/scratch/Wed-Aug-02-23-34-02-2017
III. When i ran the nohup R CMD BATCH script.R command (the last command in the image), it still created an empty nohup.Rout file
Hopefully when you get your windows PC, a solution shall be found.
―
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
In the second script you need to have R starting in the folder where fastq is located
Prof. Raffaele A Calogero
Tel +39 3333827080
Email [email protected]
[email protected]
Sent from my iPhone
… On 2 Aug 2017, at 16:47, Emmanuel Kagning T ***@***.***> wrote:
thank you for the good news about your forthcoming windows PC.
So, I created the folder C:/data/scratch, the i ran the /c/"Program Files"/R/R.3.4.0/bin/R.exe CMD BATCH script.R command in docker terminal (in the directory where R is installed, as shown by the 1st command in the image below )
Output:
the number 7552 appeared in the docker terminal and
-an error message from in the script.Rout (1) file
R version 3.4.0 (2017-04-21) -- "You Stupid Darkness"
Copyright (C) 2017 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
library(docker4seq)
library(docker4seq)
mirnaCounts(group="docker",fastq.folder=getwd(), scratch.folder="C:\data\scratch", mirbase.id="hsa",download.status=FALSE, adapter.type="NEB", trimmed.fastq=FALSE)
Error: '\d' is an unrecognized escape in character string starting ""C:\d"
Execution halted
II. Next i deleted the previous script.R and edited the location of scratch folder in the command your gave changed "C:\data\scratch" to "C:/data/scratch". Then i ran the same command as above (the 2nd command in the image below)
Output:
-2 files were created: script.R (1.2 KB) and tempFolderID (42 bytes) files
The contents of the script.Rout file is below:
R version 3.4.0 (2017-04-21) -- "You Stupid Darkness"
Copyright (C) 2017 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
library(docker4seq)
library(docker4seq)
mirnaCounts(group="docker",fastq.folder=getwd(), scratch.folder="C:/data/scratch", mirbase.id="hsa",download.status=FALSE, adapter.type="NEB", trimmed.fastq=FALSE)
In your system the following version of Docker is installed:
Docker version 17.05.0-ce, build 89658be
creating a folder in scratch folder
It seems that in C:/Program Files/R/R-3.4.0/bin there are not fastq.gz files[1] 1
proc.time()
user system elapsed
0.21 0.01 0.54
The contents of the tempFolderID file is below :
C:/data/scratch/Wed-Aug-02-23-34-02-2017
III. When i ran the nohup R CMD BATCH script.R command (the last command in the image), it still created an empty nohup.Rout file
Hopefully when you get your windows PC, a solution shall be found.
―
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Thank you very much for providing this docker4seq package for R. I am a trying to learn NGS data analysis using docker4seq package but I am facing problems downloading the docker4seq package using Rstudio on windows 7 OS ( Intel Xeon CPU E5-1603 @2.8GHz, HD 1 TB, RAM 32GB). I have docker for windows installed as well as the 7 containers listed at the "02 requirements" section here http://rpubs.com/rcaloger/280163.
I pulled+ran the images of the 7 containers, and ran the "install_github("kendomaniac/docker4seq") command in Rstudio, but it didn`t work. instead, i got the following error message in R:
library(devtools)
Warning message:
Package 'devtools' was built under R version 3.4.1
** R
Warning: 'casc.scnorm.R' (2 lines) can not be re-encoded
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
*** arch - i386
Error: package or namespace load failed for 'docker4seq' in namespaceExport(ns, exports):
undefined exports: cascStep4
Error: Loading failed
Execution stopped
*** arch - x64
Error: package or namespace load failed for 'docker4seq' in namespaceExport(ns, exports):
undefined exports: cascStep4
Error: Loading failed
Execution stopped
ERROR: loading failed for 'i386', 'x64'
Installation failed: Command failed (1)
please see screenshot below
screenshot2.docx
I also ran the docker command: downloadContainers(group="docker"), but got the same error mThank you!running the install_github("kendomaniac/docker4seq") command in R.
I may be mistaken, but the docker4seq downloading and installation steps listed here (http://rpubs.com/rcaloger/280163) seems to work only for linux OS.
Please can someone help ? How can i install docker4seq in windows OS ? Thanks in advance.
The text was updated successfully, but these errors were encountered: