-
Notifications
You must be signed in to change notification settings - Fork 3
Example Workflow: I2G
This example workflow processes EM data into a graph, with neurons as nodes and synapses as edges.
For this example, three containers need to be built -- i2gdetect, i2gseg and boss-access.
-
Navigate to the i2gdetect dockerfile location and build it
cd saber/i2g/detection/ docker build -t aplbrain/i2gdetect .
-
Build the i2gseg container
cd ../neuron_segmentation docker build -t aplbrain/i2gseg.
-
Build the boss-access container (note that if you have ran any of the other example workflows, this won't be necessary)
cd ../../boss_access docker build -t aplbrain/boss-access .
Now that the tool containers are built, you can move onto the next step.
Parameters for the job can be found in saber/i2g/examples/I2G_Demo/jobPublic.yml
. It isn't necessary to change anything in this file if you just want to run the example.
-
Open a bash shell in the cwl_parser container (you can find the name on your system, after running docker-compose up, using docker container list, looking for the image with the name CWL_parser)
docker exec -it saber_cwl_parser_1 /bin/bash
-
Navigate to the i2g example folder and build the SABER containers.
cd saber/i2g/examples/I2G_Demo/ conduit build workflow_i2g.cwl jobPublic.yaml
This creates custom docker containers and pushes them to AWS.
-
Build the workflow
conduit parse workflow_i2g.cwl jobPublic.yaml
This parses the CWL to create an Airflow dag.
-
Now the workflow is ready to run. Go to the web interface and click the on play button near the dag.
Table of Contents
- Overview
- Setup and Configuration:
- Conduit:
- FAQs
- Data Access
- Tools:
- Examples: