genome / pindel

Pindel can detect breakpoints of large deletions, medium sized insertions, inversions, tandem duplications and other structural variants at single-based resolution from next-gen sequence data. It uses a pattern growth approach to identify the breakpoints of these variants from paired-end short reads.
GNU General Public License v3.0
162 stars 89 forks source link

A fix for unsigned value subtract problem #84

Closed sampie closed 2 months ago

sampie commented 6 years ago

A fix for a problem where subtract of two unsigned values result in a very big integer value instead of a negative value.

jmarshall commented 6 years ago

Interesting — have you run pindel on large enough chromosomes that this overflow actually occurs? This problem has also been fixed by PR #64 which I'd prefer as explicit casting is usually not the best fix.