Hello,
This clears things up significantly. However, I still can't find how to apply a filter only to SNPs or only to indels. Do I need to use the JEXL expressions vc.getType() == Type.INDEL and vc.getType() == Type.SNP || vc.getType() == Type.MNP to select the appropriate kinds of variants? Is the Type enum even accessible from JEXL? Is there a better way?
EDIT: Also, the overall semantics are still unspecified. Do I want to remove variants matching any of the criteria? Remove those matching all the criteria? Keep only those that match at least one criterion? Or keep only those that match all the criteria? I would guess I'm supposed to remove variants that match any of the criteria for their particular variant type, but I'm not sure.