Installation guide

This documentation provides instructions for setting up your local environment to benchmark workflows generated by the Workflomics web platform. The setup involves installing Python, setting up a virtual environment, installing the Workflomics Benchmarker and supporting containerization.

Note

If you are using Windows, you will have to install the Windows Subsystem for Linux 2 as documented in the Workflomics Benchmarker documentation for Microsoft Windows users. Your operating system also needs internet access and a recent version of Python (3.10+).

Prerequisites

The Workflomics Benchmarker requires the following environment:

  • Linux, macOS, or WSL2 on Windows

  • Python 3.10 or higher

  • Docker or Singularity/Apptainer

Installing Python

Follow these steps to install Python:

  1. Download the latest version of Python from the official website:

  2. Follow the installation instructions for your operating system. Make sure to add Python to your system’s path.

Setting Up a Virtual Environment

After installing Python, proceed to set up a virtual environment for project dependencies:

  1. Create a virtual environment:

    python3 -m venv workflomics-env
    
  2. Activate the virtual environment:

    source workflomics-env/bin/activate
    

Installing Workflomics Benchmarker

With the virtual environment activated, you can now install the Workflomics benchmarker:

  1. Install workflomics-benchmarker using pip:

    pip install workflomics-benchmarker
    

Supporting Containerization

Workflows generated by Workflomics are containerized. Depending on your preference, install Docker or Singularity/Apptainer.

Installing Docker

Docker supports containerized environments:

  1. Download Docker Desktop from the official website:

  2. Install Docker Desktop by following the installation guide for your OS and verify the installation:

    docker --version
    

Installing Singularity/Apptainer

Alternatively, use Singularity (now Apptainer) for containerization:

  1. Follow the installation guide on the official Apptainer documentation:

  2. Verify the installation:

    singularity version  # or `apptainer version` based on your installation