user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<saveCounts>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %rdi,-0x18(%rbp)
  mov    -0x18(%rbp),%rax
  lea    D164(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <fopen@plt>
  mov    %rax,-0x8(%rbp)
  mov    -0x8(%rbp),%rax
  mov    %rax,%rcx
  mov    $0x2,%edx
  mov    $0x1,%esi
  lea    D131(%rip),%rax
  mov    %rax,%rdi
  call   <fwrite@plt>
  mov    $0x0,%eax
  call   <getTotalDinucleotides@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D331(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalQuality20@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D7(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalHomozygous@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D386(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalHomozygousQuality20@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D244(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalAlternativeCX@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D135(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalAlternativeCXQuality20@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D1(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalMethylated@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D245(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalMethylatedQuality20@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D126(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalIntermediateMethylated@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D11(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalIntermediateMethylatedQuality20@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D93(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalUnMethylated@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D381(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalUnMethylatedQuality20@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D17(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalMethylatedHomozygous@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D157(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalMethylatedHomozygousQuality20@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D238(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalMethylatedAlternativeCX@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D214(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalMethylatedAlternativeCXQuality20@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D185(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalIntermediateMethylatedHomozygous@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D77(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalIntermediateMethylatedHomozygousQuality20@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D154(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalIntermediateMethylatedAlternativeCX@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D356(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalIntermediateMethylatedAlternativeCXQuality20@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D8(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalUnMethylatedHomozygous@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D423(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalUnMethylatedHomozygousQuality20@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D270(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalUnMethylatedAlternativeCX@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D128(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalUnMethylatedAlternativeCXQuality20@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D261(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalNonReferenceCpgs@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D125(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalNonReferenceCpgsQuality20@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D39(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalNonReferenceCpgsMethylated@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D235(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalNonReferenceCpgsMethylatedQuality20@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D100(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalNonReferenceCpgsIntermediateMethylated@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D293(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalNonReferenceCpgsIntermediateMethylatedQuality20@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D320(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalNonReferenceCpgsUnMethylated@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D246(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalNonReferenceCpgsUnMethylatedQuality20@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D312(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalSnpsReferenceCpGs@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D237(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalSnpsReferenceCpGsQuality20@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D173(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalSnpsReferenceCpGsMethylated@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D41(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalSnpsReferenceCpGsMethylatedQuality20@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D277(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalSnpsReferenceCpGsIntermediateMethylated@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D217(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalSnpsReferenceCpGsIntermediateMethylatedQuality20@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D79(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalSnpsReferenceCpGsUnMethylated@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D404(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%eax
  call   <getTotalSnpsReferenceCpGsUnMethylatedQuality20@plt>
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  lea    D228(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    -0x8(%rbp),%rax
  mov    %rax,%rcx
  mov    $0x2,%edx
  mov    $0x1,%esi
  lea    D351(%rip),%rax
  mov    %rax,%rdi
  call   <fwrite@plt>
  mov    -0x8(%rbp),%rax
  mov    %rax,%rdi
  call   <fclose@plt>
  nop
  leave
  ret
```

tool_calls: name: unpack_data
arguments: data_label: D164
datatype: string
name: unpack_data
arguments: data_label: D131
datatype: string
name: unpack_data
arguments: data_label: D331
datatype: string
name: unpack_data
arguments: data_label: D7
datatype: string
name: unpack_data
arguments: data_label: D386
datatype: string
name: unpack_data
arguments: data_label: D244
datatype: string
name: unpack_data
arguments: data_label: D135
datatype: string
name: unpack_data
arguments: data_label: D1
datatype: string
name: unpack_data
arguments: data_label: D245
datatype: string
name: unpack_data
arguments: data_label: D126
datatype: string
name: unpack_data
arguments: data_label: D11
datatype: string
name: unpack_data
arguments: data_label: D93
datatype: string
name: unpack_data
arguments: data_label: D381
datatype: string
name: unpack_data
arguments: data_label: D17
datatype: string
name: unpack_data
arguments: data_label: D157
datatype: string
name: unpack_data
arguments: data_label: D238
datatype: string
name: unpack_data
arguments: data_label: D214
datatype: string
name: unpack_data
arguments: data_label: D185
datatype: string
name: unpack_data
arguments: data_label: D77
datatype: string
name: unpack_data
arguments: data_label: D154
datatype: string
name: unpack_data
arguments: data_label: D356
datatype: string
name: unpack_data
arguments: data_label: D8
datatype: string
name: unpack_data
arguments: data_label: D423
datatype: string
name: unpack_data
arguments: data_label: D270
datatype: string
name: unpack_data
arguments: data_label: D128
datatype: string
name: unpack_data
arguments: data_label: D261
datatype: string
name: unpack_data
arguments: data_label: D125
datatype: string
name: unpack_data
arguments: data_label: D39
datatype: string
name: unpack_data
arguments: data_label: D235
datatype: string
name: unpack_data
arguments: data_label: D100
datatype: string
name: unpack_data
arguments: data_label: D293
datatype: string
name: unpack_data
arguments: data_label: D320
datatype: string
name: unpack_data
arguments: data_label: D246
datatype: string
name: unpack_data
arguments: data_label: D312
datatype: string
name: unpack_data
arguments: data_label: D237
datatype: string
name: unpack_data
arguments: data_label: D173
datatype: string
name: unpack_data
arguments: data_label: D41
datatype: string
name: unpack_data
arguments: data_label: D277
datatype: string
name: unpack_data
arguments: data_label: D217
datatype: string
name: unpack_data
arguments: data_label: D79
datatype: string
name: unpack_data
arguments: data_label: D404
datatype: string
name: unpack_data
arguments: data_label: D228
datatype: string
name: unpack_data
arguments: data_label: D351
datatype: string

tool: D164: w

tool: D131: {


tool: D331:   "TotalDinucleotides":%i,


tool: D7:   "TotalQuality20":%i,


tool: D386:   "TotalHomozygous":%i,


tool: D244:   "TotalHomozygousQuality20":%i,


tool: D135:   "TotalAlternativeCX":%i,


tool: D1:   "TotalAlternativeCXQuality20":%i,


tool: D245:   "TotalMethylated":%i,


tool: D126:   "TotalMethylatedQuality20":%i,


tool: D11:   "TotalIntermediateMethylated":%i,


tool: D93:   "TotalIntermediateMethylatedQuality20":%i,


tool: D381:   "TotalUnMethylated":%i,


tool: D17:   "TotalUnmethylatedQuality20":%i,


tool: D157:   "TotalHomozygousMethylated":%i,


tool: D238:   "TotalHomozygousMethylatedQuality20":%i,


tool: D214:   "TotalAlternativeCXMethylated":%i,


tool: D185:   "TotalAlternativeCXMethylatedQuality20":%i,


tool: D77:   "TotalHomozygousIntermediateMethylated":%i,


tool: D154:   "TotalHomozygousIntermediateMethylatedQuality20":%i,


tool: D356:   "TotalAlternativeCXIntermediateMethylated":%i,


tool: D8:   "TotalAlternativeCXIntermediateMethylatedQuality20":%i,


tool: D423:   "TotalHomozygousUnMethylated":%i,


tool: D270:   "TotalHomozygousUnMethylatedQuality20":%i,


tool: D128:   "TotalAlternativeCXUnMethylated":%i,


tool: D261:   "TotalAlternativeCXUnMethylatedQuality20":%i,


tool: D125:   "TotalNonReferenceCpGs":%i,


tool: D39:   "TotalNonReferenceCpGsQuality20":%i,


tool: D235:   "TotalNonReferenceCpGsMethylated":%i,


tool: D100:   "TotalNonReferenceCpGsMethylatedQuality20":%i,


tool: D293:   "TotalNonReferenceCpGsIntermediateMethylated":%i,


tool: D320:   "TotalNonReferenceCpGsIntermediateMethylatedQuality20":%i,


tool: D246:   "TotalNonReferenceCpGsUnMethylated":%i,


tool: D312:   "TotalNonReferenceCpGsUnMethylatedQuality20":%i,


tool: D237:   "TotalSnpsReferenceCpGsCalled":%i,


tool: D173:   "TotalSnpsReferenceCpGsCalledQuality20":%i,


tool: D41:   "TotalSnpsReferenceCpGsCalledMethylated":%i,


tool: D277:   "TotalSnpsReferenceCpGsCalledMethylatedQuality20":%i,


tool: D217:   "TotalSnpsReferenceCpGsCalledIntermediateMethylated":%i,


tool: D79:   "TotalSnpsReferenceCpGsCalledIntermediateMethylatedQuality20":%i,


tool: D404:   "TotalSnpsReferenceCpGsCalledUnMethylated":%i,


tool: D228:   "TotalSnpsReferenceCpGsCalledUnMethylatedQuality20":%i


tool: D351: }


assistant: ```c
void saveCounts(char *fileName) {
  FILE *fp;
  fp = fopen(fileName, "w");
  fprintf(fp, "{\n");
  fprintf(fp, "  \"TotalDinucleotides\":%i,\n", getTotalDinucleotides());
  fprintf(fp, "  \"TotalQuality20\":%i,\n", getTotalQuality20());
  fprintf(fp, "  \"TotalHomozygous\":%i,\n", getTotalHomozygous());
  fprintf(fp, "  \"TotalHomozygousQuality20\":%i,\n", getTotalHomozygousQuality20());
  fprintf(fp, "  \"TotalAlternativeCX\":%i,\n", getTotalAlternativeCX());
  fprintf(fp, "  \"TotalAlternativeCXQuality20\":%i,\n", getTotalAlternativeCXQuality20());
  fprintf(fp, "  \"TotalMethylated\":%i,\n", getTotalMethylated());
  fprintf(fp, "  \"TotalMethylatedQuality20\":%i,\n", getTotalMethylatedQuality20());
  fprintf(fp, "  \"TotalIntermediateMethylated\":%i,\n", getTotalIntermediateMethylated());
  fprintf(fp, "  \"TotalIntermediateMethylatedQuality20\":%i,\n", getTotalIntermediateMethylatedQuality20());
  fprintf(fp, "  \"TotalUnMethylated\":%i,\n", getTotalUnMethylated());
  fprintf(fp, "  \"TotalUnmethylatedQuality20\":%i,\n", getTotalUnMethylatedQuality20());
  fprintf(fp, "  \"TotalHomozygousMethylated\":%i,\n", getTotalMethylatedHomozygous());
  fprintf(fp, "  \"TotalHomozygousMethylatedQuality20\":%i,\n", getTotalMethylatedHomozygousQuality20());
  fprintf(fp, "  \"TotalAlternativeCXMethylated\":%i,\n", getTotalMethylatedAlternativeCX());
  fprintf(fp, "  \"TotalAlternativeCXMethylatedQuality20\":%i,\n", getTotalMethylatedAlternativeCXQuality20());
  fprintf(fp, "  \"TotalHomozygousIntermediateMethylated\":%i,\n", getTotalIntermediateMethylatedHomozygous());
  fprintf(fp, "  \"TotalHomozygousIntermediateMethylatedQuality20\":%i,\n", getTotalIntermediateMethylatedHomozygousQuality20());
  fprintf(fp, "  \"TotalAlternativeCXIntermediateMethylated\":%i,\n", getTotalIntermediateMethylatedAlternativeCX());
  fprintf(fp, "  \"TotalAlternativeCXIntermediateMethylatedQuality20\":%i,\n", getTotalIntermediateMethylatedAlternativeCXQuality20());
  fprintf(fp, "  \"TotalHomozygousUnMethylated\":%i,\n", getTotalUnMethylatedHomozygous());
  fprintf(fp, "  \"TotalHomozygousUnMethylatedQuality20\":%i,\n", getTotalUnMethylatedHomozygousQuality20());
  fprintf(fp, "  \"TotalAlternativeCXUnMethylated\":%i,\n", getTotalUnMethylatedAlternativeCX());
  fprintf(fp, "  \"TotalAlternativeCXUnMethylatedQuality20\":%i,\n", getTotalUnMethylatedAlternativeCXQuality20());
  fprintf(fp, "  \"TotalNonReferenceCpGs\":%i,\n", getTotalNonReferenceCpgs());
  fprintf(fp, "  \"TotalNonReferenceCpGsQuality20\":%i,\n", getTotalNonReferenceCpgsQuality20());
  fprintf(fp, "  \"TotalNonReferenceCpGsMethylated\":%i,\n", getTotalNonReferenceCpgsMethylated());
  fprintf(fp, "  \"TotalNonReferenceCpGsMethylatedQuality20\":%i,\n", getTotalNonReferenceCpgsMethylatedQuality20());
  fprintf(fp, "  \"TotalNonReferenceCpGsIntermediateMethylated\":%i,\n", getTotalNonReferenceCpgsIntermediateMethylated());
  fprintf(fp, "  \"TotalNonReferenceCpGsIntermediateMethylatedQuality20\":%i,\n", getTotalNonReferenceCpgsIntermediateMethylatedQuality20());
  fprintf(fp, "  \"TotalNonReferenceCpGsUnMethylated\":%i,\n", getTotalNonReferenceCpgsUnMethylated());
  fprintf(fp, "  \"TotalNonReferenceCpGsUnMethylatedQuality20\":%i,\n", getTotalNonReferenceCpgsUnMethylatedQuality20());
  fprintf(fp, "  \"TotalSnpsReferenceCpGsCalled\":%i,\n", getTotalSnpsReferenceCpGs());
  fprintf(fp, "  \"TotalSnpsReferenceCpGsCalledQuality20\":%i,\n", getTotalSnpsReferenceCpGsQuality20());
  fprintf(fp, "  \"TotalSnpsReferenceCpGsCalledMethylated\":%i,\n", getTotalSnpsReferenceCpGsMethylated());
  fprintf(fp, "  \"TotalSnpsReferenceCpGsCalledMethylatedQuality20\":%i,\n", getTotalSnpsReferenceCpGsMethylatedQuality20());
  fprintf(fp, "  \"TotalSnpsReferenceCpGsCalledIntermediateMethylated\":%i,\n", getTotalSnpsReferenceCpGsIntermediateMethylated());
  fprintf(fp, "  \"TotalSnpsReferenceCpGsCalledIntermediateMethylatedQuality20\":%i,\n", getTotalSnpsReferenceCpGsIntermediateMethylatedQuality20());
  fprintf(fp, "  \"TotalSnpsReferenceCpGsCalledUnMethylated\":%i,\n", getTotalSnpsReferenceCpGsUnMethylated());
  fprintf(fp, "  \"TotalSnpsReferenceCpGsCalledUnMethylatedQuality20\":%i\n", getTotalSnpsReferenceCpGsUnMethylatedQuality20());
  fprintf(fp, "}\n");
  fclose(fp);
}
```