If you happen to see a question you know the answer to, please do chime in and help your fellow community members. We encourage our fourm members to be more involved, jump in and help out your fellow researchers with their questions. GATK forum is a community forum and helping each other with using GATK tools and research is the cornerstone of our success as a genomics research community.We appreciate your help!
Test-drive the GATK tools and Best Practices pipelines on Terra
Check out this blog post to learn how you can get started with GATK and try out the pipelines in preconfigured workspaces (with a user-friendly interface!) without having to install anything.
MergeVcf and SortVcf in GATK4?
After variant calling by Haplotypecaller (gatk4) and hard filtering, I merged snp and indel vcf files using MergeVcf that suggested here instead of using CombineVariants in gatk4. But, I found the variant count in the merged vcf file isn’t the sum of variant count in the snp and indel vcf files. So, I tried SortVcf, which generated a merged vcf file that the total count of variant in this merged vcf file was the sum of the counts in the snp and indel vcf files. As I found, SortVcf doesn’t resolve the overlapping snp and indel, unlike MergeVcf, yes, is it right? If it’s right, could you please let me know which type of variant (snp or indel) take precedence in merged vcf file and why?
Also, please kindly tell me which one (MergeVcf or SortVcf) do you suggest and why?
Thanks in advance