churchill-lab / g2gtools

Personal diploid genome creation and coordinate conversion
http://churchill-lab.github.io/g2gtools
21 stars 9 forks source link

HLA contigs causing errors with g2gtools patch and g2gtools transform #29

Open jon4thin opened 4 months ago

jon4thin commented 4 months ago

I have been trying to run g2gtools patch and g2gtools transform but encounter errors like:

[g2gtools] Error: invalid literal for int() with base 10: '02N' [g2gtools] Error: invalid literal for int() with base 10: '11N'

When I look at my VCI I see

##CONTIG=HLA-A*01:01:01:02N:3291
##CONTIG=HLA-A*01:11N:3374

and many others....

I removed the HLA contigs from the VCI for g2gtools patch but this is suboptimal for a couple reasons:

Thank you!

jon4thin commented 3 months ago

This may be an issue with my g2gtools version. I am using the docker image: kbchoi/emase:latest