Maps¶
The Map Builder is a visual design canvas for metabolic networks. You draw or insert pathways the way you would arrange shapes in a drawing tool: click, drag, align, group, style. Underneath, every node and arrow can be bound to a metabolite or reaction of the loaded model, so data from COBRAGUI, or from a file, colour and size the figure correctly.
r5p marks a mapping that still needs a review.- Left panel: Elements (tools, templates, annotations), Model (search the GEM, find paths) and Data (datasets, conditions, visual mappings).
- Canvas: infinite, with zoom, grid, smart guides and a minimap.
- Inspector: properties of the selection, or of the whole figure when nothing is selected.
- Condition bar: switch, animate and compare conditions.
Your first five minutes in the canvas¶
This is a short orientation, not the full tutorial. The canvas page covers each control in detail.
- Open the example. File → Open example (central carbon metabolism) loads the built-in figure shown on the home page. Press F to fit it to the window.
- Move around. Press C (the hand) and drag to move the map, press V to go back to selecting, and use the mouse wheel to zoom. Switching between C and V is the recommended way to work (see the tip below). The minimap in the corner shows where you are.
- Select and move. Click a metabolite or an arrow; drag to move it; drag on empty canvas to select several. Arrows follow the nodes they connect, and smart guides help you align them.
- Inspect. With one item selected, the inspector on the right shows its model identity, its value in each condition, and its appearance. Click empty canvas to see the settings of the whole figure.
- Switch condition. Click P10, P12, P26 or P28 in the bottom bar (or press [ / ]) and watch widths, colours and plots change. Press ▶ to animate.
- Undo anything with Ctrl+Z.
- Start your own. File → New project, then insert a pathway template from the Elements tab, or draw: double-click the canvas for a metabolite, drag from a node's outer ring to draw a reaction.
Move with C, work with V, zoom with the wheel
This habit is fundamental in the Map Builder. C turns the pointer into a hand: drag anywhere to move around, without selecting or moving anything by accident. V brings back the Select tool to work on the map. The mouse wheel zooms around the pointer. Keep one hand on the keyboard and switch between C and V all the time; holding Space while dragging, or dragging with the right or middle mouse button, also moves the view.
Design principles¶
A pathway map is a communication device. Four principles keep it scientifically honest.
1. A layout is an abstraction, not the cell. Glycolysis is drawn as a vertical chain and the TCA cycle as a circle because readers recognise those shapes. Positions on the canvas carry no spatial meaning, and GEMs MAP never moves your nodes when data or models change. Compartments drawn as boxes are visual groupings that you choose.
2. A metabolite may be drawn many times. Cofactors such as ATP, NAD(H) or H₂O take part in hundreds of reactions; connecting all of them to a single node would turn any figure into a hairball. GEMs MAP hides these currency metabolites by default (ATP, ADP, NAD(P)(H), H₂O, H⁺, phosphate, CoA, CO₂, O₂, NH₄⁺ and similar, recognised by ID and name), can show them as small text beside the arrow, and lets you draw any metabolite more than once. Every drawing still points to the same model metabolite, so all copies show the same data.
3. Identity is not the label. A node's label is editable text for the reader. What the node is comes from its binding to a model metabolite, whose ID is only unique inside that model, and from the annotations of that metabolite. The same chemical in another compartment is a different model metabolite: pyr_c and pyr_p are not interchangeable. When a template is applied, this identity is resolved and shown with its evidence (see Identity and matching).
4. An arrow is not a measured flux. An arrow drawn on the canvas represents a model reaction, or nothing at all until it is bound. Its direction and thickness come from data you load, never from the drawing. With flux data, the arrowhead follows the sign of the flux in the active condition, zero flux is drawn thin and grey, and values come from a model simulation or a file, not from a measurement, unless your data say otherwise. An arrow drawn against the stoichiometric direction of its reaction is flagged, and its flux sign is flipped for display.
In this section¶
-
The window, navigation, selection, the inspector, shortcuts.
-
Metabolites, reactions, connected reactions, routes, layouts, groups, labels and styles.
-
Binding nodes and arrows to a GEM, templates, slots, unbound elements.
-
Displaying and comparing results
Datasets, conditions, mappings to width and colour, comparisons, mini-plots, legend, animation.
-
Projects, autosave, SVG, PNG, PDF and animated GIF.
