vcf2phylip
vcf2phylip copied to clipboard
KeyError: '2': always met this error when converting a vcf file to phylip file.
I have modified the variety names to be four digits, such as 4111, ensuring they are within 10 characters. However, I am still encountering this error. Could you please teach me how to resolve it?
$ python3 vcf2phylip-2.8/vcf2phylip.py -i test.vcf
Converting file 'test.vcf':
Number of samples in VCF: 290
Traceback (most recent call last):
File "vcf2phylip-2.8/vcf2phylip.py", line 502, in