genotype matrix
1
0
Entering edit mode
3.1 years ago

Hello. my university give me a zip file that contain VCF and its tbi So, I have one VCF file that contains many variants for many person. and tbi that I didn't open it until now.

I want to create a simple genotype matrix genotype matrix consists of row and columns of course which the row is define the person and the columns is ID of variants
then I fill row/column with the ref columns that related to it. All information I found it in VCF expect person.

So, from where can I extract the person info such as id so I know this info related to this id? and how???? also where can I use tbi file?

I'm using linux and python

Thank you very much

structure python • 743 views
ADD COMMENT
0
Entering edit mode
3.1 years ago
desouzareis.r ▴ 280

Hello,

I think you should start understanding the VCF format. In this document you will find helpful information. The file is compressed by bgzip tool and indexed by tabix which generates the .tbi file.

ADD COMMENT

Login before adding your answer.

Traffic: 2474 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