I have a 928 non related vcd sample file. It has been annotated with appropriate RSID's. How do I query the file for the sample along with the correspond ID? Analysis requires the sample name the ref/alt allele and the RSID number. If I use vcd-subset, I get them sample but not the ID. Thanks for any directions.
Thanks for the awk command. The problem I ran into is that the RSID information is in the INFO field. I need it in the ID column so when I query by sample I have the rs associated with that position. I also tried the GATK and output was 0 records processed. I also tried bcftools query and it is close but no line by sample.