OpenMS
|
The following figure shows the TOPPAS main window and a pipeline which is just being created. The user has added some tools by drag&dropping them from the TOPP tool list on the left onto the central window. Additionally, the user has added nodes for input and output files.
Next, the user has drawn some connections between the tools which determine the data flow of the pipeline. Connections can be drawn by first deselecting the desired source node (by left-clicking anywhere on the white background) and then dragging (i.e. left-click and keep the button pressed) the mouse from the source to the target node (if a selected node is dragged, it is moved on the canvas instead). When a connection is created, and the source (, or the target) has more than one output (, or input) parameter, an input/output parameter mapping dialog shows up and lets the user select the output parameter of the source node and the input parameter of the target node for this data flow - shown here for the connection between FalseDiscoveryRate and IDFilter. If the file types of the selected input and output parameters are not compatible with each other, TOPPAS will refuse to add the connection. It will also refuse to add a connection if it would create a cycle in the workflow, or if it just would not make sense, e.g., if its target is an input file node. The connection between the input file node (#1) and the CometAdapter (#5) tool is painted yellow which indicates it is not ready yet, because no input files have been specified.
The input/output mapping of connections can be changed at any time during the editing process by double-clicking an connections or by selecting Edit
I/O
mapping
from the context menu which appears when a connection is right-clicked. All visible items (i.e. connections and the different kinds of nodes) have such a context menu. For a detailed list of the different menus and their entries, see Menus .
The following figure shows a possible next step: the user has double-clicked one of the tool nodes in order to configure its parameters. By default, the standard parameters are used for each tool. Again, this can also be done by selecting Edit
parameters
from the context menu of the tool.
Once the pipeline has been set up, the input files have to be specified before the pipeline can be executed. This is done by double-clicking an input node and selecting the desired files in the dialog that appears.
Input nodes have a special mode named "recycling mode", i.e., if the input node has fewer files than the following node has rounds (as it might have two incoming connections) then the files are recycled until all rounds are satisfied. This might be useful if one input node specifies a single database file (for a Search-Adapter like Mascot) and another input node has the actual MS2 experiments (which is usually more than one). Then the database input node would be set to "recycle" the database file, i.e. use it for every run of the MascotAdapter node. The input list can be recycled an arbitrary number of times, but the recycling has to be complete, i.e. the number of rounds of the downstream node have to be a multiple of the number of input files. Recycling mode can be activated by right-clicking the input node and selecting the according entry from the context menu.
Finally, if you have input and output nodes at every end of your pipeline and all connections are green, you can select Pipeline
>
Run
in the menu bar or just press F5
.
You will be asked for an output file directory where a sub-directory, TOPPAS_out
, will be created. This directory will contain your output files. You can also specify the number of jobs (i.e. TOPP tool invocations) that TOPPAS is allowed to run in parallel. If a number greater than 1 is selected, TOPPAS will parallelize the pipeline execution in the following scenarios:
Be careful with this setting, however, as some of the TOPP tools require large amounts of RAM (depending on the size of your dataset). Running too many parallel jobs on a machine with not enough memory will cause problems. Also, do not confuse this setting with the threads parameter of the individual TOPP tools: every TOPP tool has this parameter specifying the maximum number of threads the tool is allowed to use (although only a subset of the TOPP tools make use of this parameter, since there are tasks that cannot be computed in parallel). Be especially careful with combinations of both parameters! If you have a pipeline containing the FeatureFinderCentroided, for example, and set its threads parameter to 8, and you additionally set the number of parallel jobs in TOPPAS to 8, then you may end up using 8*8=64 threads in parallel (if you have 8 or more input files), which might not be what you intended to do.
In addition to TOPPAS_out
, a TOPPAS_tmp
directory will be created in the OpenMS temp path (call the OpenMSInfo tool to see where exactly). It will contain all temporary files that are passed from tool to tool within the pipeline. Both folders contain further sub-directories which are named after the number in the top-left corner of the node they belong to (plus the name of the tool for temporary files). During pipeline execution, the status lights in the top-right corner of the tools indicate if the tool has finished successfully (green), is currently running (yellow), has not done anything so far (gray), is scheduled to run next (blue), or has crashed (red). The numbers in the bottom-right corner of every tool show how many files have already been processed and the overall number of files to be processed by this tool. When the execution has finished, you can check the generated output files of every node quickly by selecting Open
files
in
TOPPView
or Open
containing
folder
from the context menu (right click on the node).
Using the mouse, you can
CTRL
while clicking)CTRL
and dragging the mouse in order to "catch" items with a selection rectangle)
Using the keyboard, you can
DEL
or BACKSPACE
)+
/ -
)F5
)F1
)
Using the mouse+keyboard, you can
CTRL
while creating an edge) The edge will be colored as dark magenta to indicate parameter copying.Menu bar:
In the File
menu, you can
New
)Open
)Open
example
file
)Include
)Online
repository
)Save
/ Save
as
)Export
as
image
)Refresh
parameters
)Close
)Load
/ Save
TOPPAS
resource
file
)
In the Pipeline
menu, you can
Run
)Abort
)
In the Windows
menu, you can
In the Help
menu, you can
OpenMS
website
)TOPPAS
tutorial
)
Context menus:
In the context menu of an input
node
, you can
In the context menu of a tool
, you can
In the context menu of a Merger
or Collector
, you can
In the context menu of an output
node
, you can