Snakemake report requires path in the bash script
So the issue here is that snakemake report is called from the bash script as a second snakemake call. The issue with this is that the report and the path are relative, or should be provided by the user, which is not convenient. My suggestion for solution is :
Create a function that makes the call to the snakemake report. Create a function that also takes care of the slurm call. Do this in the labkey to snakemake script and rename it, as it does more than that now.
The issue with this is that again we introduce wrappers, which might cause issues with future maintenance. Advantage is that we can also expand with functions, or create classes to handle bash scripts for other environments as well.