18 Getting Started
18.1 Account Login
If you don’t have an AnVIL account, you will need to create one using the steps below in the AnVIL Account Creation Dropdown section.
Expand for AnVIL account creation instructions
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.
18.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.
18.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.
Once you have an account, you can login and access Terra by going to anvil.terra.bio
. Open Terra, and you should be prompted to sign in with your Google account.
18.2 Workspace Set Up
Workspaces are the building blocks of projects in Terra. Inside a Workspace, you can run analyses, launch interactive tools like RStudio and Galaxy, store data, and share results.
Cloning an existing Workspace allows you to copy existing documentation, code, and/or data into your own experimental space. The data for this activity is already available on AnVIL, specifically the demos-galaxy-fastqc
workspace, so you’ll want to clone the repository.
When cloning, AnVIL makes a copy of notebooks and code for you to modify. Data however, is linked back to the original Workspace through Data Tables, which saves space!
The screenshots included below show a different workspace than what this tutorial will be using. For this tutorial, you want to clone the demos-galaxy-fastqc
workspace
Be sure to name the cloned workspace a unique name in step 6. We recommend adding _yourfirstname_yourlastname
to the workspace name.
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:
Open Terra - use a web browser to go to
anvil.terra.bio
In the drop-down menu on the left, navigate to “Workspaces”. Click the triple bar in the top left corner to access the menu. Click “Workspaces”.
You are automatically directed to the “MY WORKSPACES” tab. Here you can see any Workspaces that have been shared with you, along with your permission level. Depending on how your instructor has set things up, you may or may not see any Workspaces in this tab.
Locate the Workspace demos-galaxy-fastqc. (The images below show the SARS-CoV-2-Genome Workspace as an example, but you should look for the Workspace demos-galaxy-fastqc.)
- If it has been shared with you ahead of time, it will appear in “MY WORKSPACES”.
- Otherwise, select the “PUBLIC” tab. In the top search bar, type the Workspace name demos-galaxy-fastqc.
- You can also go directly to the Workspace by clicking this link: https://anvil.terra.bio/#workspaces/anvil-outreach/demos-galaxy-fastqc.
Clone the workspace by clicking the teardrop button (). Select “Clone”. Or, if you have opened the Workspace, you can find the teardrop button on the top right of the 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, "demos-galaxy-fastqc_Firstname_Lastname".
- Select the Billing Project sri-lanka-2025.
- Leave the bottom two boxes as-is.
- Click “CLONE WORKSPACE”.
The new Workspace should now show up under “MY WORKSPACES”. You now have your own copy of the Workspace to work in.