Getting started #
This guide takes you through the core workflow on brainlife.io (connects.brainlife.io):
- Sign in
- Learn the key terms
- Find your way around
- Create a project
- Add data to your project
- Look at your data
- Run Apps on your data
- Analyze with notebooks
Sign in #
- On brainlife.io, select Sign in (or Start a project).
- Choose a login method. If you do not have an account yet, you can create one on the same page.
- You land on your Dashboard.
If you sign in with a third-party account (for example Google or GitHub), use the same account every time. Signing in with a different account creates a second profile.
brainlife.io terms to know #
Dataset #
A dataset is one item of project data: the files of one datatype for one subject (and session). For example:
- A
neuro/dwidataset holdsdwi.nii.gz(the 4D diffusion image),dwi.bvecsanddwi.bvals. - The FreeSurfer output for one subject is one dataset that holds all its surface and segmentation folders.
The files of a dataset do not change after it is created. Its metadata (subject, session, description and annotations) can be edited. Older pages call a dataset a "data object"; that term is still used inside publication releases.
Datatypes #
Apps exchange data through datatypes.
- A datatype defines the files and folders a dataset of that type contains.
- The colored chips on an App show which datatypes it takes as input and which it produces as output.
- Datatype tags (for example
acpc_alignedorpreprocessed) narrow a datatype, so an App receives exactly the input it needs. - Browse all datatypes under Datatypes in the sidebar.
Annotations #
Annotations are free-text labels you add to datasets (for example control or patient) so you can filter them.
Navigating brainlife.io #
The sidebar has two parts.
The top part (no heading) holds your own work:
- Dashboard: what needs your attention, your recent projects, your runs, and the compute you have used.
- My Projects: projects you administer, contribute to, or follow as a guest.
- My Publications: publications you authored, contributed to, or created.
- My Resources: compute resources you administer.
- My Apps: Apps you maintain.
- My Datatypes: datatypes you maintain.
The Explore part holds what the community shares:
- SKAI: the AI assistant that answers questions about your projects, data and runs.
- Public Publications: all publications.
- Public Datasets: open data from DANDI, EMBER, BossDB, OpenNeuro and the brainlife.io Dataset Library.
- Apps: the App catalog.
- Datatypes: the datatype catalog.
- Public Projects: projects shared with the brainlife.io community.
- Public Resources: shared compute resources.
At the bottom of the sidebar are Login / Logout and the light and dark mode switch.
Create a project #
A project is your workspace: data, processing, notebooks and publications, shared with your team.
- In the sidebar, select My Projects.
- Select Project (the button with a plus sign).
- In Create project, enter a Title and a Description.
- Select Create project.
brainlife.io creates the project and opens it.
Project tabs #
Every project has five numbered tabs:
- 1. Overview: the project's About text, Citations for the Apps and resources used, Related Articles, the people (Admins, Members, Guests), data agreements and resources.
- 2. Data: the Project Data table of all datasets, with filters and actions.
- 3. Processing: three views, Summary, Processes and Pipeline.
- 4. Analysis: Jupyter notebooks that run against your project data.
- 5. Publications: the publications made from this project.
Add data to your project #
Open the 2. Data tab and open the Project Data menu. It offers:
- "Copy Data from Public Datasets" (BossDB, DANDI, and OpenNeuro).
- "Copy Data From another Project": search for a project and copy its data over.
- "Upload Data From local Files": shown as "Currently unavailable".
- "Upload Data from ezBIDS": shown as "Currently unavailable".
To bring in your own data today, convert it with ezBIDS on the web, or upload it with the brainlife.io CLI. aimport, a local importer, is new and not yet released.
Copy a public dataset #
In the sidebar, select Public Datasets. Search, or filter by source (Dataset Library, DANDI, EMBER, BossDB, OpenNeuro).
Public Datasets Explorer Select a dataset to open it. For a Dataset Library dataset, open its 2. Data tab to see its subjects, sessions and datatypes.
Collection Data View Use the Datatype filter to show only the datatypes you want (for example
anat/t1w).
Filter Datatypes Select Copy to project. In Copy data to project:
- Under "1. Select the datatypes to copy over", tick the datatypes you need.
- Choose Existing and pick a project, or New project and enter Title (required) and Description (required).
- Select Submit.
Copy Data to Project
The datasets appear on the project's 2. Data tab.
Look at your data #
You can look at images, segmentations and tractography in your browser without downloading them.
On 2. Data, the table lists your datasets by subject and session, with their datatype, tags and annotations.
Project Data Tab In a dataset's row, select Visualize (the eye icon) and choose one of the viewers registered for its datatype, for example NiiVue or Neuroglancer.
To overlay compatible datasets (for example a T1w image and a mask), select them and choose Visualize together.
Select a dataset to open it. Its Provenance (history) tab shows which App, configuration and inputs produced it.
Volume Viewer Multi-Dataset Comparison
Run Apps on your data #
You run Apps in two ways: a process, where you choose the data and Apps by hand, and a pipeline, where automations run an App for every subject and session.
Run an App in a process #
- On 2. Data, select the datasets you want to process and select Stage to process.
- In Add to process, choose "Create a new process" and give it a name, or "Add to an existing process". Select Add and open editor.
- In the process editor, select Add App. Follow the steps Select App, Configure App Settings, Select Inputs and Configure Outputs. Choose whether to Archive Output (save the result as a dataset in the project), then select Add App.
- Follow progress on 3. Processing → Processes. Select a process to open its side panel with Setup, Run & logs and Results.
A job's status is shown as REQUESTED, RUNNING, FINISHED, FAILED, STOPPED or REMOVED. If a job fails, open its logs; see Troubleshooting.
Automate with a pipeline #
- Go to 3. Processing → Pipeline.
- Select Automation (the button with a plus sign). Follow Select App, Configure App Settings, Configure Inputs and Configure Outputs (tick "Archive this output"), then select Complete.
- Optional: select Automation Group to organize automations, and use Global Subject & session filters to limit which subjects and sessions run.
The automation runs its App for every subject and session that has the inputs and does not yet have the output. Watch Summary for items under Needs Action. See Pipelines.
Analyze with notebooks #
- Open the 4. Analysis tab and select New analysis.
- Choose a notebook from Blank Template Notebooks or Notebooks from Publications, then select Create.
- Open the notebook from the Analyses list. When you are done, select Close and deactivate notebook, or Stop in the list.
Next steps #
- Convert raw scanner data to BIDS with ezBIDS.
- Automate processing across subjects with Pipelines.
- Turn your own code into an App with the App developer guide.
- Questions? Ask SKAI in the app, or see Contact for email and Slack.