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
• 21,065 views
•
link
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
• 0 views
•
link
Log in to answer this question.
did you just read the manual ? I can see a simple example clearly explained there: http://samtools.sourceforge.net/tabix.shtml