code: def _create_input(paired, out_file, ref_file, snp_file, qsnp_file):
      
      ini_file["[inputFiles]"]["dbSNP"] = snp_file
      ini_file["[inputFiles]"]["ref"] = ref_file
      ini_file["[inputFiles]"]["normalBam"] = paired.normal_bam
      ini_file["[inputFiles]"]["tumourBam"] = paired.tumor_bam
      ini_file["[ids]"]["normalSample"] = paired.normal_name
      ini_file["[ids]"]["tumourSample"] = paired.tumor_name
      ini_file["[ids]"]["donor"] = paired.tumor_name
      ini_file["[outputFiles]"]["vcf"] = out_file
      with open(qsnp_file, "w") as out_handle:
          for k, v in ini_file.items():
              out_handle.write("%s\n" % k)
              for opt, value in v.items():
                  if value != "":
                      out_handle.write("%s = %s\n" % (opt, value))
docs: Create INI input for qSNP