create log directories in Snakefile\
- log and, if workflow is executed on cluster, cluster log directories are explicitly created in `Snakefile` - location of main log directory can be configured in `config.yaml` (field `log_dir`, previously: `local_log`; requires change in script `labkey_to_snakemake.py` as well as subworkflows as field name is hard-coded there) - location of cluster log directory can be configured in `cluster.json` (in field `__default__` -> `out`) - `config.yaml` and `cluster.json` in `tests/input_files` are set such that a directory `logs/` is created in the directory where Snakemake is run (i.e., the directory of each test); cluster logs are stored in a subdirectory `logs/cluster` - removes instructions to explicitly create log directories from docs and all test scripts - cleans up main `Snakefile` (apart from Snakemake-specific syntax, now passes `flake8` linter test)
Showing
- README.md 0 additions, 1 deletionREADME.md
- Snakefile 271 additions, 167 deletionsSnakefile
- scripts/labkey_to_snakemake.py 5 additions, 5 deletionsscripts/labkey_to_snakemake.py
- tests/input_files/cluster.json 1 addition, 1 deletiontests/input_files/cluster.json
- tests/input_files/config.yaml 5 additions, 5 deletionstests/input_files/config.yaml
- tests/test_create_dag_image/test.sh 1 addition, 0 deletionstests/test_create_dag_image/test.sh
- tests/test_create_rule_graph/test.sh 1 addition, 0 deletionstests/test_create_rule_graph/test.sh
- tests/test_integration_workflow/test.local.sh 0 additions, 2 deletionstests/test_integration_workflow/test.local.sh
- tests/test_integration_workflow/test.slurm.sh 0 additions, 3 deletionstests/test_integration_workflow/test.slurm.sh
- tests/test_scripts_labkey_to_snakemake_api/expected_output.md5 1 addition, 1 deletion.../test_scripts_labkey_to_snakemake_api/expected_output.md5
- tests/test_scripts_labkey_to_snakemake_table/expected_output.md5 1 addition, 1 deletion...est_scripts_labkey_to_snakemake_table/expected_output.md5
- workflow/rules/paired_end.snakefile.smk 7 additions, 7 deletionsworkflow/rules/paired_end.snakefile.smk
- workflow/rules/single_end.snakefile.smk 7 additions, 7 deletionsworkflow/rules/single_end.snakefile.smk
Loading
Please register or sign in to comment