Metagenomics: Precourse Instructions
Overview
The software and data used for analysis during the course are hosted on an Amazon Web Services (AWS) virtual machine (VM) instance. A copy of such an instance that requires no previous setup by you will be made available to you at no cost by the Cloud-SPAN team.
To access and use the resources in your AWS instance from your personal computer, you will use a command-line interface (CLI) program that is widely known as the shell or terminal. The shell is available by default for Linux and Mac users (so they don’t need to install any software).
Windows users will need to install Git for Windows on their computer as described below prior to the course. Git includes Git Bash which is a Windows version of the Unix Bash shell, the most widely used shell and the default shell in Linux systems.
You will need to use a laptop or desktop to take this course. Due to the need to both follow the instructor in Zoom and perform analyses, tablets and iPads are not suitable for using during this course. Having both an up to date browser and a stable internet connection is important.
Before the course you will receive via email the information that you will need to log in to your AWS instance. Your instructor will show you how to log in.
Install Git Bash — Windows users
The steps below correspond to the installation of Git for Windows version 2.33.1 from scratch. The installation of a more recent version, or updating a previously installed version, may show different wording in the screen messages mentioned below or may vary slightly in the number of steps to follow. Choose as many of the options below as possible.
Click on this link: Git for Windows download page
Once in that page, click on Download to download the installer.
Once the installer is downloaded,
- double click on it
- you will then be asked some questions and to select an option for each question.
- each question is shown below in Italics, and the selection to be made is shown in bold
The app you’re trying to install isn’t a Microsoft-verified app ..?
- Click on Install anyway
Do you want to allow this app to make changes to your device?
- Click on Yes
GNU General Public License
- click on Next
Select Destination Location
- click on Next (don’t change the location shown).
Select Components
- click on Additional Icons (it will also select “On the Desktop” option)
- then click on Next
Select Start Menu Folder
- click on Next (don’t change the folder name shown)
Choosing the default editor used by Git
- select Use the nano editor by default and click on Next.
- NB: you may need to click on the dropdown menu and to scroll up with the mouse to see this option – see the figure:
Adjusting the name of the initial branch in new repositories
- keep the selected (or select the) option Let Git decide and click on Next.
Adjusting your PATH environment
- keep the selected, Recommended option Git from the command line and also from 3rd-party software
- or selec it, and click on Next.
- NB: if this option is not selected, some programs that you need for the course will not work properly. If this happens rerun the installer and select the appropriate option.
Choosing the SSH executable
- keep the selected (or select the) option Use bundled OpenSSH and click on Next.
Choosing HTTPS transport backend
- keep the selected (or select the) option Use the OpenSSL library and click on Next.
Configuring the line ending conversions
- keep the selected (or select the) option Checkout Windows-style, commit Unix-style line endings and click on Next.
Configuring the terminal emulator to use with Git Bash
- keep the selected (or select the) option Use MinTTy (the default terminal of MSYS2) and click on Next.
Choose the default behaviour of
git pull
- keep the selected (or select the) option Default (fast-forward or merge) and click on Next.
Choose a credential helper
- keep the selected (or select the) option Git Credential Manager Core and click on Next.
Configuring extra options
- keep the selected option (Enable File System Caching) and click on Next.
Configuring experimental options
- click on Install without selecting any option
Click on Finish
Run Git Bash by double clicking on the Git Bash icon in your Desktop screen.
Exit Git Bash by pressing the keys Ctrl
and d
(Ctrl-d
) simultaneously.