Skip to content
Snippets Groups Projects
Commit 53a60f06 authored by Lukas Jelonek's avatar Lukas Jelonek
Browse files

Add minimal nextflow example

parent a26a830e
No related branches found
No related tags found
No related merge requests found
# A minimal nextflow example that uses podman on the bcf slurm cluster.
## Assumptions
* You work from `cli`
* You have the system proxy variables set in your current terminal session
## Run
```
nextflow run main.nf
```
If you observe errors, please notify us with a detailed error report, so that
we can improve the configuration over time. This example won't cover all use-
cases at the moment, so it may happen that your workflow won't run with the
provided configuration. In that case contact us, so that we can try to find
solutions for your specific problem and integrate these into this example.
## Notes
Feel free to use the provided `nextflow.config` as a starter for your own
workflows.
process Hello {
output:
path("hi.txt")
script:
"""
echo "Hoho" > hi.txt
"""
}
workflow {
Hello()
}
process {
container='ubuntu:24.10'
executor='slurm'
clusterOptions="--export=http_proxy,https_proxy,ftp_proxy"
queue='bcf'
}
podman {
enabled=true
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment