Entering edit mode
4.5 years ago
safiq713
▴
10
Dear all,
I need help. I have filtered SNP in vcf format, I want to extract only informative sites (SNPs) to FASTA format, How can I do that.
Note I am working on ddRAD data. I want to extract only informative sites to make a tree. Do you have any suggestion? Thanks a lot for your kind help.
Kind Regards Safi
Can you filter the SNPs you want? Extracting the fasta can be done by building a bed file with the desired coordinates (you can use
awk
for that) andbedtools
to extract the fasta regions.I filtered my snps with vcftools, do you have any example what i can see, thanks a lot for your kind reply
Will give you a 100 bp upstream and downstream. Also the name will include the chromosome and coordinates.