def passfilter(rec, disabled=False):
    if disabled:
        return True
    if rec.FILTER is None or rec.FILTER == '.' or not rec.FILTER:
        return True
    return False
Return true if a record is unfiltered or has 'PASS' in the filter field (pyvcf sets FILTER to None)
dataset/ETHPy150Open adamewing/bamsurgeon/scripts/evaluator.py/passfilter