This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Create A Tbi File From Vcf

hi all. i am generating a vcf file as the end result of my processing and i want to perform an interval query. since, tabix can do that, what is the way to generate a tabix (.tbi) file for the vcf file that is generated?

the commands would help a lot.

thanks in advance.

ashwin

vcf

1 answer

I'll just answer the same thing as Pierre for the sake of closing the question.

A tbi file is a tabix index file. To generate it invoke the tabix program with the -p flag like so:

tabix -p vcf myfile.vcf

Log in to answer this question.