Closed Amfgcp closed 5 years ago
Hi @Amfgcp,
This option worked as a "hard" filter (means it left only somatic variants) about 4 years ago, but there was a decision to change its behavior to "soft" filter, as you can see. Now it will leave germline variants in output, and either will mark them as "PASS" if they pass all filters or will add specific FILTER if some filters aren't passed. I think in your case germline's pvalue less than default 0.05 significance threshold and no other filters (quality, frequency...) were triggered, so it is "PASS".
This change for -M
option was made here: https://github.com/AstraZeneca-NGS/VarDict/commit/9a98d0a2ff9ca2c043273c5fb5c206dc5704e27e#diff-794ef71df5d793096f2b59c24540beafL186
You can also hard-filter germlines if needed, then you have to change these 2 lines with opt_M
in your var2vcf_paired.pl
to its previous implementation.
Understood, thank you for the quick answer @PolinaBevad
Hi, I'm using version 1.6.0 and I was hoping that running the
var2vcf_paired.pl
script with the-M
flag (used to output only candidate somatic variants) would filter out variants marked withSTATUS=Germline
and that is not the case. Is this expected? For example I got:when I was expecting to have some kind of germline filter instead of
PASS
.The command used was:
and I see that the other filters are apparently working as intended:
Were my expectations wrong? Thanks