This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Best way to extract SNPs and INDEL from multiple samples

Hi, I am processing multiple samples using the GATK4 haplotypecaller, could you please let me know what would be best way to merge these VCF files and extract the SNPs and INDEL followed by hard filtering separately for SNPs and INDEL. Should I filter each vcf file for SNPs and INDEL and then generate the combined vcf file using the GenomicsDB or can I merge all samples together first using GenomicsDB and then filter the SNPs and INDEL.

gwas wgs ngs

1 answer

1) use GenomicsDB is to generated VCF from GVCF files (GenotypeGVCFs)

2) filter each VCF chunck by type and hard filter using GATK SelectVariants

3) merge all the filtered chuncks using GatherVcfs

Thanks Pierre. this is all sorted.

Log in to answer this question.