How to Convert SNP's that produced from Varscan into 0,1,2 ?
0
0
Entering edit mode
8.6 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
0
Entering edit mode

Is it a VCF file? Then you can read the VCF file and convert it to any format you want. But you need to specify what software you are planning to use, so that you'll get useful answers.

ADD REPLY
0
Entering edit mode

Yes, it came from VarScan package

ADD REPLY
0
Entering edit mode

What do you mean by "convert to 0,1,2"?

Instead, you can output the varscan file in .vcf format.

ADD REPLY

Login before adding your answer.

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