Conversion to vcf format for quality filtered SNPs
1
0
Entering edit mode
10.4 years ago
GR ▴ 400

Hi All,

I am new to vcf format and SNP datasets. I have a very quick question. I have data as below:

1    1960    T    T    T    T    T    C    T    C    T    T    T    C    T    T    T    T    T    T    T    T    T
1    1961    A    T    A    A    A    A    A    A   T    T    T    A    T    T    T    T    T    T    T    T    T
  • col1- chr
  • col2- position
  • col3- ref base
  • col4 to col23- base calls from multiple individuals (same species).

This SNP data is already quality filtered. I was wondering if it will be possible to convert this to the vcf format?

Thanks,
RT

population-data VCF • 1.6k views
ADD COMMENT
1
Entering edit mode
10.4 years ago

Yes, it's possible.

ADD COMMENT
0
Entering edit mode

Thanks Devon. vcf format has 8 fixed, mandatory columns. What should I do for col 6 QUAL, 7 FILTER and 8 INFO? I don't have data for these. Only I know that the SNP data has already passed the qual filters.

If you could give me some hints how to do that then that would be very helpful. Any example format will be of great help.

ADD REPLY
1
Entering edit mode

QUAL can be any numeric value, since you're not going to actually use it for anything. FILTER is PASS, since you said you already filtered. INFO can just be the allele frequency, since, again, your not going to use this field for anything. Just make the header match whatever you put in INFO.

ADD REPLY

Login before adding your answer.

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