workflowhub-eu / workflowhub-graph

Knowledge Graph generator for WorkflowHub
BSD 2-Clause "Simplified" License
6 stars 1 forks source link

WorkflowHub Knowledge Graph

A tool to generate a knowledge graph from a source of RO Crates. By default, this tool sources and generates an RDF graph of crates from WorkflowHub.

Getting Started

This tool is run as a Snakemake workflow. We recommend building a Docker container to run the workflow:

docker build -t knowledgegraph .

Then, you can run the workflow using the following command:

docker run --rm -v $(pwd):/app -w /app knowledgegraph --cores 4 -s /app/Snakefile

This command runs a Docker container using the knowledgegraph image. It mounts the working directory to /app inside the container, sets /app as the working directory, and then runs the workflow. Once the workflow completes, the container is automatically removed.

Structure

flowchart TD
    A[Source RO Crates] --> B[Check Outputs];
    B[Check Outputs] --> C[Report Downloaded RO Crates];
    B[Check Outputs]-->D[Merge RO Crates];
    D[Merge RO Crates]-->E[Create Merged Workflow Run RO Crate]

Contributing

Coding Style

Branching Strategy

License

BSD 2-Clause License