marbl / verkko

Telomere-to-telomere assembly of accurate long reads (PacBio HiFi, Oxford Nanopore Duplex, HERRO corrected Oxford Nanopore Simplex) and Oxford Nanopore ultra-long reads.
304 stars 29 forks source link

Miscellaneous snakemake cleanup #115

Open skoren opened 2 years ago

skoren commented 2 years ago
brianwalenz commented 1 year ago

The script feature is described in https://github.com/snakemake/snakemake/pull/1821 from Aug 22 and appears in release 7.14.0 from Aug 27. It requires bash, while verkko is happy with generic sh. It allows you to access the rule directives (input:, output:, etc) directly from the script. This would let us move the inlined shell scripts out of the Snakefiles and that could reduce the amount of escaping necessary. This would NOT let us stop generating scripts to run the task since the (external) script is useless without the snamemake variables passed to it.