popstats icon indicating copy to clipboard operation
popstats copied to clipboard

invalid literal for int() with base 10: 'C'

Open anubhabkhan opened this issue 2 years ago • 0 comments

Hey,

I am have converted my vcf file using the vcf2tped.py script. After that, I want to try to estimate FAB. But when I try to run it using the command: python popstats.py --file input.tped --pops INDV1,INDV2,INDV3,INDV4 --ancestor ANC_INDV --FAB

I get the error: Traceback (most recent call last): File "/home/uramakri/ryanr/softwares/popstats/popstats.py", line 710, in chromosome = int(col[0].lstrip('chr')) ValueError: invalid literal for int() with base 10: 'CM000001.4'

Could you please let me know how to resolve this? the reference genome is dog not humans.

Anubhab

anubhabkhan avatar Sep 22 '22 02:09 anubhabkhan