Skip to content

How Platforma works

explanationoverview-how-platforma-works

Learn the parts of Platforma, what each part does and how the parts work together.

Platforma is a discovery platform for biologics. It analyzes your sequencing data and gives you the results for each decision in your discovery program, from what to test to what to advance.

Platforma is not a toolchain of separate scripts and pipelines: it brings the full discovery lifecycle into one environment. Ready-made solutions, built from BlocksBlock — A small application for one step of an analysis, for example the import of reads or clustering. It can combine several tools. Glossary, cover antibody discovery, translational research and multiomics, and their results work together.

You do the analysis in a graphical program, with no code. An analysis is a chain of steps, from the import of raw data to the tables and plots of the results. Each step is a Block: you add Blocks, set their parameters and look at the results in the same place. When you need more, your developers can extend the solutions or build Blocks of their own.

This page shows the parts of Platforma and how they work together. The other pages of the documentation use the names of these parts.

Clients and the Backend

The Desktop App and the Backend Each user has the Desktop App on their own computer. The Desktop App sends the requests of the user to the Backend, uploads and downloads files in the primary storage, and gets Blocks from the Block registry of MiLaboratories over the internet. The Backend is a service in the infrastructure of the company or in a cloud account. It starts jobs that run the bioinformatics tools, keeps all results in the primary storage (read and write), and reads input data from data libraries (read only). Over the internet, the Backend gets the workflows of the Blocks from the Block registry and the tools from software registries, and checks its license with services of MiLaboratories. In a Kubernetes installation, the Backend also sends usage records to them. An installation in Single Server mode does not send usage records. A company can use mirrors of the registries. The diagram shows the main parts only. The full list of connections is in the table of external connections. Computer of each user Infrastructure of the company or cloud account Internet MiLaboratories services A company can use mirrors of the registries. requests files gets Blocks starts reads gets tools license, usage records only in Kubernetes gets workflows of Blocks Desktop App projects, tables and plots Backend projects, Blocks Jobs bioinformatics tools Primary storage results, uploads (read and write) Data libraries input data (read only) Block registry Software registries License and monitoring services Program Job Storage Registry Service request or action read only over the internet
Each user has the Desktop App on their own computer. The Desktop App sends the requests of the user to the Backend, uploads and downloads files in the primary storage, and gets Blocks from the Block registry of MiLaboratories over the internet. The Backend is a service in the infrastructure of the company or in a cloud account. It starts jobs that run the bioinformatics tools, keeps all results in the primary storage (read and write), and reads input data from data libraries (read only). Over the internet, the Backend gets the workflows of the Blocks from the Block registry and the tools from software registries, and checks its license with services of MiLaboratories. In a Kubernetes installation, the Backend also sends usage records to them. An installation in Single Server mode does not send usage records. A company can use mirrors of the registries. The diagram shows the main parts only. The full list of connections is in the table of external connections.

Platforma is an on-premise solution: it installs into the infrastructure of your company, so the input data and the results stay inside the perimeter of your company. To make this possible, Platforma is split into the BackendBackend — The server program of Platforma. It keeps the projects, runs the Blocks and starts jobs. Glossary and its clients, which work together:

  • The Desktop AppDesktop App — The program that each user installs on their own computer to work with Platforma. It is a client of the Backend. Glossary runs on your computer, where you create projects, add Blocks and explore the results.
  • pl-clipl-cli — The command-line client of Platforma. Administrators use it to manage users and projects on the Backend. Glossary is a command-line client for administrators: it manages users and projects on the Backend.
  • The Backend is a service that runs in a cloud account of your company or in its own infrastructure, where it keeps the projects and runs the analysis tools.

The heavy work never runs on your laptop: the Desktop App sends your requests to the Backend and shows you the results, and many colleagues can work with one Backend at the same time. Even if you work alone, you need a Backend, and the smallest setup is a Backend in Single Server modeSingle Server mode — The mode in which the Backend and all its jobs run on one Linux machine, the server, with no Kubernetes cluster. Glossary.

Around the Backend, there are more parts:

  • The primary storageprimary storage — The bucket (Amazon S3 or Google Cloud Storage) or folder where Platforma keeps all results and uploaded files. Glossary is the storage of your company where Platforma keeps all results and all uploaded files.
  • Jobsjob — One run of a tool on data. The Backend starts jobs on the server where it runs, or in a Kubernetes cluster. Glossary run the bioinformatics tools.
  • Registries are where Blocks, software and static assets (such as reference genomes) live. MiLaboratories keeps public registries on the internet. Your company can mirror them, or create its own private registries to host private Blocks and software.

Input data and results stay in your company: on the Backend, in the corporate storage, and as copies of opened results on your computer. MiLaboratories gets the license key, at each license check and when a user opens the support chat. When the Backend runs in a KubernetesKubernetes — A system that runs programs on a group of machines (a cluster). Platforma can run in a Kubernetes cluster. Glossary cluster, MiLaboratories also gets the usage records of jobs, which go to its monitoring service. In Single Server mode, the Backend does not send usage records. A usage record says which Block and which job ran, and it does not hold any input data or results. The Desktop App also checks for its updates and, when a user asks for help, opens the support chat.

Blocks

A Block is a small application for one step of an analysis. A Block is not a way to run a single biological tool: it is made to solve a single biological task, which can need a combination of several tools.

Examples

The import of sequencing reads, the assembly of clonotypes, clustering, and differential expression.

You do not put the tools together yourself. You choose the Blocks, connect them and set the parameters to get the analysis that you need. The Block knows which tools to run and how to show the results, and the Backend does not have any analysis methods of its own: it runs what the Blocks ask for.

The kit for writing Blocks is open source. All Blocks that MiLaboratories creates are also public: you see them in the catalog and add them to your projects. You can also get their source code on GitHub and find out how each analysis works, alone or with the help of an AI assistant. Because the kit is public, your developers can also write private Blocks for the biology of your company and keep them in a private registry. The Backend and the Desktop App are not open source: they come from MiLaboratories under the license.

Example
The Blocks for immune repertoire analysis use MiXCR, the analysis tool of MiLaboratories.

Projects

A project holds one analysis: its Blocks, their parameters and their results. Each Block can use the results of the Blocks before it, so you build your analysis step by step.

Example
A clustering Block takes the clonotypes that an assembly Block made.

A project keeps the version of each of its Blocks, and a Block changes to a new version only when you update it, so your project gives the same results until you decide otherwise.

Your projects are on the Backend, and the computation runs there: you can close the Desktop App or put your computer to sleep, and the analysis continues. To organize and share your projects, see Desktop App.

Data

You can bring data into a project in two ways:

  • Upload files from your computer through the Desktop App.
  • Select files in a data librarydata library — A folder or bucket with input data of the company. Users select files from it in the Desktop App. Platforma only reads it. Glossary. A data library is a storage of your company with input data, for example sequencing archives or reference genomes. It is attached directly to the Backend, so you do not upload its files: they are available in your project nearly at once.

Platforma keeps all results in the primary storage.

Software

You do not install bioinformatics tools: the Backend loads them on demand. When a Block needs a tool for the first time, the Backend gets it and keeps it for the next runs.

Each version of a Block is bound to fixed versions of its tools, so the same Block version always runs the same tools.

Jobs

A job is one run of a tool on data.

Example
One run of an aligner on the reads of one sample.

Blocks start jobs, and the Backend runs them for you, also on a GPU when a tool needs one: on a server with a GPU, or in a Kubernetes cluster with GPU machines. Where the jobs run depends on the installation pathinstallation path — A set of tools and steps that installs Platforma. There are five installation paths: the AWS installer, the Google Cloud installer, the Terraform modules, the Helm chart and Single Server mode. Glossary of your company.

The Backend runs jobs in parallel while it has enough resources for them. When the resources are busy, the next jobs wait in a queue until resources become free.

Connections to other tools

Platforma works together with your other tools:

  • Results out. Download results, and export tables, charts and Block views in standard formats, for example PDF.
  • Administration from the command line. The Backend has an API (an interface for programs). pl-cli, the command-line client of Platforma, uses it to manage projects and users. See Clients.

Next