Closed nli8888 closed 6 years ago
VEP appears to have added a new start_retained_variant
annotation. I've added that to the list of annotations - if you pull the latest version and try again, does that work?
I get a new error now:
WARNING: Did not find minimal_representation. Outputting raw positions.
SUCCESS: Found bgzip! Will bgzip the table.
SUCCESS: Found Amino_acids
SUCCESS: Found Codons
SUCCESS: Found Paralogue_Vars
14.Traceback (most recent call last):
File "/data/Share/nick/Paralog_Anno/loftee/src/tableize_vcf.py", line 200, in main
info_field = dict([(x.split('=', 1)) if '=' in x else (x, x) for x in re.split(';(?=\w)', fields[header['INFO']].replace('"', ''))])
IndexError: list index out of range
FAILED ON LINE:
Traceback (most recent call last):
File "/data/Share/nick/Paralog_Anno/loftee/src/tableize_vcf.py", line 431, in <module>
main(args)
File "/data/Share/nick/Paralog_Anno/loftee/src/tableize_vcf.py", line 379, in main
raise e
IndexError: list index out of range
Hmm, that looks odd. Do you maybe have a blank line at the end of your file (or somewhere in it)?
Ah yes I do, at the end of the file there was an empty new line. So for the record, any future input files should be checked for empty new lines and removed.
Many thanks, Konrad!
When running the following command:
I get this error:
The error prevents tableize from moving on to any variants following the one that caused it and crashes out.
test.out_paraloc
contains the following, specifically, the first variant is parsed fine and then the second one causes the error:Version of Python used was
Python 2.7.6