This is a collaborative space. In order to contribute, send an email to maximilien.chaumon@icm-institute.org
On any page, type the letter L on your keyboard to add a "Label" to the page, which will make search easier.
Steps to begin with Brainlife
Here are the steps you should follow to be able to develop Apps on Brainlife:
1. Understand what Brainlife is
Create an account on https://brainlife.io/
Join the Brainlife slack https://brainlife.io/docs/contact/, you need to join the following channels:
#datatype
#brainlife_meeg
#random and #general
you need to ask to be added to #project_nibib_meeg, #brainlife_calendar and maybe later #brainlife_coreteam (they are private channels)
Read the Brainlife documentation : https://brainlife.io/docs/, especially the parts:
Home
Using Brainlife
Developping Apps
You can try to create the Helloworld app. Bear in mind that a Brainlife app is supposed to run on BL but also locally.
You can also check the following Confluence pages:
https://icm-institute.atlassian.net/wiki/spaces/CENIR/pages/1174863874
https://icm-institute.atlassian.net/wiki/spaces/CENIR/pages/1255866369
https://icm-institute.atlassian.net/wiki/spaces/CENIR/pages/1273167873
https://icm-institute.atlassian.net/wiki/spaces/CENIR/pages/1734934567
These pages contain info that I gathered after talking to Giulia Berto and Soichi Hayashi. If you have any trouble regarding Brainlife apps, don’t hesitate to ask them for help.
The key concept to understand on Brainlife is the “datatype” because Apps used it to communicate between each other.
2. Get familiar with the Apps already created
Several MEG/EEG preprocessing and processing apps have already been created. They are still private (meaning they are available for only the BL Users who can access the projects the Apps are registered on) because they have not been tested on many different datasets and they can be still improved (see each description page of the Apps in https://icm-institute.atlassian.net/wiki/spaces/CENIR/pages/1256095775 and https://icm-institute.atlassian.net/wiki/spaces/CENIR/pages/1760231436).
@Maximilien CHAUMON is a maintainer of these Apps on BL, so ask him to add you as a maintainer too. Also, clone the GitHub repositories of these Apps (see https://github.com/AuroreBussalb?tab=repositories)
Don’t hesitate to run these Apps locally, but also on Brainlife. The Python code is fully commented but please check the following Confluence pages to understand better why some code lines are written:
https://icm-institute.atlassian.net/wiki/spaces/CENIR/pages/1256128543
How to create a BIDS compliant channels.tsv and events.tsv files
https://icm-institute.atlassian.net/wiki/spaces/CENIR/pages/1682014209
https://icm-institute.atlassian.net/wiki/spaces/CENIR/pages/1731756033
I already ran all of my Apps on Aurore’s default project on Brainlife (ask @Maximilien CHAUMON to be added to this project to see all the tests that were made). The results are discussed here:
To know more about why some decisions have been made, check the Confluence section https://icm-institute.atlassian.net/wiki/spaces/CENIR/pages/1163100184.
3. Get ready to run/create Apps
I strongly recommend you to register your own Brainlife computing resource to be able to test more easily the Apps you created (see https://brainlife.io/docs/resources/register/). To set up your resource, don’t follow the steps described there (Soichi didn’t update this tutorial) but instead check the pages:
https://icm-institute.atlassian.net/wiki/spaces/CENIR/pages/1358725121
Problem encountered when connecting via SSH to a UI remote server
If you have any trouble, don’t hesitate to ask Giulia or Soichi.