chrisquince / DESMAN

De novo Extraction of Strains from MetAgeNomes
Other
69 stars 22 forks source link

Snakefile error #47

Open tstraub89 opened 3 years ago

tstraub89 commented 3 years ago

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]