Description
Check for available disk space on the system.
This component is only useful when working with persistent storage environments
where all workflow steps execute on the same instance or share the same
storage volume. That is, running thus component on e.g. AWS Batch or
other cloud-based systems will not work as expected, since each step
can run on a different instance and resources will not be shared.
For distributed environments, consider integrating resource checks directly
into the components that will actually consume the storage, rather than
using this standalone check.
Run the following command to execute this component with Nextflow:
cat > params.yaml <<'EOM'
tmp_space_required: [ 1000 ]
publish_space_required: [ 500 ]
publish_dir: "output/"
output: "$id.$key.output"
id: "run"
EOM
nextflow run https://packages.viash-hub.com/vsh/craftbox.git \
-revision v0.3.3 \
-main-script target/nextflow/check_disk_space/main.nf \
-params-file params.yaml Name | Type & Properties |
|---|---|
--tmp_space_required | integer |
--publish_space_required | integer |
--publish_dir | file |
Name | Type & Properties |
|---|---|
--output | file output |