veoibd_synapse.rules package¶
Module contents¶
Provide code supporting the running and automating of Snakemake rules.
-
veoibd_synapse.rules.apply_template(template, keywords)[source]¶ Return a list of strings of form
templatewith values inkeywordsinserted.Parameters: - template (
str) – a string containing keywords ({kw_name}). - keywords (
dict-like) – dict with keys of appropriate keyword names and values as equal length ORDERED lists with the correct values to be inserted.
- template (
-
veoibd_synapse.rules.pathify_by_key_ends(dictionary)[source]¶ Return a dict that has had all values with keys containing the suffixes: ‘_PATH’ or ‘_DIR’ converted to Path() instances.
Parameters: dictionary (dict-like) – Usually the loaded, processed config file as a dict. Returns: Modified version of the input. Return type: dict-like
-
class
veoibd_synapse.rules.SnakeRun(cfg, snakefile)[source]¶ Bases:
objectInitialize and manage information common to the whole run.