Chapter 8 AMR Resistance with Galaxy
8.1 AnVIL Account Setup
In order to run your analyses, you will use the AnVIL cloud computing platform. The AnVIL (Analysis Visualization and Informatics Lab-space) platform is specially designed for analyzing biological data, and is used by scientists doing all sorts of biological research.
AnVIL in a nutshell
- Behind the scenes, AnVIL relies on Google Cloud Platform to provide computing infrastructure. Basically, AnVIL lets you “rent” computers through the internet. The analysis is run on the rented computer. AnVIL lets you see the results in your browser.
- AnVIL uses Terra to provide many computational tools useful for biological data analysis, such as RStudio, Galaxy, and Jupyter Notebooks. Terra takes care of installing these tools so you can use them right away.
8.1.1 Create Google Account
First, you will need to set up a (free) Google account.
A Google account usually looks like “myname@gmail.com
”. Alternatively, you can enable Google for an existing non-Gmail email address using these instructions.
If you do not already have a Google account that you would like to use for accessing AnVIL, create one now.
8.1.2 Log In to Terra
Next, make sure you can log in to Terra – you will use Terra to perform computations on AnVIL.
You can access Terra by going to anvil.terra.bio
. Open Terra, and you should be prompted to sign in with your Google account.
8.2 Cloning the AnVIL Workspace
This will not work until your instructor has given you permission to spend money to “rent” the computers that will power your analyses (by adding you to a “Billing Project”).
On AnVIL, you access files and computers through Workspaces. Each Workspace functions almost like a mini code laboratory - it is a place where data can be examined, stored, and analyzed. The first thing we want to do is to copy or “clone” a Workspace to create a space for you to experiment. This will give you access to
- the files you will need (data, code)
- the computing environment you will use
Tip At this point, it might make things easier to open up a new window in your browser and split your screen. That way, you can follow along with this guide on one side and execute the steps on the other.
To clone an AnVIL Workspace:
Go to the Workspace by clicking this link: https://anvil.terra.bio/#workspaces/gdscn-exercises/Investigating-Antimicrobial-Resistance.
Clone the workspace by clicking the teardrop button (). Select “Clone”. See the screenshot below on a different Workspace:
You will see a popup box appear, asking you to configure your Workspace
- Give your Workspace clone a name by adding an underscore (“_“) and your name. For example, "Investigating-Antimicrobial-Resistance_Firstname_Lastname".
- Select the Billing Project provided by your instructor.
- Leave the bottom two boxes as-is.
- Click “CLONE WORKSPACE”.
See the screenshot below on a different Workspace:
The new Workspace should now show up under https://anvil.terra.bio/#workspaces. This is your own copy of the Workspace to work in.
More details coming soon!