from mutations to vcf
0
1
Entering edit mode
2.2 years ago
Anst ▴ 40

Hello!

I have a table for each sample with 0 (mutation doesn't occur) and 1 (mutation occur). Is there is a way to transform this into vcf file?

Thanks

vcf mutations • 770 views
ADD COMMENT
0
Entering edit mode

yes. use awk.

ADD REPLY
0
Entering edit mode

Could you tell me how, please?

ADD REPLY
0
Entering edit mode

sure, show me your data.

ADD REPLY
0
Entering edit mode

This is how the table looks like

CHROM POS ID REF ALT QUAL FILTER INFO FORMAT 3488 3483 3477 3450 3380 3369 1261 3351 1369

some_chrom  1   A1G A   G   .   PASS    some_info   GT:CLADE    0   0   0   0   0   0   0   0   0

some_chrom  0   A0G A   G   .   PASS    some_info   GT:CLADE    0   0   0   0   0   0   0   0   0

some_chrom  0   G0A G   A   .   PASS    some_info   GT:CLADE    0   0   0   0   0   0   0   0   0

some_chrom  1   G1A G   A   .   PASS    some_info   GT:CLADE    0   0   0   0   0   0   0   0   0

some_chrom  1A,G1   G1A,G1A G   A   .   PASS    some_info   GT:CLADE    0   0   0   0   0   0   0   0   0
ADD REPLY

Login before adding your answer.

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