/singularity-graphviz

Graphviz is a package of open-source tools initiated by AT&T Labs Research for drawing graphs specified in DOT language scripts.

Primary LanguageShellApache License 2.0Apache-2.0

Status Status Issue forks Stars License

singularity-graphviz

Singularity recipe for graphviz.

Installing the container on Bridges 2

Copy the

  • SIF file
  • and the graphviz script

to /opt/packages/graphviz/2.44.0.

Copy the file modulefile.lua to /opt/modulefiles/graphviz as 2.44.0.lua.

Building the image using the recipe

To build the image locally

Run the script build.sh to build image locally.

bash ./build.sh

To build the image remotely

Run the script rbuild.sh to build image remotely.

bash ./rbuild.sh

To build Docker image

Run the script dbuild.sh to build the Docker image.

bash ./dbuild.sh

To run the CWL workflow

To run the workflow, run the command

module load anaconda3
pip install --user cwl-runner cwltool udocker
cwl-runner --singularity dot.cwl example.yml

To run tests

To run the available tests, run the command

bash ./test.sh

Copyright © 2020-2022 Pittsburgh Supercomputing Center. All Rights Reserved.

The Biomedical Applications Group at the Pittsburgh Supercomputing Center in the Mellon College of Science at Carnegie Mellon University.