The last couple of months I found a number of questions about Snakemake that all concern how to generate a list of expected inputs with expand
when the default behavior of expand
doesn't do the trick. Usually the answer is to use expand
with zip
, or maybe drop expand
altogether and generate the list some other way.
However, whenever a new one pops up, I feel the other ones are too specific to use as a dupe target. I've tried to look for some canonical question/answer pair, but can't seem to find one.
Is there a good one I've been overlooking? If not, is it all right for me to write one given I've got relatively low rep and am not one of the top answerers in the Snakemake tag, but am fairly familiar with that particular bit of Snakemake? It looks to me like the process (as of 2014) is/was "identify it's missing and write it", but I want to be sure I'm making the right call and not waltzing over everyone with more experience in the tag.