Thank you for the advice. I have some problems when practicing it however, can you please help me?
When I merge and compare the two VCF files, I can't tell if there is a difference between the two strains when the following case occur:
Reference has a genotype A at locus 100;
Strain i has a genotype C at locus 100;
Strain j does not have a variant found at locus 100;
in such a case I can't tell if strain j is different from strain i at locus 100 or not. Because the lack of variant in strain j might be due to either lack of data(in which case it might actually be the same as strain i) or lack of variation from the reference(in which case its genotype is A and is a SNP against strain i).
I'm planning on using the SNPs to perform QTL mapping. I thought that genome wide SNP calling for QTL mapping is a common method used and that there should be a tool that calls the SNP between two strains directly, but I've looked up Gatk, samtools, freebayes and I can't seem to find any of it doing this...
The final approach I used for this problem is simple and though the problem itself is likely elementary for many people here. I think I'd still post my solution:
.,./.or.|.in the genotype field means (a) that there is a lack of variant between the reference and a particular strain or (b) there is a lack of data for a particular strain..,./.or.|.in the genotype field while the lack of variant should be presented as0,0/0or0|0. Then, you'd know all the variants between the two strains.This is the easiest solution I can think of. Hope it helps if you happen to be a newbie like me (: