Snakemake wildcard constraint using negative lookbehind or lookahead
I’m building a snakemake pipeline to align some NGS data, and some of the samples are single end and others are paired end, which require slightly different analyses. My solution was to declare a sample_sp
wildcard to use for rules that are specific to a certain type of data. I want this wildcard to not end with _pe
, as that is how I am marking files to be used in paired-end experiments.