Hi everyone,
I think this is a feature that Ulrike has asked for for a while in some form, but I had never really figured out the best way to provide it, until now.
Basically, in the next version (actually since 10 minutes ago on the git version), you can specify samples using YAML. Maybe it's best shown as an example:
samples:
sample1:
- paired:
- data/Sample1a.1.fq.gz
- data/Sample1a.2.fq.gz
- paired:
- data/Sample1b.1.fq.gz
- data/Sample1b.2.fq.gz
sample2:
- paired:
- data/Sample2.1.fq.gz
- data/Sample2.2.fq.gz
- single:
- data/Sample2.extra.fq.gz
This is verbose, but it can be very flexible and there are no more limitations or ambiguities on what the paths can be. Yaml files can easily be generated by other tools too.
At this point, I would welcome any feedback on the design as once it's released, it will be harder to change. Until v1.5 is officially released, you are welcome to test it out (downloading the static builds from
https://github.com/ngless-toolkit/ngless/actions/runs/2690055206), but the design may still change so
caveat emptor.
HTH
Luis