Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Once your App is registered on Brainlife, the next step is to run it on Brainlife. As specified in How to register an App on Brainlife, at first the App is private (i.e. linked to a private project, only members of this project can view and execute this App).

The steps to run an App are presented more precisely in Brainlife documentation: data processing and processes.

Run the App

There are two ways to run an App depending on if you run only one App or if you run small pipelines (e.g. a series of Apps):

  1. If you want to run only one App:

    1. go directly to the App and then execute it by clicking on “Execute”

    2. BL creates a new process in the selected project, stages all of the input files you selected, and submits your App in a single step

  2. If you want to run a small pipeline:

    1. go to the page of the project linked to the App and then go the tab “Processes”

      A Process is where you can submit one or a group of Apps that can share input/output datasets.

    2. create a new process

    3. stage any dataset from our archive Archive to your process (each process can only process data that is either staged or generated by other Apps)

    4. select the App you want to run

    5. click submit

Note

For an App to run, you need to have resources. Ask Soichi to assign you some resources or register your own resource, see How to register a resource on Brainlife.

Results of the App

Once resources have been assigned to your App, you can run it. Your task will go through different statuses:

...

When you run an App by executing it directly (see 1.) or via the “Processes” tab (see 2.), you can submit only one subject at a time. This is great at first, when you are developing and testing your App, but once you find the optimal set of Apps, you would probably want to run it across many subjects and submitting them one by one is simply not a good option. So BL allows you to setup a series of submission rules called “pipeline rules” (see BL documentation).

Archive

Archive is where the data is stored. It is possible to upload your own data or import existing data from the Dataset page on Brainlife.

Before actually running your App, the data must be staged out of archive and shipped to various computing ressources. Once this step is completed, your App can run on this data.

...

By default, any data generated by the App will not be archived back unless you manually request it.