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 mode- SNPand- INDELand we get- .recalfiles for both snp and indels.
- Next, we apply - ApplyVQSRwith mode- INDELwith- indels.recalfile to generate- indel.recalibrated.vcf.
- In the next step, we apply - ApplyVQSRfor- SNPwith vcf input as- indel.recalibrated.vcfand .recal file generated from- VariantRecalibratorwith mode- SNP.
- This step generate file with - snp.recalibrated.vcf.gzwhich will contain both- SNPand- INDELas filtered and will be final filtered data from- VQSR
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.