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.1.3 Share Username

Make sure your instructor has your Google account username (e.g. myname@gmail.com), so they can give you access to everything you need.

  • Make sure there are no typos!
  • If you have multiple Google accounts, make sure you give them the username that you will be using to log in to anvil.terra.bio.

It is very important that you share the Google account you will be using to access AnVIL with with your instructor! Otherwise, the instructor cannot add you to Billing Projects or Workspaces, and you will be unable to proceed with your assignments.

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:

  1. Go to the Workspace by clicking this link: https://anvil.terra.bio/#workspaces/gdscn-exercises/Investigating-Antimicrobial-Resistance.

  2. Clone the workspace by clicking the teardrop button (teardrop button). Select “Clone”. See the screenshot below on a different Workspace:

    Screenshot showing the teardrop button. The button has been clicked revealing the "clone" option. The Clone option and the teardrop button are highlighted.

  3. You will see a popup box appear, asking you to configure your Workspace

    1. Give your Workspace clone a name by adding an underscore (“_“) and your name. For example, "Investigating-Antimicrobial-Resistance_Firstname_Lastname".
    2. Select the Billing Project provided by your instructor.
    3. Leave the bottom two boxes as-is.
    4. Click “CLONE WORKSPACE”.

    See the screenshot below on a different Workspace:

    Screenshot showing the "clone a workspace" popout. The Workspace name, Billing Project, and Clone Workspace button have been filled in and highlighted.

  4. 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!