thkuo / seq2geno

Computational pipeline for genomic features of bacterial population
GNU General Public License v3.0
0 stars 0 forks source link

Lambda, expand, and wildcards #25

Open thkuo opened 6 years ago

thkuo commented 6 years ago

The function expand of snakemake has nothing to do with the dependencies among rules, because it is done at the initialization stage. The other function lambda, however, can use wildcards. Therefore, it seems better to use lambda when the required files are in the middle but not at the end of workflow.