Trainer section
This section gathers what you need to run the madbot introduction: 1h30 of hands-on work, each participant at their own computer, after a general presentation. It is written to be reused by any trainer, on any madbot instance. Participants follow the Introduction to madbot section.
The documents
Section titled “The documents”To read in this order:
- Messages to participants: the prerequisites one week before, and the reminder the day before;
- Preparation checklist: the list of what to do before, during and after;
- Lesson plan: the outline, minute by minute;
- Access slip: to print, one per participant;
- Answer key: the expected metadata, level by level;
- Evaluation: the form to have filled in at the end of the workshop.
The format
Section titled “The format”About ten participants, scientists (bioinformaticians, bioanalysts, data managers…), each at their own computer, after a general presentation of madbot. Each one follows a raw dataset from start to finish: they link it through the SSHFS plugin, describe it, then submit it. They choose their dataset: sequences, which go to the ENA test server, or measurements with no thematic repository, which go to Recherche Data Gouv.
| Block | Duration | Content |
|---|---|---|
| Getting started | 15 min | Sign-in, first workspace, modules of the interface |
| Structure | 10 min | Creating a node |
| Link the data | 20 min | SSHFS connection and datalinks to the dataset |
| Add metadata | 25 min | What is shared on the node, what belongs to each sample or file |
| Submit | 20 min | Creating the submission, adding the data, finalising, sending, external identifiers |
| Optional | time permitting | Share your node with your neighbour; start again with your own data |
What you need before you start
Section titled “What you need before you start”- A madbot instance (2.1.0 or later) with the SSHFS, ENA and Recherche Data Gouv plugins. For the
rivieredataset, the Recherche Data Gouv plugin must fill in Data type correctly: a trial submission checks it, and the Preparation checklist gives the workaround otherwise. - A file server reachable over SSH from this instance, with one account per participant: for instance a computing cluster, with guest accounts.
- The ENA test server (
https://wwwdev.ebi.ac.uk/ena), on which nothing is made public. - The Recherche Data Gouv demo instance (
https://demo.recherche.data.gouv.fr/) and a collection participants can deposit in: the Travaux Pratiques collection.
Each participant creates their own madbot, ENA (Webin account) and Recherche Data Gouv accounts, and an API token on the latter: this is what the prerequisites message is for. For the Travaux Pratiques collection, check that an ordinary participant account can deposit in it.
Preparing the data
Section titled “Preparing the data”The workshop data are not versioned: a script builds them. It only needs Node.js 18 or later, with no dependency to install. From the root of the repository:
node tools/generate-datasets.mjsIt creates animation/initiation/data/, ignored by git, with one folder per participant:
data/├── MD5SUMS├── participant-01/│ ├── levures/ LEV01_R1.fastq.gz LEV01_R2.fastq.gz LEV02_R1.fastq.gz LEV02_R2.fastq.gz│ └── riviere/ README.md mesures.csv stations.csv dictionnaire.csv├── participant-02/…Each participant chooses one of the two datasets: levures/ (yeasts) goes to ENA, the thematic repository for sequences; riviere/ (river) goes to Recherche Data Gouv, since there is no thematic repository for these measurements. All the data are simulated, and the files of the riviere dataset are written in French.
The script takes three options:
| Option | Default | Purpose |
|---|---|---|
--participants |
12 |
Number of folders: plan for the trainer and a few spares |
--out |
animation/initiation/data |
Output folder |
--reads |
250 |
Read pairs per sample |
The script is deterministic: running it again rebuilds exactly the same files, and the folder can be deleted safely. Each participant folder has its own sequences and its own measurements, hence different checksums. Two participants submitting to the same test server cannot collide.
Then copy the data folder to the project space on the server, and check the checksums there:
rsync -a animation/initiation/data <account>@<server>:<project-space>/ssh <account>@<server> "cd <project-space>/data && md5sum -c MD5SUMS"Finally, give each participant account read access to its <project-space>/data/participant-NN folder.
The site does not say where the data are, so that it stays valid from one workshop to the next: it refers to the trainer. At the start of the workshop, give each participant the server address, their username, their password and the path to their folder, for instance on the printed access slip.
Depositing the data on Zenodo
Section titled “Depositing the data on Zenodo”Both datasets are also published on Zenodo, in open access, so that the introduction can be followed without a file server: they are then linked through madbot’s Zenodo plugin, with no account and no connection. This part is for whoever keeps these records up to date. To run a workshop, you only need to know which variant to give each participant (see Preparation checklist).
The participant journey describes both ways, in “In a workshop” and “On your own” tabs. The “On your own” tab links the Zenodo records in block 3, draws a variant at random, which participants can change in a list, then has the sample aliases (block 4), the study alias and the read aliases (block 5) suffixed. For a workshop without a file server, have participants follow that tab. The draw may give the same number twice, and it is almost certain beyond a few participants: in a workshop, give each participant a number instead, which they choose in the Your variant list.
There are two records, one per dataset, under a CC0 licence, because Zenodo does not sort files into folders:
- levures (record, concept DOI
10.5281/zenodo.24343948): 20 variants of the four reads files, numberedv01tov20(for examplev07_LEV01_R1.fastq.gz). Each person picks one variant and uses its four files only. - riviere (record, concept DOI
10.5281/zenodo.24343970): a single copy of the four files.
Why variants
Section titled “Why variants”The ENA test server refuses a reads file that a Webin account has already submitted. With a single copy, someone who does the exercise again with the same account would be stuck at block 5. The variants have the same structure, but their reads differ, and so do their checksums.
The aliases must be new too. The Webin account keeps the aliases already submitted, and madbot names the reads raw_read1 and raw_read2 by default. To submit again with the same account, add the variant number to the sample, study and read aliases, for example LEV01v07, fermentation-yeasts-v07 and raw_read1v07. The track has the study alias suffixed as a precaution: ENA refuses any alias already in the account, whatever the object. Otherwise, ENA answers The object being added already exists in the submission account.
What was checked
Section titled “What was checked”In November 2026, on the Zenodo sandbox, with a single Webin account:
| Attempt | Result |
|---|---|
| Anonymous datalink to a file of each record | Files readable, size and description taken from the record |
| Same files submitted a second time, with new aliases | Refused: file already submitted |
Variant v07, default read aliases |
Refused: experiment aliases already in the account |
Variant v07, aliases suffixed with v07 |
Accepted |
riviere dataset to the Recherche Data Gouv demo |
Accepted, with a plugin that has the mapping fix (Data type, language) |
Two cases were not checked: submitting the same files from a second Webin account, and depositing the same file twice on Recherche Data Gouv. When in doubt, give each participant a different variant.
Publishing a new version
Section titled “Publishing a new version”-
Generate the files.
--variantssets the number of variants, from 1 to 99 (20 by default):Fenêtre de terminal node tools/generate-datasets.mjs --zenodo --out /tmp/zenodo -
Check the checksums:
Fenêtre de terminal cd /tmp/zenodo && md5sum -c MD5SUMSOn macOS,
md5sumis missing without coreutils; this command makes the same check:Fenêtre de terminal cd /tmp/zenodo && while read -r sum file; do [ "$(md5 -q "$file")" = "$sum" ] || echo "FAILED $file"; done < MD5SUMS -
Create a new version of each record (New version), first on the Zenodo sandbox. Replace all its files with those of
levures/orriviere/. Update the version number, and the commit quoted in the description: it lets anyone rebuild the same files. -
On these drafts, make a datalink to one variant and a submission to the ENA test server again, then publish.
-
Repeat steps 3 and 4 on zenodo.org. The concept DOI of each record always leads to the latest version.
The Zenodo files have seeds of their own. They match no participant copy, and the mesures.csv file of riviere differs from the workshop one.
On the day of the workshop
Section titled “On the day of the workshop”- One hour before: go through the “One hour before” part of the Preparation checklist; check in particular that the file server accepts SSH connections.
- On arrival: display the site address, and have everyone sign in to madbot. Those without an account create it straight away: it is the hardest block to catch up on.
- At the start of the “Link the data” block: give everyone their access slip, with the file server address, their username, their password and the path to their folder.
- During the blocks: follow the Lesson plan; at each checkpoint, ask who has reached it before moving on. The Answer key gives the expected values.
- Before submitting: have everyone check the Sandbox chip next to the submission state, out loud.
- Optional block: pair up neighbours for workspace sharing.
- At the end: have the evaluation form filled in, link displayed on screen, then go through “After the workshop”, below.
Adapting the workshop to your context
Section titled “Adapting the workshop to your context”- Another storage space: any madbot data plugin will do, as long as the files are reachable through it. Only the “Link the data” block changes.
- A single repository: remove one of the two datasets from the instructions. The two datasets are independent.
- More participants: run the script again with
--participants.
Updating the screenshots
Section titled “Updating the screenshots”The site screenshots are taken on a local madbot instance, with fictitious accounts, by tools/screenshots.mjs (Playwright). The .captures.env file, at the root of the repository and never versioned, gives the instance address, the two accounts (CAPTURES_* and CAPTURES_NEIGHBOUR_*), the file server and the data folder. The header of the script details what each block expects: the SSHFS connection for block 3, the ENA test connection and the two already deposited submissions for block 5, the second account for block 6.
node tools/screenshots.mjs --blocks 5,6tools/screenshot-account.py prepares the first account, but also deletes the workspaces it created on its own: only run it to start from scratch, and never on a shared instance.
After the workshop
Section titled “After the workshop”- Delete the workshop workspaces on the madbot instance.
- Delete the drafts deposited in the Recherche Data Gouv Travaux Pratiques collection.
- The ENA test server empties itself, regularly.
- Have the guest accounts closed and delete the data from the file server.

