diff --git a/ChangeLog b/ChangeLog index 21f7d76a..19c43887 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ Version 1.0.0+ * Reintroduce zstd compression (after fixes upstream) + * Fix CIGAR interpretation (#109) occurring when I is present Version 1.0.0 2019-04-24 by luispedro * Fix multiple features usage (#63) diff --git a/NGLess/Data/Sam.hs b/NGLess/Data/Sam.hs index 121553ac..077acd0e 100644 --- a/NGLess/Data/Sam.hs +++ b/NGLess/Data/Sam.hs @@ -203,6 +203,7 @@ matchSize' includeSoft cigar 'M' -> n '=' -> n 'X' -> n + 'I' -> n 'S' | includeSoft -> n _ -> 0 diff --git a/Tests-Src/Tests/Select.hs b/Tests-Src/Tests/Select.hs index fb2c8100..f6bc6d57 100644 --- a/Tests-Src/Tests/Select.hs +++ b/Tests-Src/Tests/Select.hs @@ -39,6 +39,9 @@ simulated:1:1:38:663#0 0 Ref1 1018 3 69M16S = 1018 0 TTCGAGAAGATGGGTATCGTGGGAAAT complex = [here| SRR070372.3 16 V 7198336 21 26M3D9M3D6M6D8M2D21M * 0 0 CCCTTATGCAGGTCTTAACACAATTCTTGTATGTTCCATCGTTCTCCAGAATGAATATCAATGATACCAA 014<