I have gone through filtering variants through VQSR and hard-filter from here
My understanding about VQSR is that the we don't want to combine SNP and INDEL where as they are combined in Hard-filter.
In VQSR, we run
VariantRecalibratorwith modeSNPandINDELand we get.recalfiles for both snp and indels.Next, we apply
ApplyVQSRwith modeINDELwithindels.recalfile to generateindel.recalibrated.vcf.In the next step, we apply
ApplyVQSRforSNPwith vcf input asindel.recalibrated.vcfand .recal file generated fromVariantRecalibratorwith modeSNP.This step generate file with
snp.recalibrated.vcf.gzwhich will contain bothSNPandINDELas filtered and will be final filtered data fromVQSR
Is my understanding correct about variant filtering here ?
If this is right how do we deal with MIXED type ?
If you look into the this tutorial
Note that mixed records are treated as indels.