code: def print_vcf(data):
      
      id_name = "."
      qual = "."
      chrom = data['chrom']
      pos = data['pre_pos']
      nt_ref = data['nt'][1]
      nt_snp = data['nt'][0]
      flt = "PASS"
      info = "ID=%s" % data['mature']
      frmt = "GT:NR:NS"
      gntp = "%s:%s:%s" % (_genotype(data), data["counts"], data["diff"])
      print("\t".join(map(str, [chrom, pos, id_name, nt_ref, nt_snp, qual, flt, info, frmt, gntp])), file=STDOUT, end="")
docs: Print vcf line following rules.