Hello,
I'm having issues converting my vcf file. I work with Ubuntu.
The command I entered: python ~/vcf2phylip/vcf2phylip.py -i Final.vcf
Traceback (most recent call last):
File "/home/computer/vcf2phylip/vcf2phylip.py", line 397, in
main()
File "/home/computer/vcf2phylip/vcf2phylip.py", line 220, in main
site_tmp = ''.join([(amb[(nuc[broken[i][0]], nuc[broken[i][2]])]) for i in range(9, index_last_sample)])
KeyError: '2'
Hello, I'm having issues converting my vcf file. I work with Ubuntu.
The command I entered: python ~/vcf2phylip/vcf2phylip.py -i Final.vcf Traceback (most recent call last): File "/home/computer/vcf2phylip/vcf2phylip.py", line 397, in
main()
File "/home/computer/vcf2phylip/vcf2phylip.py", line 220, in main
site_tmp = ''.join([(amb[(nuc[broken[i][0]], nuc[broken[i][2]])]) for i in range(9, index_last_sample)])
KeyError: '2'
I've attached the file here as well. Final.vcf.gz
Any and all help is appreciated!