snakemake-wrappers
snakemake-wrappers copied to clipboard
generic snakemake-wrapper-utils mechanism to move files at the end of a wrapper run, to work around tool-defined filenames
trafficstars
The idea is to have a dictionary that keeps track of tool-defined file suffixes and output: filename=:
https://github.com/snakemake/snakemake-wrappers/pull/3974/files#diff-fc2a3b28a6423504a3ad1b54913414d281d379e7245af9504d867e2586a11f9bR51-R65
This can then be used to systematically create move commands once the wrapper has done everything it should (usually in a throw-away TemporaryDirectory):
https://github.com/snakemake/snakemake-wrappers/pull/3974/files#diff-fc2a3b28a6423504a3ad1b54913414d281d379e7245af9504d867e2586a11f9bR266-R269
This is a tracking issue, to not forget about this idea.