Closed silastittes closed 1 month ago
IIRC there is an all_sites conditional in the workflow?
Ok cool. This error is coming up on the n_t_gone_prep_inputs
rule. Guess we just need to transmit that info across rules somehow.
Ok, reading a bit closer, if I understand correctly, for n(t) rules this is about masking out functional regions. In the case of all_sites, we need to ignore masking cause otherwise we're masking the whole genome right? Should be a pretty easy fix if so.
yep exactly
The production pipeline has this line in it:
but this fails with:
I believe this boils down to this line https://github.com/popsim-consortium/analysis2/blob/7ebe47a249cca71cd35f8ce96c7d7247b669d139/workflows/masks.py#L47
It seems like we need some conditional there to handle passing
all_sites
correctly, but I'm not quite sure what that would be, or just not use all sites option? I'm very open to suggestions on this one.