|
46 | 46 | "```\n",
|
47 | 47 | "\n",
|
48 | 48 | "\n",
|
49 |
| - "#### Install conda on Windows \n", |
50 |
| - "\n", |
51 |
| - "Download EXE installer and install it.\n", |
52 |
| - "\n", |
53 |
| - "\n", |
54 | 49 | "## Create a conda environment and install limix, jupyter notebook\n",
|
55 | 50 | "\n",
|
56 | 51 | "### For Linux, Mac OSX and WSL follow this:\n",
|
|
61 | 56 | "$ cd gwas-lecture\n",
|
62 | 57 | "$ conda env create -f environment.yml\n",
|
63 | 58 | "```\n",
|
64 |
| - "### For Windows follow this:\n", |
65 | 59 | "\n",
|
66 |
| - "For Windows you also need the Windows Compiler for Python 2.7 which you can download [here](http://aka.ms/vcpython27) \n", |
67 | 60 | "\n",
|
68 |
| - "```bash\n", |
69 |
| - "$ git clone https://github.com/timeu/gwas-lecture.git \n", |
70 |
| - "$ # or download archive from and extract it from https://github.com/timeu/gwas-lecture/archive/master.zip\n", |
71 |
| - "$ cd gwas-lecture\n", |
72 |
| - "$ conda create -n gwas-lecture python=3\n", |
73 |
| - "$ activate gwas-lecture\n", |
74 |
| - "$ conda install -c conda-forge cython numpy jupyter matplotlib hcephes\n", |
75 |
| - "$ pip install liknorm numpy-sugar glimix-core joblib limix-legacy ncephes pandas-plink\n", |
76 |
| - "$ pip install limix\n", |
| 61 | + "## Docker container\n", |
| 62 | + "\n", |
| 63 | + "As a fallback if any of the installations above fail, it is possible to use a docker container that comes with all libraries pre-installed. First make sure to install [Docker](https://docs.docker.com/install/) on your machine.\n", |
| 64 | + "Once docker is installed just run: \n", |
| 65 | + "\n", |
77 | 66 | "```\n",
|
| 67 | + "$ docker run -it timeu/gwas-lecture\n", |
| 68 | + "```\n", |
| 69 | + "Open http://localhost:8888 in your browser\n", |
78 | 70 | "\n",
|
79 | 71 | "\n",
|
80 | 72 | "## Start jupyter notebook\n",
|
|
98 | 90 | "\n",
|
99 | 91 | "In the terminal, type:\n",
|
100 | 92 | "* install.packages('IRkernel')\n",
|
101 |
| - "* IRkernel::installspec() # to register the kernel in the current R installation\n", |
102 |
| - "\n", |
103 |
| - "Launch jupyter with the specified kernel:\n", |
104 |
| - "* jupyter console --kernel=ir" |
| 93 | + "* IRkernel::installspec() # to register the kernel in the current R installation" |
105 | 94 | ]
|
106 | 95 | }
|
107 | 96 | ],
|
|
0 commit comments