hammerlab / prohlatype

Probabilistic HLA typing
Apache License 2.0
35 stars 4 forks source link

Use a tail recursive insert function #115

Closed rleonid closed 6 years ago

rleonid commented 6 years ago

because it seems like sometimes we blow the stack.

When we perform a split pass (splitting the read to contain the per-allele blow-up and then merge afterwards). We end up having a lot more "jitter" in the final values (each intermediate split, per read, can introduce another point where the rounding matters). Consequently, we end up having many more unique (log) likelihood values.