Closed mark-welsh closed 4 years ago
can you share a small sample VCF with a few of these and I'll see what I can do. slivar is tuned toward diploid vcfs, but I'll see what I can do.
Sure, thanks for the help!
Here is a variant output by MuTect2: original.vcf.gz
and the same variant after decomposing and normalizing with vt: decomposed.normalized.vcf.gz
excellent, thank you. and can you give an example command that you are trying to run so I can make sure to fix that?
slivar expr \
--alias test.alias \
--pass-only \
--vcf decomposed.normalized.vcf.gz \
--out-vcf test.filtered.vcf \
--group-expr "VAF_filter:tumor.AF < 0.15"
where the test.alias
file is just
#tumor normal
tumor normal
I had a more complicated command with gnotate and custom javascript expressions but I was able to rule those parts out and reproduce the error with just the above MWE
ok. this was a pretty simple fix. Please try the attached. This will be incorporated into next release. slivar_dev.gz
it's working great, thank you for the timely help!
Hi Brent,
I am using slivar 0.1.10 for filtering tumor/normal somatic variants. The VCF files having been decomposed and normalized with vt using the proper VCF header that you mentioned here.
It looks like
vt decompose -s
changes some multi-alleic sites GT fields to 0/1/. which raises the following error after I normalize and run slivar:Do you know of a way to fix this, or what exactly in slivar is causing this error? I must include these variants in the analysis and am trying to avoid writing a script to change these genotypes