Skip to content

scr and config

David Molik edited this page Nov 18, 2021 · 3 revisions

In otb repo, under the main directory, there are two subirectories, /scr and /config which hold helper functions and configuration for otb.

In scr there are the following files, you may find youself needing some of the scripts:

https://github.com/molikd/otb/scr
├── check_env.sh - checks the compute environment
├── force_prefetch_containers.sh - forces singularity to grab new underlying containers
├── io.sh - general functions
└── prefetch_containers.sh - grabs the required singularity containers

Config holds nextflow config files for running otb on different types of clusters:

https://github.com/molikd/otb/config
├── none.cfg - for running on local
├── sge.cfg - for running on an sge cluster
├── slurm_atlas.cfg - for running on USDA's Atlas cluster
├── slurm.cfg - for running on an slurm cluster
└── slurm_usda.cfg - for running on USDA's Ceres cluster

You can request help with new configs in Issues.