Attention:
The frontline support team will be unavailable to answer questions until May27th 2019. We will be back soon after. Thank you for your patience and we apologize for any inconvenience!

Is it possible to use VariantFiltration to pass (unfilter) variants?

dayzcooldayzcool Member
edited March 2018 in Ask the GATK team

I would like to make filtered variants meeting certain criteria PASS. Is it possible to use VariantFiltration? I wonder if GATK provides a tool for this type of task.

For instance, I want to convert PON-filtered variants called by Mutect2 into PASS variants based on their quality. I tried something hacky like this. It's close enough but I would like to know if there is a good way to do this.

$GATK VariantFiltration \
-filter 'panel_of_normals && TLOD > 50.0 && N_ART_LOD < 10.0 && vc.getFilters().size() == 1' \
--filter-name "PASS"

Thank you!

Post edited by dayzcool on

Issue · Github
by Sheila

Issue Number
3032
State
open
Last Updated
Assignee
Array

Comments

Sign In or Register to comment.