- printf("%lld properly paired\n", s->n_pair_good);
- printf("%lld with both itself and its mate mapped\n", s->n_pair_map);
- printf("%lld singletons\n", s->n_sgltn);
- printf("%lld with its mate mapped to a different chr\n", s->n_diffchr);
+ printf("%lld properly paired (%.2f%%)\n", s->n_pair_good, (float)s->n_pair_good / s->n_pair_all * 100.0);
+ printf("%lld with itself and mate mapped\n", s->n_pair_map);
+ printf("%lld singletons (%.2f%%)\n", s->n_sgltn, (float)s->n_sgltn / s->n_pair_all * 100.0);
+ printf("%lld with mate mapped to a different chr\n", s->n_diffchr);
+ printf("%lld with mate mapped to a different chr (mapQ>=5)\n", s->n_diffhigh);