Cluster mode

Overview

SAW now supports submitting analysis tasks in cluster mode on Linux systems, compatible with the SGE job scheduling tool. Cluster mode allows analysts to execute tasks in parallel in high-performance computing environments, maximizing cluster resources and improving analysis efficiency.

  • Cluster mode support: Define default job submission rules and resource requirements through configuration files.

  • Resource allocation optimization: Dynamically adjust thread count, memory size, and memory retry factors to optimize resource utilization.

  • Task management: supports job submission, logging, and task interruption.

  • Parallel computing: supports intra-rule and inter-rule parallel computing, suitable for large-scale data analysis.

Enabling Cluster Mode

Enable cluster mode by specifying --job-mode=sge when running tasks. If cluster mode is not specified, the local mode is used by default.

Resource configuration

A resource configuration file is used to define default job submission rules and resource requirements. A resource file, /path/to/software/package/saw/config/resources.yaml, is typically in YAML format and includes the following sections:

  • Default resource configuration: defines global defaults for rules without explicit configurations.

  • Rule-specific resource configuration:

    • thread count,

    • memory size (GB),

    • maximum of times to retry,

    • memory retry factors (the memory allocated for the next retry will be increased by a specified multiple) for specific rules.

circle-check

Example file of resource configuration yaml :

circle-info

Default resource configuration is suitable for most Stereo-seq datasets (chip size <= 2*3). If your Stereo-seq sequencing data volume is large or you are working with a large Stereo-seq chip (chip size > 2*3), it is essential to adjust the resource configuration in the resources.yaml file.

Submit analysis

Enable SGE mode to submit SAW count analysis task:

Or use a specified configuration YAML to start an analysis task:

circle-exclamation

Last updated