I have a vcf file and a list of SNP ids. I checked if SNPs are heterozygous/homozygous in my samples.
vcftools --vcf my vcf file.vcf --snp snp1 --extract-FORMAT-info GT | grep "0/1"
Now, I want to extract the sample ids that are either 0/1 or 1/1 and also i want to run an odds ratio test? Is there a way to do that in vcf tools?