This repository was archived by the owner on Jan 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Error: Something is not right with your vcf file #4
Copy link
Copy link
Open
Description
Hi,
Thanks for a great program!
I'm getting an error 'Something is not right with your vcf file' and I'm wondering if there are VCF file specifications that need to be met to use this tool? I'm not sure if, for instance, this requires haploid genotype calls?
Uploading cluster10.vcf.gz…
./run_b2cs -x ${xml} beast2 $ref test2.vcf
2020-04-22 15:57 B2CONSTSITES INFO Imported sequence NC_000962.3.
2020-04-22 15:57 B2CONSTSITES INFO Sequence has length 4411532
2020-04-22 15:57 B2CONSTSITES CRITICAL Something is not right with your vcf file
Traceback (most recent call last):
File "/home/kwalter/.local/bin/run_b2cs", line 8, in <module>
sys.exit(run_b2constsites())
File "/home/kwalter/.local/lib/python3.8/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/home/kwalter/.local/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/home/kwalter/.local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/kwalter/.local/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/home/kwalter/.local/lib/python3.8/site-packages/b2constsites/run_b2constsites.py", line 53, in run_b2constsites
cs.load_vcf()
File "/home/kwalter/.local/lib/python3.8/site-packages/b2constsites/b2constsites.py", line 49, in load_vcf
self.var_pos.update(self._parse_pos(rec))
File "/home/kwalter/.local/lib/python3.8/site-packages/b2constsites/b2constsites.py", line 34, in _parse_pos
if rec.INFO['TYPE'][0] in ACCEPTABLE_VAR_TYPES:
KeyError: 'TYPE'
Following a previously published pipeline, I used VarScan to call variants and have a VCF with diploid calls. I'm attaching the VCF below.
Any suggestions would be great!
Thank you and best,
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels