Skip to content

Commit b70f247

Browse files
author
Czarnewski
committed
fixes link environment
1 parent cf93b8c commit b70f247

File tree

2 files changed

+33
-36
lines changed

2 files changed

+33
-36
lines changed

labs/FAQ.md

+3-6
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Below you can find some common error and problems you might face either during i
1919

2020

2121
<details>
22-
<summary markdown="span">`Command line developer tools not found (OSX)`</summary>
22+
<summary markdown="span">`Command line developer tools not found` (OSX)</summary>
2323

2424
If you don't yet have Mac OSX command line developer tools, please install it using:
2525

@@ -78,11 +78,8 @@ Below you can find some common error and problems you might face either during i
7878

7979
If you have the correct version now, you should be able to run UMAP without issues.
8080

81-
</p>
8281
</details>
8382

84-
<br/>
85-
8683
<details>
8784
<summary markdown="span">`Unable to load stringi.so` (UNIX/Windows)</summary>
8885

@@ -96,7 +93,7 @@ Below you can find some common error and problems you might face either during i
9693

9794

9895
<details>
99-
<summary markdown="span">`ERROR: Failed building wheel for gevent` (MacOSX)</summary>
96+
<summary markdown="span">`ERROR: Failed building wheel for gevent` / `MacOSX10.9.sdk missing` (MacOSX)</summary>
10097

10198
This is a problem with the MacOSX compiler, in which conda is unable to find it.
10299

@@ -108,7 +105,7 @@ Below you can find some common error and problems you might face either during i
108105
sudo tar -xzf MacOSX10.9.sdk.tar.xz
109106
110107
#copy
111-
sudo cp -r ~/Downloads/MacOSX10.9.sdk /opt/
108+
sudo cp -r MacOSX10.9.sdk /opt/
112109
113110
#give executable permissions
114111
sudo chmod -R a+rX /opt

precourse.md

+30-30
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Start by installing Conda. We suggest installing **Miniconda3** and NOT Anaconda
105105
<img border="0" src="https://logos-download.com/wp-content/uploads/2020/06/Apple_Mac_OS_Logo-700x670.png" width="30" height="30">
106106

107107
First, make sure you have Xcode and CommandLineTools installed and updated to latest version (in AppStore). If you have not already installed CommadLineTools, go to a terminal window and run:
108-
108+
109109
```
110110
xcode-select --install
111111
```
@@ -130,21 +130,21 @@ Start by installing Conda. We suggest installing **Miniconda3** and NOT Anaconda
130130
<details>
131131
<summary markdown="span">**On Ubuntu**</summary>
132132
<img border="0" src="https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcR2rSSpKVBohI4AXgBaUjFVYqO73ou2l9AOXw&usqp=CAU" width="30" height="30">
133-
133+
134134
First download the latest version of Miniconda3 and run it to install.
135-
135+
136136
```
137137
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
138138
sh Miniconda3-latest-Linux-x86_64.sh
139139
```
140-
140+
141141
Follow the instructions on screen replying `yes` when necessary. Restart your terminal window to apply modifications. After restarting, you can type the command below to install Mamba:
142-
142+
143143
```
144144
conda init
145145
conda install -n base -c conda-forge mamba
146146
```
147-
147+
148148
</details>
149149

150150

@@ -153,80 +153,80 @@ Start by installing Conda. We suggest installing **Miniconda3** and NOT Anaconda
153153
<img border="0" src="https://seeklogo.com/images/W/windows-10-icon-logo-5BC5C69712-seeklogo.com.png" width="30" height="30">
154154

155155
Unfortunately, not all packages available on conda are compatible with windows machines. The good news is that Windows 10 offers native linux support via the Windows Subsystem for Linux (WSL2). This allows you to run linux/bash commands from within windows without the need of a virtual machine nor a dual-boot setup (i.e. having 2 operating systems). However, WSL does not offer a complete support for graphical interfaces (such as RStudio in our case), so we need additional steps to make that happen.
156-
156+
157157
1. On Windows 10, install the WSL if you don't have it. Follow the instructions here:
158158
[https://docs.microsoft.com/en-us/windows/wsl/install-win10](https://docs.microsoft.com/en-us/windows/wsl/install-win10)
159-
159+
160160
2. Once you have that installed, you can download and install MobaXterm (which is the enhanced terminal with graphical capacity):
161161
[https://mobaxterm.mobatek.net](https://mobaxterm.mobatek.net)
162162
It is recommended that you INSTALL the program and not use the portable version.
163-
163+
164164
3. Inside MobaXterm, you will probably will see that your WSL is already listed on the left panel as an available connection. Just double-click it and you will be accessing it via MobaXterm. If by any chance you don't see it there, close MobaXterm and go to the WSL terminal, because probably the WSL is not allowing SSH connections. You can follow this [link](https://www.illuminiastudios.com/dev-diaries/ssh-on-windows-subsystem-for-linux/) for the instructions on how to do it. You need to complete until the step `Start or restart the SSH service`, while the further steps are optional, but might be useful.
165-
165+
166166
4. Inside MobaXterm, download Conda with the command:
167-
167+
168168
```
169169
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
170170
```
171-
171+
172172
5. Inside MobaXterm, type the commands below to install Conda. Follow the instructions for the installation there.
173-
173+
174174
```
175175
cd ~/Downloads
176176
sh Miniconda3-latest-Linux-x86_64.sh
177177
```
178-
178+
179179
6. Inside MobaXterm, Follow the instructions on screen replying `yes` when necessary. Restart your terminal window to apply modifications. After restarting, you can type the command below to install Mamba:
180-
180+
181181
```
182182
conda init
183183
conda install -n base -c conda-forge mamba
184184
```
185-
185+
186186
7. Inside MobaXterm, type the commands below to install the X-server graphical packages that will be used to launch RStudio.
187187
[https://docs.anaconda.com/anaconda/install/linux/](https://docs.anaconda.com/anaconda/install/linux/)
188-
188+
189189
```
190190
sudo apt-get update
191191
sudo apt-get install libgl1-mesa-glx libegl1-mesa libxrandr2 libxrandr2 libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6
192192
```
193-
193+
194194
8. Close and open all application and Inside MobaXterm, you will probably will see that your WSL is already listed on the left panel as an available connection. Just double-click it and you will be accessing it via MobaXterm.
195-
195+
196196
</details>
197197

198198

199199
<details>
200200
<summary markdown="span">**On VirtualBox**</summary>
201201
<img border="0" src="https://upload.wikimedia.org/wikipedia/commons/d/d5/Virtualbox_logo.png" width="30" height="30">
202-
202+
203203
If by any means you see that the installations are not working as it should on your computer, you can try to create a virtual machine to run UBUNTU and install everything there. But please keep this alternative as the last temporary resourse, as we recommend troubleshooting the installation o the up-mentioned methods.
204-
204+
205205
1. Download and install on your machine VIRTUALBOX
206206
[https://www.virtualbox.org](https://www.virtualbox.org)
207-
207+
208208
2. Download the ISO disk of UBUNTU
209209
[https://ubuntu.com/download/desktop](https://ubuntu.com/download/desktop)
210-
210+
211211
3. On VIRTUALBOX, click on `Settings` (yellow engine) > `General` > `Advanced` and make sure that both settings **Shared Clipboard** and **Drag'n'Drop** are set to `Bidirectional`.
212-
212+
213213
4. Completely close VIRTUALBOX and start it again to apply changes.
214-
214+
215215
5. On VIRTUALBOX, create a machine called Ubuntu and add the image above
216216
- set the memory to the maximum allowed in the GREEN bar
217217
- set the hard disk to be dynamic allocated
218218
- all other things can be default
219-
219+
220220
6. Proceed with the Ubuntu installation as recommended. You can set to do "Minimal Installation" and deactivate to get updates during installation.
221-
221+
222222
7. Inside Ubuntu, open TERMINAL and type the commands below to install the X-server graphical packages that will be used to launch RStudio.
223223
[https://docs.anaconda.com/anaconda/install/linux/](https://docs.anaconda.com/anaconda/install/linux/)
224-
224+
225225
```
226226
sudo apt-get update
227227
sudo apt-get install libgl1-mesa-glx libegl1-mesa libxrandr2 libxrandr2 libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6
228228
```
229-
229+
230230
8. Inside UBUNTU, Download conda:
231231

232232
```
@@ -267,7 +267,7 @@ It is recommended that you INSTALL the program and not use the portable version.
267267
To download the `environment_scRNAseq2021.yml` file using the command on Terminal:
268268

269269
```
270-
curl -o environment_scRNAseq2021.yml https://raw.githubusercontent.com/NBISweden/workshop-RNAseq/master/environment_scRNAseq2021.yml
270+
curl -o environment_scRNAseq2021.yml https://raw.githubusercontent.com/NBISweden/workshop-scRNAseq/master/labs/environment_scRNAseq2021.yml
271271
```
272272

273273
After this, you should have a file named `environment_scRNAseq2021.yml` in your directory (it does not matter where). Next, type:

0 commit comments

Comments
 (0)