Block Development Walkthrough
What to expect from this guide
The guide will create an overview of the main components of a typical downstream block, and will provide examples for each of the steps, from configuring the development environment, to running the software analysis tool within Platforma back-end and showing the results in the UI.
Examples from a real block, ImmunoMatch, will be used.
The examples might differ from the original repository to allow focusing on the various concepts or simply because of the natural evolution of the original repository. To experiment with the code it is recommended to sync the ImmunoMatch project.
Overview
A block wraps a biotech software analysis tool.
In general it will:
- Use information produced by upstream blocks.
- Arrange it in a convenient way, so that the software analysis tool can use it as input. Usually as one or more csv/tsv files.
- Process the software tool outputs, usually some other csv/tsv files and optionally make them available to other blocks.
- Display the results in tables, graphs or other UI elements.
For the ImmunoMatch block it:
- Presents the user with the option to choose Heavy chains data produced by an upstream block, like MiXCR Clonotyping 2.
- Discovers the associated Light chains and and Light chain types.
- Prepares this data as a csv file which is then fed into the ImmunoMatch software analysis tool.
- Displays the results as a histogram in the Platforma application.
In the following sections we will break down each of the steps listed above.