The sample name erroneously gets chopped off one extra character in Snakefile, thus potentially leading to duplicate sample names and mismatched/missing reads.
This is the current code:
if sample_name[-1] in ['.', '_', '-']: sample_name = sample_name[:-2]
This is how the code should actually be:
if sample_name[-1] in ['.', '_', '-']: sample_name = sample_name[:-1]
The sample name erroneously gets chopped off one extra character in Snakefile, thus potentially leading to duplicate sample names and mismatched/missing reads.
This is the current code:
if sample_name[-1] in ['.', '_', '-']: sample_name = sample_name[:-2]
This is how the code should actually be:
if sample_name[-1] in ['.', '_', '-']: sample_name = sample_name[:-1]