Setting up your environment
This workshop is designed around the ARDC Nectar Research Cloud. Each participant will be assigned their own virtual machine (VM) which will have all of the prerequisite software pre-installed. The main requirements for participants will be:
- A personal computer
- Internet access
- Visual Studio Code (VS Code)
- A web browser
If you are working through these course materials on your own, see Setup instructions for your own machine below.
Installing and setting up VS Code
Visual Studio Code (VS Code) is a lightweight and powerful source code editor available for Windows, macOS and Linux computers.
-
Download Visual Studio Code for your system from here and follow the instructions for:
-
Open the VS Code application on your computer

-
Click on the extensions button (four blocks) on the left side bar.
-
Search for and install the "Remote - SSH" extension. Click on the blue
installbutton.

Login via Visual Studio Code
To connect to your VM within VS Code, you first need to add the login details to an SSH config file on your computer. You can do this within VS Code as follows:
- Find and copy the IP address for your Nectar VM that you were provided with.
- In VS Code, use the keyboard shortcut
Ctrl + Shift + P(Windows/Linux) orCmd + Shift + P(MacOS) to open the command palette. - Select
Select Remote-SSH: Add New SSH Host... - In the text box that appears, type
ssh <USERNAME>@<ip_address>, substituting your provided username and IP address.- For example, if your username is
meand your IP address is130.56.245.40, you would typessh me@130.56.245.40
- For example, if your username is
- Press
Enterto submit the SSH command. - In the drop-down box, select an SSH configuration file to update.
- Typically, you will want to update the configuration file that is in
${HOME}/.ssh/config, which will usually be the first one in the list.
- Typically, you will want to update the configuration file that is in
- You should get a pop-up message saying "Host added!" in the VS Code window.
Now you are ready to connect to the VM via VS Code. To do so:
- Open the command palette again (
Ctrl + Shift + P/Cmd + Shift + P) and selectRemote-SSH: Connect Current Window to Host... - In the drop-down box, select the newly-added remote, which should be at the top of the list and should be labelled with your VM's IP address.
- Type in your provided password and press enter.
Having successfully logged in, you should see a small blue or green box in the bottom left corner of your screen:

Install extensions on the remote machine
We will now install some helpful VS Code extensions:
- Live Server: enables you to view HTML reports on the remote machine without having to download them to your local computer first.
-
Rainbow CSV: displays CSV and TSV files with colour-coded columns, and also allows you to align the columns with one another to make it easier to read.
-
Ensure you are still connected to the VM as above.
- Click on the extensions button (four blocks) on the left side bar.
- For each of the extensions listed above, search for the extension name, click on the matching result, and click on the blue
installbutton.


Open the workshop folder
The last thing to do is to navigate to the workshop folder:
- Go to the File Explorer view in the left-hand side bar, or press
Ctrl + Shift + E(Windows/Linux) orCmd + Shift + E(Mac) if it isn't visible. - Click the blue "Open Folder" button.
- By default, VS Code will suggest your home folder (
/home/<USERNAME>), which is the directory we want to open. PressEnterto open VS Code in your home directory.- If for some reason VS Code is suggesting a different path than your home folder, you can use the drop-down box to navigate to it manually, or replace the path in the text box with
~and pressEnter(VS Code should automatically replace the~with the full path to your home folder, i.e./home/<USERNAME>)
- If for some reason VS Code is suggesting a different path than your home folder, you can use the drop-down box to navigate to it manually, or replace the path in the text box with
- If prompted, select the box for
Trust the authors of all files in the parent folder ‘home’then clickYes, I trust the authors - To open a terminal, type
Ctrl + J(Windows) orCmd + J(MacOS)- TIP: You can also use
Ctrl + `(the backtick key, all systems) to open a terminal, andCtrl + Shift + `to open additional terminal tabs, which show up in a panel on the right-hand side of the terminal view.
- TIP: You can also use
Getting around the workspace and running commands
Run the three checks below in the terminal to confirm that everything you need is in place.
-
Check that the AMRFinderPlus database exists by listing its folder:
You should see
2026-08-07.1andlatest. -
Check that the sample assigned to your breakout room is present. For example, if your sample is
ERR8282752:You should see the file name displayed, and not a
No such file or directorymessage. -
Check that the software is installed by asking FastQC for its version:
You should see
FastQC v0.12.1. -
Later modules will ask you to open HTML reports generated on the VM. To do this: right-click the report file in the VS Code file explorer and choose Open with Live Server to view it in a browser window — alternatively, download the report and open it locally.
Practice this now on an example report copied into your home directory during setup: in the File Explorer side bar, navigate to
example_report/barcode01_fastqc.html, right-click it, and choose Open with Live Server.You should see a FastQC report open in a browser window, with the title "barcode01" at the top. Just close the browser tab when you're done.
If you encounter any issues with these checks, let the organisers know.
Tips for using VS Code
- VS code cheatsheet for Windows
- VS code cheatsheet for MacOS
-
Copy a file's full path: right-click a file in the File Explorer and choose Copy Path (
Shift + Alt + C) to copy its full path to the clipboard, instead of typing it out by hand.
-
Reuse a previous command: press the Up/Down arrow keys in the terminal to cycle back through commands you've already run.
| Shortcut | Windows/Linux | MacOS |
|---|---|---|
| Show command palette | Ctrl + Shift + P |
Cmd + Shift + P |
| Toggle sidebar | Ctrl + B |
Cmd + B |
| Open new window | Ctrl + Shift + N |
Cmd + Shift + N |
| Open new file | Ctrl + N |
Cmd + N |
| Open file | Ctrl + O |
Cmd + O |
| Open folder | Ctrl + K then Ctrl + O |
Cmd + O |
| Open/close terminal | Ctrl + J |
Cmd + J |
| Open/close terminal (alternative) | Ctrl + ` |
Ctrl + ` |
| Open additional terminal | Ctrl + Shift + ` |
Ctrl + Shift + ` |
| Next file or terminal tab | Ctrl + PageDown |
Cmd + Shift + ] |
| Previous file or terminal tab | Ctrl + PageUp |
Cmd + Shift + [ |
| Quick file open | Ctrl + P |
Cmd + P |
| Zoom in | Ctrl + = |
Cmd + = |
| Zoom out | Ctrl + - |
Cmd + - |
| Find | Ctrl + F |
Cmd + F |
| Save | Ctrl + S |
Cmd + S |
| Select current line | Ctrl + L |
Cmd + L |
| Edit every instance of highlighted string | Ctrl + Shift + L |
Cmd + Shift + L |