An Introduction to Terra¶
Terra is a cloud-based platform developed by the Broad Institute for bioinformatic analysis that aims to allow researchers with any level of computing skills to conduct large-scale bioinformatic analysis on the Google Cloud Platform.
Terra gives users both graphical and command line interface options, and also organizes documentation, data/metadata, workflows, analysis, and outputs all in one place. These shareable workspaces are important components for reproducible and collaborative research.
|Est. Time||Lesson name||Description|
|5 mins||Introduction||What is Terra and when would I use it?|
|30 mins||Setting up a Terra account||Connecting GCP and Terra accounts|
|30 mins||Navigating Terra workspaces||Intro to the Terra interface|
|45 mins||Running existing workflows||How to run a workflow?|
|30 mins||Custom workflow on Terra||Demo for building your own workflows|
|30 mins||Cloud costs||How much does it cost to run an analysis?|
The objectives of this tutorial are to:
learn about the Terra platform interface
set up a Terra account
learn how to use existing workflows on Terra
learn how to upload a workflow to use on Terra
Testing and running workflows will cost money, but the Google Cloud Platform gives new users a $300 free trial for 3 months.
The workflow exercise costs ~$1 (compute + storage cost).
For using Terra and its existing workflows, you'll need:
- Google Cloud Platform (GCP) billing account (+ valid credit card). Please see our lesson for setting up GCP accounts
In this lesson we demonstrate how to build custom workflows on Terra. The list of prerequisites below are not necessary to follow along with the demonstration, but when you're ready to make your own Terra workflows, you'll also need:
- A terminal environment (i.e., Mac terminal or GCP virtual machine) to test workflow code. The GCP virtual machine will cost money however, so we recommend starting with small test workflows if you choose this option.
- Dockerhub account
- Familiarity with shell command-line, docker, and Workflow Description Language computer programming are all needed to build custom workflows on Terra. The learning curve is steep, but there are also many excellent resources available to get you started! We'll share a few in the lesson.