Question: Create A Tbi File From Vcf
gravatar for win
7.6 years ago by
win820 wrote:

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.


vcf • 8.4k views
ADD COMMENTlink modified 6.3 years ago by Biostar ♦♦ 20 • written 7.6 years ago by win820

did you just read the manual ? I can see a simple example clearly explained there:

ADD REPLYlink written 7.6 years ago by Pierre Lindenbaum126k
gravatar for Istvan Albert
7.6 years ago by
Istvan Albert ♦♦ 82k
University Park, USA
Istvan Albert ♦♦ 82k wrote:

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
ADD COMMENTlink written 7.6 years ago by Istvan Albert ♦♦ 82k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1369 users visited in the last hour