the function len_cutoff() in quality_assurance.smk is taking the wrong part of the splitted string:
def len_cutoff(wildcards):
parts = wildcards.dataset.split("/")
patient_ID = parts[1] # should be: patient_ID = parts[-2]
date = parts[2] # should be: date = parts[-1]
When defining
datadir
different fromsamples/
in theconfig.yaml
, e.g.the function
len_cutoff()
inquality_assurance.smk
is taking the wrong part of the splitted string:Instead of
it should be