This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Vcf For Homozygous Variety Snp

Hi, I tried to understand VCF 4 for homozygous variety SNPs, but I do not know how to convert the following genotypes to VCF:

    genotypes:
    - variety1 = 2*G (variety1 has two G's at locus position)
    - variety2 = 3*A (variety2 has two A's at locus position)
    allele       A/G

This is the beginning of the VCF file, but I stucked with above genotypes

    #CHROM - X8r  
    POS     391
    ID      X8r0000001
    REF     G
    ALT     A
    QUAL    2
    FILTER  .
    INFO    DP=5
    FORMAT

How to create a VCF 4 file for the above homozygous variety SNP?

Thank you in advance.

snps snp vcf variant

1 answer

Thank you, I just try to understand the format. I found also this http://seqanswers.com/forums/showpost.php?p=68687&postcount=3 definition

    genotypes:
    - variety1 = 15*G (variety1 has two G's at locus position) J
    - variety2 = 1*C (variety2 has two A's at locus position) M1
    - variety3 = 1*T (variety3 has two A's at locus position) M2
    allele       C/G/T

X8r 1 X8r0000001 G C,T 2 . DP=17 GT:DP 0/0:15 1/1:1 2/2:1

Would the above line a correct VCF 4 line?

Log in to answer this question.