We've seen an error in format_pileup.py where a KeyError can be triggered here:
Traceback (most recent call last):
File "ncov-tools/workflow/rules/../scripts/format_pileup.py", line 23, in <module>
freqs[b] += 1
KeyError: 'N'
...because the dict isn't initialized with an N key:
|
freqs = {'A': 0, 'T': 0, 'G': 0, 'C': 0, '-': 0, 'R': 0 } |
We've seen an error in
format_pileup.pywhere aKeyErrorcan be triggered here:ncov-tools/workflow/scripts/format_pileup.py
Line 23 in 7a19778
...because the dict isn't initialized with an
Nkey:ncov-tools/workflow/scripts/format_pileup.py
Line 15 in 7a19778