MineBugs
MINeBugs
New SimulationGuide

Chapter 2 · Run a simulation

Check the models

See which AGORA2 model each taxon got, change the ones you disagree with, and confirm the community.

  • 5 min read
  • In the app: Taxa Review

In short

You need
A finished mapping. The page opens by itself when the mapping ends.
You do
Look at the matches the tool is unsure about, swap a model if needed, then press Confirm & Simulate.
You get
The community the simulation will run on.

1The mapping summary

The top of the Taxa Review page counts your taxa and sorts them by how sure each match is.

The mapping summary: the total, the five confidence tiers and the search bar
  1. How many taxa were read from your file.
  2. The five confidence tiers. Click one to show only its taxa.
  3. Search the list by taxon or model name.

Below, every taxon has a row with its model and a checkbox. What stays ticked is the community the simulation will run on.

2Confidence tiers

Each taxon is matched by name first, then checked against the NCBI Taxonomy. The result is one of five confidence tiers.

Unambiguous
Name and taxonomy agree. Selected.
High Similarity
The taxonomy agrees, the name differs a little, often in the strain. Selected.
Near Tier
Several models fit equally well. Selected, but worth a look.
Low Similarity
A weak match, or too many models that fit equally. Left out unless you tick it.
No Correspondence
No model fits. Left out unless you give it one.

The tiers only decide what is ticked when the page opens. After that, the checkboxes are yours.

How a match is madeName similarity first, then the NCBI Taxonomy

The name of each taxon is compared with the names of the 7,302 AGORA2 models (Jaccard similarity on their words). When the name alone does not settle it, the NCBI Taxonomy is used to rescue the match.

3Review a taxon

Open a row to see the model it got and the other candidates.

An open row of the Taxa Review page, with the chosen model and the other candidates
  1. The model the tool picked for this taxon, marked Selected.
  2. The other candidates. Select makes one of them the choice.
  3. Compare Details opens every candidate side by side.

The tool picks the candidate with the highest score, and the first in alphabetical order when two tie. A choice you make stays until you press Reset.

4Compare candidate models

Compare Details lists every AGORA2 model that fits the taxon.

The candidates of one taxon, with the Filters and Compare Models tools
  1. Algorithm Choice: the model the tool picked.
  2. Filters keeps only the models with a given reaction or metabolite.
  3. Compare Models: pick two and see what each has that the other lacks.

Click a card to open its model: its reactions, its metabolites, the match details and a link to its page on VMH. Use this model makes it the choice for this taxon.

5Confirm the community

At the bottom of the page, the summary counts what goes into the simulation.

The summary at the bottom of the Taxa Review page
  1. How many organisms are selected.
  2. Review Selected Models lists each organism with its model.
  3. Confirm & Simulate takes you to the setup.

The button stays on as long as one organism is selected, so look at the list before you go on.

6Changing the mapping later

This page opens again when you change the models of a run or a cohort you already have.

Duplicate and change mapping on a finished run, or Change mapping on a draft, opens the review on that run (chapter 4, section 5; for a cohort, chapter 6, section 5). A line at the top names the run you are changing. The ticks and the models are the ones the run used, not the defaults of the tiers, so you only touch what you want to try.

Everything else works as described above. Your choices stay if you open Compare Details or reload the page, and they belong to that run only: another copy of the same file keeps its own. Confirm & Simulate saves the new mapping into that run and opens its setup, with the diet, the targets and the guardrails it already had.

If the run is no longer a draft by then, for example because you launched it from another tab, the page says so and saves nothing. When every taxon matched a single model at 100% and the run uses all of them, the two buttons are not there: there is no other model to choose.