The Playbook Workflow Builder (PWB) consists of a network of biomedical datasets, API endpoints, and other developed tools from both within and external to the CFDE. Users can traverse the graph database visually by selecting various options for some following data set or imputation task. Each meta node within the PWB can be independently constructed or used, preferably by someone already familiar with a given tool’s functionality. To use the PPWB, users start from a list of possible inputs, and then sequentially select the different transformations, queries, visualizations, or other computations they wish to add to the workflow.
For more detailed tutorials on using or developing for the PPWB, please refer to the following guides:
The following tutorial, adapted from the PWB User Guide linked above, walks through how to build a workflow for investigating a specific gene.
Navigate to the PPWB interface. You should see a display with multiple input "cards" to choose from, which can be filtered using the toggles on the left.
Select the input card you would like and follow instructions for submitting or uploading the input.
You should now see a new set of cards that all represent different operations available for your previously entered input.
Select a new card to add to the workflow and wait for the operation to complete. Most operations should provide a new data view or visualization.
To continue the workflow, click the + breadcrumb at the top of the page to choose from a new set of option cards, and continue with the analysis.
If you have reached the end of a workflow, you have two main options:
You can view the full workflow, including all results and inputs, in Report Mode by clicking the View Report button at the top right corner of the screen.
The PPWB is designed to allow for the independent and parallel development of individual components, known as metanodes. There are two main types of metanodes, Data
and Process
:
Ensure that you have installed all system dependencies by following the Installation Guide.
Clone the repository from Github and checkout a new branch.
Install dependencies and initialize the development interface using the following commands:
npm i
npm run dev
Create new component directories under the components
directory. All components should contain at least the following files:
index.ts
or index.tsx
: The file containing your exported meta node(s). For details on a specific meta node type, please refer to the full Developer Guide.
package.json
: Name and other metadata for the new meta node, as follows:
{
"name": "mycomponent",
"version": "1.0.0",
"license": "CC-BY-NC-SA-4.0",
"author": "Your Name <youremail@email.com>",
"contributors": [],
"main": "index.tsx",
"private": true,
"dependencies": {},
"devDependencies": {}
}
Once your component is defined, run the following command to add the new meta node to the interface for development and testing on your local server:
npm run codegen:components
Once the meta node is functional, submit a pull request to the remote main branch, and add any documentation as needed.