Commit 775bf846 authored by Kenzo-Hugo Hillion's avatar Kenzo-Hugo Hillion
Browse files

add documentation about tars-cwl-runner script

parent 9f6599cd
......@@ -2,6 +2,42 @@
## Usage
## Description
Here is a little description of what is going on in the `` script.
### Load the right environment
We need to load modules for:
* Python3
* Singularity
* node (used for `javascript` expression within CWL
Then we need to activate the `toil_venv`:
source ${toil_venv}/bin/activate
### Prefetch singularity images
The script is run by the head of the cluster which is the only access point to internet.
We do so to allow the automatic fetching of docker images (that are then built for singularity) and
stored/cached into the `${singularity_imgs_path} folder.
### Run toil
When `cwltool` is used with the `--singularity` option, it can find the singularity images either in ([ref](
* current directory
_Please note that your image follow a certain nomenclature. For a `repo/image` docker image, the
expected name is `repo-image.img`. Every `:` and `/` are replaced by `-` and the `img` extension
is expected at the end of the image name._
# Maintenance and Development
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment