agentsclimarketplace

Container image selection and mounting

Skill HolobiomicsLab/asb-skill-collections/collections/metabolomics/v1/skills/container-image-selection-and-mounting

Use when when deploying a Nextflow workflow across multiple execution environments (local machines, HPC clusters) where tool versions, dependencies, or OS configurations may differ. Choose this skill specifically when you need to process LC-HRMS .mzML or .From its SKILL.md

Install
npx -y skills add HolobiomicsLab/asb-skill-collections --skill container-image-selection-and-mounting

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 15 stars15 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as CC-BY-4.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

7.2 KB, ~1.3k tokens by cl100k_base, as published. Nobody here has run it

container-image-selection-and-mounting

Summary

Select and configure containerized runtime environments (Docker or Singularity) for reproducible execution of bioinformatics workflows across heterogeneous compute platforms. This skill ensures portability and consistent tool behavior in LC-HRMS metabolomics data processing pipelines.

When to use

When deploying a Nextflow workflow across multiple execution environments (local machines, HPC clusters) where tool versions, dependencies, or OS configurations may differ. Choose this skill specifically when you need to process LC-HRMS .mzML or .abf files through containerized MS-DIAL and MSFLO without manual tool installation, and when reproducibility across macOS, Linux, or HPC systems is a requirement.

When NOT to use

  • Data is already processed into feature tables or annotation matrices — container selection is for raw .mzML/.abf ingestion only.
  • Your HPC system does not support Docker or Singularity and requires native tool installation.
  • You are running on Windows without WSL2 + Docker Desktop, as the workflow README documents support only for macOS and Linux.

Inputs

  • .mzML LC-MS raw data files
  • .abf LC-MS raw data files
  • MS-DIAL configuration file (msdial_params.txt)
  • MS-FLO configuration file (msflo_params.ini)
  • MS1 reference library (.txt)
  • MS2 reference library (.msp)

Outputs

  • MS-DIAL feature detection output
  • MS-DIAL feature identification output
  • MSFLO processed feature tables (.tsv)
  • MSFLO annotations
  • MSFLO metadata

How to apply

First, determine your execution environment: local development uses Docker; high-performance computing clusters typically require Singularity. Install the chosen container runtime (Docker via Docker Desktop or Singularity via system package manager). In the Nextflow workflow configuration, select the corresponding profile (-profile docker or -profile singularity). Verify that containerized MS-DIAL and MSFLO images are available and compatible with your data format (.mzML or .abf). Mount input data directories (raw_data/) and configuration files (msdial_params.txt, msflo_params.ini, MS1/MS2 libraries) into the container at pipeline initialization. The Nextflow runtime automatically stages inputs into the container work directory, executes processes sequentially within the container, and collects outputs from the container's results directory back to the host filesystem.

Related tools

Examples

nextflow run main.nf -profile docker > logs/execution.log

Evaluation signals

  • Verify container image was successfully pulled and cached locally (check Docker images or Singularity cache directory).
  • Confirm input files were mounted and accessible within the container by inspecting Nextflow work directory logs (.command.log in process-specific work folders).
  • Check that MS-DIAL and MSFLO executed within the container (logs should show container runtime in process metadata).
  • Validate that output files (feature tables, .tsv annotations) were collected from container to host results/ directory with correct schema and non-empty content.
  • Run nextflow run main.nf -profile functional_test and confirm execution completes without container I/O or mount errors.

Limitations

  • MS-DIAL and MSFLO tool versions are fixed at container build time; version updates require rebuilding or pulling new container images.
  • High-memory datasets may exhaust container memory limits if not explicitly configured in conf/base.config or HPC submission parameters.
  • Special characters in input filenames cause unexpected errors and pipeline failures; only underscores are safe in file naming.
  • Singularity on HPC systems may require cluster-specific configuration beyond conf/HiPerGator.config if using different resource managers (e.g., Slurm, TORQUE).
  • Configuration file paths (msdial_params.txt, msflo_params.ini) must match exactly; no automatic path discovery is performed.

Evidence

  • [readme] The workflow includes Docker and Singularity support to simplify installation, improve portability, and make results easier to reproduce.: "The workflow includes Docker and Singularity support to simplify installation, improve portability, and make results easier to reproduce."
  • [readme] It supports macOS and Linux and has been tested successfully on macOS 13.5.1 and HiPerGator (Red Hat Enterprise Linux 8.8).: "It supports macOS and Linux and has been tested successfully on: macOS 13.5.1 with a 2.6 GHz 6-Core Intel Core i7 processor and 16 GB memory. HiPerGator, the University of Florida public research"
  • [other] Initialize Nextflow with containerization backend selection (Docker or Singularity) and stage .mzML files into work directory.: "Initialize Nextflow ≥22.10.0 runtime environment with containerization backend selection (Docker or Singularity). Stage .mzML input files into Nextflow work directory and validate file format"
  • [readme] High-performance computing and Singularity configuration is defined in conf/HiPerGator.config; use docker profile for local execution.: "Docker configuration is defined in conf/base.config. High-performance computing and Singularity configuration is defined in conf/HiPerGator.config. Use the docker profile for local execution and the"
  • [readme] Do not use special characters in file names to avoid unexpected errors; only underscores are safe to use.: "To avoid unexpected errors, do not use special characters in file names. Underscores are safe to use."

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.