Refactor LabKey to Snakemake script
- clean up command line interface - improve descriptions - add consistent structure - remove or merge superfluous CLI arguments - set defaults - update test calls - update docs - when importing data from LabKey, table is saved to 'samples.tsv.labkey' in same directory as Snakemake sample table - allow user to specify environment variables and relative paths in input table and on CLI - relative paths in the input table are interpreted with respect to the directory containing the input table - relative paths will are interpreted with respect to the current working directory; this is to achieve portability with respect to tests but is discouraged in production because its behavior is not very predictable from the user's perspective; consequently a warning is thrown - set STAR index size to read length - 1 - remove `gtf_filtered` and `tr_fasta_filtered` and update Snakefiles and test sample tables accordingly - rename some MultiQC report-related parameters and update Snakefiles and test config files accordingly - add logging - add docstrings to module and all functions - add typing definitions to all functions - restructure and comment code to improve readability - linters `flake8` and `mypy` pass
parent
6cf28511
No related branches found
No related tags found
Showing
- README.md 8 additions, 8 deletionsREADME.md
- Snakefile 3 additions, 3 deletionsSnakefile
- images/dag_test_workflow.svg 383 additions, 383 deletionsimages/dag_test_workflow.svg
- images/rule_graph.svg 208 additions, 208 deletionsimages/rule_graph.svg
- scripts/labkey_to_snakemake.py 608 additions, 389 deletionsscripts/labkey_to_snakemake.py
- tests/input_files/config.yaml 3 additions, 3 deletionstests/input_files/config.yaml
- tests/input_files/config_alfa.yaml 3 additions, 3 deletionstests/input_files/config_alfa.yaml
- tests/input_files/samples.tsv 3 additions, 3 deletionstests/input_files/samples.tsv
- tests/input_files/samples_alfa.tsv 5 additions, 5 deletionstests/input_files/samples_alfa.tsv
- tests/test_integration_workflow/test.local.sh 9 additions, 9 deletionstests/test_integration_workflow/test.local.sh
- tests/test_scripts_labkey_to_snakemake_api/test.sh 10 additions, 8 deletionstests/test_scripts_labkey_to_snakemake_api/test.sh
- tests/test_scripts_labkey_to_snakemake_table/expected_output.md5 2 additions, 2 deletions...est_scripts_labkey_to_snakemake_table/expected_output.md5
- tests/test_scripts_labkey_to_snakemake_table/test.sh 5 additions, 5 deletionstests/test_scripts_labkey_to_snakemake_table/test.sh
- workflow/rules/paired_end.snakefile.smk 1 addition, 1 deletionworkflow/rules/paired_end.snakefile.smk
- workflow/rules/single_end.snakefile.smk 1 addition, 1 deletionworkflow/rules/single_end.snakefile.smk
- workflow/scripts/rhea_multiqc_config.py 0 additions, 1 deletionworkflow/scripts/rhea_multiqc_config.py
Loading
Please register or sign in to comment