Entering edit mode
3.2 years ago
Kash
▴
110
Hi everyone,
I have a multi vcf file with 23 samples generated from gatk pipeline. Now I want to find how many SNPs are in each sample (sum of 1/1,0/1 SNPs for each sample) Can someone please tell me how to do this?
Thank you
Thank you Pierre.
Following is a potion of the output produced by bcftools stats for my muti vcf file. The sum of column [5]nNonRefHom and [6]nHets gives the number of SNPs in each sample.
I wonder whether the [10]average depth value is equal to the average depth of coverage we will find in the bam files of the respective samples. Please let me know if you have an idea about the column [10]average depth
PSC, Per-sample counts. Note that the ref/het/hom counts include only SNPs, for indels see PSI. The rest include both SNPs and indels.