Picard LiftoverVcf warning - input malformated
1
0
Entering edit mode
5 months ago
Yuri • 0

I'm working on liftover vcf from hg38 to hg19. I got this error message back:

Exception in thread "main" htsjdk.tribble.TribbleException: The provided VCF file is malformed at approximately line number 906: unparsable vcf record with allele -, for input source: MYPATH

Has anyone encountered similar problem? Please share any thoughts, thanks!

vcf picard warning error liftover • 305 views
ADD COMMENT
1
Entering edit mode
5 months ago

- is not an allele supported by the picard/htsjdk api: https://github.com/samtools/htsjdk/blob/7719274fe370a51a24e6067de21bbe7e18c160a9/src/main/java/htsjdk/variant/variantcontext/Allele.java#L332

you could fix this by converting such alleles by N or <.> (symbolic allele)

ADD COMMENT
0
Entering edit mode

Thanks! I will try it :D

ADD REPLY

Login before adding your answer.

Traffic: 2611 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6