Need Help?

Search our documentation and community forum

Terra is a cloud-native platform for biomedical researchers to access data, run analysis tools, and collaborate.
Terra powers important scientific projects like FireCloud, AnVIL, and BioData Catalyst. Learn more.

A Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and narrative text. Uses include: data cleaning and transformation, numerical simulation, statistical modeling, data visualization, and machine learning. Terra supports notebooks with R and Python kernels.

  • Detachable Persistent Disks plus-icon minus-icon

    This document outlines the updated functionality of Jupyter Notebooks on Terra with the addition of a “persistent disk” to your cloud environment, as of September, 2020. Users are advised to save their data in the directory /home/jupyter-user/note...
    See more

  • Terra's Jupyter Notebooks environment Part I: Key components plus-icon minus-icon

    Terra provides infrastructure for running and writing interactive analyses with Jupyter Notebooks, which are files that contain analysis code and embedded documentation. This article is to help enhance your ability to do interactive analyses with ...
    See more

  • Terra's Jupyter Notebooks environment Part II: Key operations plus-icon minus-icon

    Terra uses a standard Jupyter Notebooks server implementation, so the interface and core capabilities are all basically the same as what you would see in any other setting. As a result, you can take advantage of the wealth of documentation and tut...
    See more

  • Terra's Jupyter Notebooks environment Part III: Best Practices plus-icon minus-icon

    This article outlines recommended practices when working with cloud-based Jupyter Notebooks in Terra. For more information about the capabilities of Terra-based notebooks, explore the Visualization and Statistics section of our support knowledge b...
    See more

  • Understanding and Customizing your Notebook Runtime plus-icon minus-icon

    Interactive applications - such as Jupyter notebooks - run on virtual machines or clusters of machines, called a "runtime." When running an interactive application in Terra, you can adjust the configuration of the your VM or cluster runtime to fit...
    See more

  • "Edit" and "Playground" Notebook Modes plus-icon minus-icon

    Attention: Notebook runtime environments created before August 1, 2019 are incompatible with the new "Edit" and "Playground" modes. Further action is required. Please keep reading for next steps. Otherwise, please skip ahead to the "What is a note...
    See more

  • Notebooks 101: How not to lose data stored or generated in a notebook runtime plus-icon minus-icon

    If you remember the days before Google docs, you know firsthand the pain of losing work you thought was safe: working for hours on a paper only to have it vanish if your computer shut down and you hadn't saved it. Notebooks are wonderful for inter...
    See more

  • Analyzing data from a workspace bucket in a notebook plus-icon minus-icon

    The virtual machine running a Jupyter notebook has its own storage, separate from the workspace bucket. To analyze data in your workspace bucket in a notebook, you will need to import the data to the virtual disk. Below are the two steps, and exac...
    See more

  • Using the Terminal and Interactive Analysis Shell in Terra plus-icon minus-icon

    With Terra's terminal interface you can execute UNIX command-line code quickly within the runtime that runs notebooks in a workspace. This allows you to perform actions like listing files, moving files to and from the notebook disk and a Google bu...
    See more

  • Copying notebook output to a Google bucket plus-icon minus-icon

    Data generated by running an analysis in a Jupyter notebook is saved to the disk associated with the virtual notebook runtime. When the runtime is deleted, the data are as well. To transfer data generated within a notebook to more permanent storag...
    See more

  • Protecting data from an old notebook runtime (cluster) plus-icon minus-icon

    1. Identify notebooks in old clusters To see what notebook VMs you created under each billing project, and when you created them, go to a virtual machine or cluster created before August 1st? Note the Billing Pro...
    See more

  • Changing data file directories plus-icon minus-icon

    UPDATE Oct 22, 2019: We were able to simplify how users need to change the file paths in notebooks that point to local data files. Therefore, the article below differs slightly from the email notification you may have received on October 18,2019. ...
    See more

  • Viewing IGV tracks of BAM files in your workspace data plus-icon minus-icon

    This article explains three ways you can use the Integrative Genomics Viewer (IGV) to examine tracks from BAM (.bam) files in Terra. From the workspace Data tab By adding a startup script to a notebook runtime creation From the IGV web app   1...
    See more

  • Using the Bioconductor Docker image in Terra plus-icon minus-icon

    The Bioconductor Docker image is one of the current base images integrated into Terra. This guide will introduce you to the Terra Bioconductor image and how to use it with a Jupyter Notebook.  Contents Introduction to Bioconductor and the Terra B...
    See more

  • Preventing runaway costs with notebook auto-pause plus-icon minus-icon

    To prevent runaway charges when no computational work is being done in a notebook, runtime environments will automatically pause when there is no web browser or kernel activity for 30 minutes. Note that kernel activity will only prevent autopause ...
    See more

  • Adjusting autopause for notebooks using Swagger plus-icon minus-icon

    Occasionally, users may need to extend the default autopause time (30 minutes) to accommodate long-running jobs. To do this without restarting the cluster (simultaneously losing outputs and any newly loaded programs) you must send a PATCH command ...
    See more

Powered by Zendesk