How to Convert SNP's that produced from Varscan into 0,1,2 ?
1
0
Entering edit mode
9.2 years ago
bingnas ▴ 10

Hello everyone

I have snp's data from VarScan like

#CHROM     POS   ID     REF    ALT    QUAL    FILTER    INFO    FORMAT    Sample1
    chr1       12198    .      G        C          .           PASS    ADP=54;WT=0;HET=1;HOM=0;NC=0
    chr1       12783    .      G        A          .           PASS    ADP=58;WT=0;HET=1;HOM=0;NC=0
    chr1       13116    .      T        G          .           PASS    ADP=30;WT=0;HET=1;HOM=0;NC=0

Could you please help me to convert the SNP's to 0,1,2?

Thank you so much in advance

Elme

SNP • 2.1k views
ADD COMMENT
2
Entering edit mode
9.2 years ago

WT=1 0/0

HET=1 0/1

HOM=1 1/1

NC=1 .

ADD COMMENT
0
Entering edit mode

Thank you so much Michael

ADD REPLY
0
Entering edit mode

can you more explain please! 0/0 mean homo and 1/1 also homo (dominant and recessive )?

and 0/1 is hero? . is missing?

Thank you Elme

ADD REPLY

Login before adding your answer.

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