Closed mlin closed 4 years ago
Obscure corner case where GLnexus generates nondeterministic results:
https://github.com/dnanexus-rnd/GLnexus/blob/237e9bcbcd685445ab0aa65ecbc6c29cefe1b26e/src/genotyper.cc#L441-L448
https://github.com/dnanexus-rnd/GLnexus/blob/237e9bcbcd685445ab0aa65ecbc6c29cefe1b26e/src/genotyper.cc#L471
This sorts the "usable half-calls" by decreasing QUAL value, but it's possible that multiple such records share the same QUAL value. Then the order we get depends on the arbitrary/uncontrollable memory address pointers.
Obscure corner case where GLnexus generates nondeterministic results:
https://github.com/dnanexus-rnd/GLnexus/blob/237e9bcbcd685445ab0aa65ecbc6c29cefe1b26e/src/genotyper.cc#L441-L448
https://github.com/dnanexus-rnd/GLnexus/blob/237e9bcbcd685445ab0aa65ecbc6c29cefe1b26e/src/genotyper.cc#L471
This sorts the "usable half-calls" by decreasing QUAL value, but it's possible that multiple such records share the same QUAL value. Then the order we get depends on the arbitrary/uncontrollable memory address pointers.