Skip to main content
Advertisement

< Back to Article

Nine quick tips for software containerization

Fig 2

Example of container integration in a Nextflow workflow.

This code snippet demonstrates how containers can be specified for individual processes within a workflow management system. The container directive isolates the alignment tool (here, BWA version 0.7.17) in its own environment; other pipeline steps can use different containers. This modular approach allows updating a single tool without rebuilding the entire computational environment, improving both maintainability and reproducibility.

Fig 2

doi: https://doi.org/10.1371/journal.pcbi.1014197.g002