Link the data
A datalink is a reference, in madbot, to a file that stays where it is stored. To create datalinks, madbot needs a connection to the source that hosts the files: the workshop file server, or Zenodo if you follow the track on your own.
Follow the tab that matches the way you follow the track.
-
Connect to the file server, with the address, username and password the trainer gave you.
- On your node page, open the Datalinks tab, then click New datalink. The Add a datalink window opens on two steps: Source, then Data.
- The Choose a source step lists at the top, under Your sources, the connections already created in the workspace: the first time, there are none. Further down, under Connect a new source, click SSHFS, the plugin that reads files from a server reachable over SSH.
- Fill in the form with what the trainer gave you:
- Connection name (optional) can stay empty: the connection then takes the name of the service;
- under Shared parameters, the server address in Host;
- under Private parameters, your username in Username, then your password in Password, leaving Credential on Password.
- Click Connect. madbot connects to the server and moves on to the Data step.

-
Create the datalinks to your dataset. The trainer told you which folder is yours; your files are in its
levuresorrivieresubfolder, depending on the dataset you chose.- The Data step shows the server from its root, Filesystem root. Go down to the folder that holds your data: click a folder to open it. To find it faster in a long list, type its name in Filter this folder. The path you followed is shown at the top; click one of its parts to go back up.
- Click a file’s basket icon to add it to the selection, or Select the data shown to add every file in the folder. Only files are added, not folders. The chosen files are shown on the right, under Selection; a file’s cross removes it.
- Click Link N data, where N is the number of chosen files. madbot creates one datalink per file, and shows them in the Datalinks tab of the node.


-
Check that nothing was copied.
In the Datalinks tab, hover over a datalink, then over the ⓘ icon that appears next to its name. The tooltip that opens shows:
- External ID: the file path on the server, where it stayed;
- the connection through which madbot reads it, and Accessible as long as madbot can reach it;
- its size and dates, which madbot reads on the server.
madbot only keeps a reference to the file and these few details. The file itself has not left the server, and no copy of it was made.

-
Choose Zenodo as the source. On your node’s page, open the Datalinks tab, then click New datalink. The window opens on Choose a source: under Connect a new source, click Zenodo.
-
Continue without signing in. In the Connect to Zenodo form, choose Zenodo Production Server in Url. Leave Connection name and Token empty: Token stays red, this is expected. Click Continue without signing in.
A banner reminds you that you are browsing Zenodo without signing in, and that only public data are visible. The training datasets are public: you need no Zenodo account.
-
Find the record of your dataset. Without signing in, Zenodo has nothing to browse: you search it. Paste the DOI of your dataset in the search box, at the top, then click Search.
DOI:
10.5281/zenodo.24343948DOI:
10.5281/zenodo.24343970The result is the record of the dataset, whose title starts with madbot introduction workshop. Open it: click the › arrow at the end of its row.
-
Choose your files and create the datalinks.
The record holds 20 variants of the same four files, numbered
v01tov20. You only use one. This site drew one for you at random; if the trainer gave you a number, choose it in the list:To show only your files, type
vNN_in the search box, then click Search: once the record is open, the search stays inside it. The four files of your variant are shown:vNN_LEV01_R1.fastq.gz,vNN_LEV01_R2.fastq.gz,vNN_LEV02_R1.fastq.gzandvNN_LEV02_R2.fastq.gz. Click Select the data shown (4).Write this number down: the next blocks use it, and every page of the track shows it in this browser. If you carry on from another computer, choose it again in the list.
Optional Why variants?
The ENA test server refuses a read file that a Webin account has already sent it. The variants have the same structure, but different reads: with another number, you can do the exercise again with the same account. If you start again, take another variant in the list above, or draw one with Draw at random.
The record holds four files:
README.md,dictionnaire.csv,mesures.csvandstations.csv. Click Select the data shown (4), or add them one by one with the basket icon at the end of their row.The chosen files are added on the right, under Selection. Click Link 4 data: madbot creates one datalink per file, and shows them in the Datalinks tab of the node.
-
Check that nothing was copied.
In the Datalinks tab, hover over a datalink, then over the ⓘ icon that appears next to its name. The tooltip that opens shows:
- External ID: the file path on the server, where it stayed;
- the connection through which madbot reads it, and Accessible as long as madbot can reach it;
- its size and dates, which madbot reads on the server.
madbot only keeps a reference to the file and these few details. The file itself has not left the server, and no copy of it was made.
For a Zenodo file, the External ID is the record identifier followed by the file name, for instance
24343949/v07_LEV01_R1.fastq.gz: the file stayed on Zenodo. The orange dot next to the connection says that you are not signed in to Zenodo: this is expected, and it prevents neither reading the files nor submitting them.
Checkpoint
Section titled “Checkpoint”If you get stuck
Section titled “If you get stuck”- The connection fails: check the server address in Host, then your username and password. If the error persists, raise your hand: your account may not have access to the server yet.
- You cannot find your folder: browsing starts from the root of the server. Go back up by clicking Filesystem root/, at the top, then follow the path given by the trainer, folder by folder.
- A file cannot be added to the selection: hover over it. Already in this node means that it is already linked to this node.
- You linked one file too many: in the Datalinks tab, hover over its row, click ⋮, then Delete. Only the datalink disappears: the file stays on the server.
- Zenodo refuses requests for now (The source refuses requests for now): Zenodo limits the number of searches per minute. Wait for the message The source accepts requests again, then search again.
- The search does not find the record: check that Url is Zenodo Production Server. A connection to the Zenodo test server does not find zenodo.org DOIs. To change server, click Change source and create a new connection.
- A file cannot be added to the selection: hover over it. Already in this node means that it is already linked to this node.
- You linked one file too many, or those of another variant: in the Datalinks tab, hover over its row, click ⋮, then Delete. Only the datalink disappears: the file stays on Zenodo.

