vg version: v1.41.0 "Salmour",
command line:
./vg construct -r genomic.fna -v bufo.12samples.vcf.gz -t 24 -m 32 > bufo.vg
error:
[tabix++] the index file is older than the vcf file. Please use '-f' to overwrite or reindex.
Describe:
I should clarify that the index for vcf is .csi
insdead of .tbi
because the bufo chromosomes are big so that can not be stored in tbi
index. And I'm pretty sure that bufo.12samples.vcf.gz.csi
is younger than bufo.12samples.vcf.gz
.
Question:
How can I get rid of this error?
Thanks,
Maxine
Please use concise titles. Add detailed error messages in the body of the post. I've changed it for you this time.
Just so you're 100% sure, can you run:
Yes
This might be a bug in their software - they may have not yet accounted for CSI indices. I think you should open a GitHub issue on their repository and point to this post.
A previous issue indicates that the software thinks a non-existent tbi file is somehow older than the VCF file - this is probably what's happening in your case, given that .tbi does not exist. vg needs to check for a .tbi or a .csi that's created after the VCF.
Sure! Thank you.