Closed davemcg closed 7 years ago
Using iconv on that bed file to remove non-Ascii characters and re-annotating with vcfanno 'fixed' the problem.
can you tell me the out put of:
python -c "import locale;print locale.getpreferredencoding()"
can you check the latest commit? I pushed a change that I believe will fix this. You default encoding must be ascii.
$ python -c "import locale;print locale.getpreferredencoding()"
ANSI_X3.4-1968
I'll check that tomorrow. Thanks Brent.
IndentationError: unindent does not match any outer indentation level
Once I fixed the tab/space mixup it works
doh! thanks.
Had a custom field from with ClinVar disease names. Lots of weird characters in there.
Tried to force unicode on vcf2db.py by adding this:
Which gave a more informative(?) error.