Create A Tbi File From Vcf
1
1
Entering edit mode
11.8 years ago
win ▴ 970

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 • 18k views
ADD COMMENT
1
Entering edit mode

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

ADD REPLY
6
Entering edit mode
11.8 years ago

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 COMMENT

Login before adding your answer.

Traffic: 2409 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6