> For the complete documentation index, see [llms.txt](https://academy.dnanexus.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://academy.dnanexus.com/interactivecloudcomputing/jupyterlab/tips-and-tricks-for-jupyterlab.md). Agents can also search and read this documentation through its [MCP server](https://academy.dnanexus.com/~gitbook/mcp).

# Tips and Tricks for JupyterLab

## DX Notebooks Naming

All notebooks saved onto the platform will have a DX prefix in front of them. Here is an example:

<figure><img src="https://1979569080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPtCOm9rXoRi4P9rh1ET8%2Fuploads%2F1DAuOkpD9Pjl6IUgYcRg%2Funknown.png?alt=media&amp;token=415ad5be-4fd5-41c4-b724-8b6a94cb8a7d" alt=""><figcaption></figcaption></figure>

## Storage Locations in JupyterLab

There is both worker related/ JupyterLab storage, as well as what is present in the Project storage. This is annotated in the figure below:

<figure><img src="https://1979569080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPtCOm9rXoRi4P9rh1ET8%2Fuploads%2Fgit-blob-e5b9064ae60fb8ace5aa4c3db0afa738db412be0%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

## Code Blocks

1. When you are running code blocks, remember that in JupyterLab you can run them out of order. This means that you need to pay attention to the numbers on the side of the code blocks for the order. This is highlighted in gold below:

<figure><img src="https://1979569080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPtCOm9rXoRi4P9rh1ET8%2Fuploads%2Fgit-blob-da9bac449f748f50abb2faecaa17c69ce4ec7193%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

2. If you choose to write in Python or R primarily, you can use the following at the top of your code block to "switch" to bash scripting. Example below

<figure><img src="https://1979569080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPtCOm9rXoRi4P9rh1ET8%2Fuploads%2Fgit-blob-ce7abb27270d0c4c2b76a5d5686fb65199026b24%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://academy.dnanexus.com/interactivecloudcomputing/jupyterlab/tips-and-tricks-for-jupyterlab.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
