How to get SNPs genotype matrix from vcf file for JoinMap analysis?
Hi, I need to use JoinMap for linkage map construction from GBS SNPs data. I need to get genotype matrix prior loading into the JoinMap. Is there any way to get genotype matrix from vcf file? Thanks in advance.
• 4,511 views
•
link
3 answers
you can use bcftools --view options to convert vcf file format to genotype file format
• 0 views
•
link
bcftools query was precisely designed to generate this kind of genotype tables.
• 0 views
•
link
Please try this script.
https://github.com/johnomics/scripts/blob/master/convert_vcf_to_joinmap.pl
• 0 views
•
link
Log in to answer this question.
Hi Gaurab,
I know it has been 5 years, but did you figure out how to do the conversion? I am having the same problem; I was wondering if you can help me with that.
Thank you.