check_disk_space

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.

Type

bash_script

License

MIT

Run this component

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  

Inputs

Name
Type & Properties
--tmp_space_required
integer
--publish_space_required
integer
--publish_dir
file

Outputs

Name
Type & Properties
--output
file
output

Collaborate Accelerate Succeed

Empower your organization with secure, scalable workflow solutions that simplify development, ensure compliance, and drive innovation.

Viash Hub is a platform developed by Data Intuitive, a Belgian-based bioinformatics company specializing in data workflow development and deployment.