Hello,
I have two vcf files with SNPs compared to same reference.
Vcf1:
Position SNP
1 A
3 T
6 G
8 C
Vcf2:
2 C
6 A
8 T
10 T
There are 6 different positions, I want to make fasta files for both vcf files. N for no data.
>Vcf1
ANTGCN
>Vcf2
NCNATT
Is there any helpful tools or scripts?
Thanks in advance
SS
Thanks Brice, This worked good.
I was wondering if I can filter based on missing data. eg if 50% sample has missing SNP in a particular position- remove that position.