Question: Create A Tbi File From Vcf
1
gravatar for win
7.6 years ago by
win820
India
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.

ashwin

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

did you just read the manual ? I can see a simple example clearly explained there: http://samtools.sourceforge.net/tabix.shtml

ADD REPLYlink written 7.6 years ago by Pierre Lindenbaum126k
4
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.

Help
Access

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