Skip to content

General Conventions

ejh243 edited this page Jun 29, 2022 · 8 revisions

config file

As far as possible, parameters and variables should be defined in config files, that processing scripts call. We want to limit how much these need to be edited. using the standard file structure for data, bash scripts take advantage of a standard config file named config.txt, located in the config folder. The config file needs a "local?" variable with the project folder name to be declared prior to using the config file.

The format of the config file is `## Data filepaths

Reference data filepaths

Software/script filepaths

conda filepaths

parameters

`

some modalities also have an r config file, config.r, this contains default parameters that will be used if no alternatives are provided.

where R parameters are likely to be changed by users, those scripts will have specific configs, with distinct names. These need to be specified in the README and a description of how to populate. if a user wants to run their own parameters, they can provide an additional config file which will override the default parameters.

Messages

All updates/ progress messages derived from processing scripts rather than job submission. Job submission scripts might want time stamps at start and end to set processing time.

Clone this wiki locally