code: def _loh_to_vcf(cur):
      
      cn = int(float(cur["C"]))
      minor_cn = int(float(cur["M"]))
      if cur["type"].find("LOH"):
          svtype = "LOH"
      elif cn > 2:
          svtype = "DUP"
      elif cn < 1:
          svtype = "DEL"
      else:
          svtype = None
      if svtype:
          info = ["SVTYPE=%s" % svtype, "END=%s" % cur["end"],
                  "SVLEN=%s" % (int(cur["end"]) - int(cur["start"])),
                  "CN=%s" % cn, "MajorCN=%s" % (cn - minor_cn), "MinorCN=%s" % minor_cn]
          return [cur["chr"], cur["start"], ".", "N", "<%s>" % svtype, ".", ".",
                  ";".join(info), "GT", "0/1"]
docs: Convert LOH output into standardized VCF.