zhou-lab / biscuit

BISulfite-seq CUI Toolkit
Other
63 stars 24 forks source link

[Issue] wrong tsv output produced by pileup.c #46

Open vpbrendel opened 2 years ago

vpbrendel commented 2 years ago

Copy/paste errors in the code which leads to wrong output in the tsv file; the corrected code is shown first, versus the current code in your repository.

pileup.c SHOULD BE c CURRENT 126c126 < fprintf(out, "\t%"PRId64"\t%1.3f%%", k_hch, b_hch / (double) k_hch * 100);

  fprintf(out, "\t%"PRId64"\t%1.3f%%", k_hchh, b_hch  / (double) k_hch  * 100);

150c150 < fprintf(out, "\t%"PRId64"\t%1.3f%%", k_ch, b_ch / (double) k_ch * 100);

  fprintf(out, "\t%"PRId64"\t%1.3f%%", k_chh, b_ch  / (double) k_ch  * 100);