
Chapter 1 · Run a simulation
Upload your data
Send a list of taxa, or a matrix with one column per patient, and match it to AGORA2 models.
- 5 min read
- In the app: New Simulation
In short
1Open the upload page
Log in, then click New Simulation in the top bar.

- The switch: Single sample or Cohort (matrix). Pick it before you add the file.
- Drop the file here, or click browse.
- Consult the guide opens the file formats of this chapter.
2Single sample or cohort
The switch decides how many simulations you get.

- The reminder that the run makes one simulation per patient.
- What the file was read as: here 38 taxa and 12 patients.
- The start button, Start Cohort Mapping in this mode.
3File formats
Three rules hold for every file, which can then take one of three shapes.
.csv or .txt. Other files are refused.Names only
One column with the species names. Without abundances, every mapped taxon counts the same. Example file
Names with abundance
A second column with the relative abundance of each taxon, so the simulation follows the real make-up of your sample. Example file
Cohort matrix
Taxa in rows, patients in columns. The first cell of the header is ignored, the others name the patients, and each row gives one value per patient. Example file
Accepted column names5 names for the taxa, 6 for the abundance
Taxa column: taxa_name taxon name species organism
Abundance column: abundance relative_abundance rel_abundance count value proportion
Rules for a cohort matrixAbsent taxa, patient names, size
- A
0, or an empty cell, means the taxon is absent in that patient. - Patient names must be unique and not empty. They carry through to the report, so use the labels of your study.
- Every row has as many cells as the header, and every value after the taxon name is a number.
- Up to 200 patients per matrix.
4Patient metadata (optional)
For a cohort, a second file can say who each patient is: healthy or ill, sex, age, anything else.
The report then puts the patients in groups and filters them, for example to compare patients with MS and healthy people. The metadata never change a simulation, so you can also add them, or replace them, later from the cohort report (chapter 6).

- The file you added, and whether it was read cleanly.
- How many columns were read, and for how many patients.
- Expand lists every patient with the values read from the file, and says under each column whether it was read as numbers or as categories.
One row per patient. The first column holds the patient's ID, written as in the matrix. Every other column is one piece of information, and its header is the name the report shows. Example file
Most often the groups are MS and healthy. Every patient of the example matrix has MS, so the example file splits them by the course of the disease: RRMS (relapsing-remitting) and SPMS (secondary progressive).
Rules for a metadata fileIDs, columns, values, size
- Commas, semicolons or tabs all work, so a file saved from Excel is fine.
- The first line is the header. Up to 20 columns, each with its own name of up to 40 characters.
- A column of numbers only, such as age or glycemia, filters by range and splits into ranges at thresholds you choose in the report. Any other column holds categories: up to 5 different values can split the report into groups, more can only filter it.
- Capital letters do not matter:
MSandmsare the same value. - An empty cell means not specified: that patient goes in a grey group of its own.
- A patient of the matrix missing from the file is not specified everywhere. A patient in the file who is not in the matrix is left out, with a note.
- A patient listed twice, a row with more cells than the header, or a value longer than 100 characters stop the file. The file can be up to 1 MB.
Suggested names: condition, sex, age. If your study follows the MIxS standard, host_disease_stat, host_sex and host_age work just as well.
Errors appear in red and keep the start button off. Notes appear in amber and let you go on.
5The file check
As soon as you drop the file, your browser checks it against the mode you picked. Nothing has been sent yet.

- The summary line. Check that the number of taxa is the one you expect.
- Show preview opens the file as a table (open here, so the button reads Hide preview). Show raw text shows the lines as they are.
- The start button, Start Mapping Pipeline for a single sample. It stays off while the file has errors.
Errors appear in red and block the start button: no taxa column, a row with the wrong number of cells, a value that is not a number, a repeated or empty patient name, more than 200 patients.
Warnings appear in amber and let you go on: a taxon listed twice, or a matrix with a single patient.
6Start the mapping
With a clean check, the start button turns on.
While the file is sent, the button reads Uploading Data…: keep the tab open until it is done.

The page then follows the job: Queuing Job... while it waits for a free worker, Mapping Taxonomy... while your taxa are matched to AGORA2. It takes a few seconds to a few minutes, depending on the number of taxa.
If the mapping does not finish, the page says so. It is often a temporary problem on the computing cluster: start it again, and if it keeps failing, contact support. If your session expires while you wait, sign in again: the mapping goes on, and you will find it in your history (chapter 4).
When it ends, the Taxa Review opens by itself, and the next chapter starts there.