code: def _remove_germline_filter(rec, name):
      
      if _is_germline(rec):
          if rec.FILTER and name in rec.FILTER:
              return vcfutils.cyvcf_remove_filter(rec, name)
      elif not _is_somatic(rec):
          if rec.FILTER and name in rec.FILTER:
              return vcfutils.cyvcf_remove_filter(rec, name)
      return rec
docs: Check if germline based on STATUS/SS and REJECT flag.
  
      Handles VarDict, FreeBayes, MuTect, MuTect2 and VarScan.