mhoban / rainbow_bridge

GNU General Public License v3.0
5 stars 2 forks source link

If --reads is not a directory, treat it as a glob #32

Closed mhoban closed 6 months ago

mhoban commented 11 months ago

Allow the user to specify a glob directly using --reads. This could be easily done by checking if params.reads is a directory.

so you could do something like this:

$ eDNAFlow.nf --reads '../fastq/*{forward,reverse}*.fastq'

There might be issues with ordering of forwards & reverses in this case, since it's done alphabetically, but we can burn that bridge when we come to it.

mhoban commented 6 months ago

Actually, let's not do this