Michael Heuer
03/25/2025, 11:58 PMmain.nf.
E.g. not like this
https://github.com/heuermh/nf-core-modules/blob/dshbio-fastatoparquet/modules/nf-core/seqkit/fastatoparquet/main.nf#L27
Will look for examples . . .Arthur
03/26/2025, 12:10 AMduckdb but is there a better way of providing queries on the CLI than a plain text string like that?
It’s an sql injection attack risk (albeit I think this is only in-memory)Michael Heuer
03/26/2025, 12:13 AMduckdb is reading from stdin via a pipe, otherwise I might wrap it in python/polars/jdbc etc. to limit access to the query. It might be possible to use prepared statement(s) to limit damage via template value injection and be more clever on the groovy side?Michael Heuer
03/26/2025, 7:54 PMEdmund
03/26/2025, 8:33 PMduckdb shebangEdmund
03/26/2025, 8:36 PM-fEdmund
03/26/2025, 8:37 PMduckdb: directive like I've always wantedMichael Heuer
03/26/2025, 8:50 PMEdmund
03/26/2025, 8:52 PM