Skip to content

Commit d73ed56

Browse files
committed
Add test for #2520
1 parent 9e01511 commit d73ed56

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

NEWS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ Changes affecting specific commands:
2020
- Make --gvcf2vcf work around malformed gVCF records where INFO/END overlaps
2121
the next record
2222

23+
* bcftools merge
24+
25+
- Fixes in memory access with localized alleles, it could result in printing
26+
printing trailing garbage in localized FORMAT fields (#2520)
27+
2328
* bcftools mpileup
2429

2530
- Remove unused experimental INFO/MIN_PL_SUM annotation

test/merge.LPL.3.out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
1 30000 . C T . . . GT:PL:GL:AD:DF:DD 0/1:20,0,20:20,0,20:1,2:0.1,0.2:1 0/1:20,0,20:20,0,20:1,2:0.1,0.2:1 0/1:20,0,20:20,0,20:1,2:0.1,0.2:1
1919
1 30001 . C CA,CC,CG . . . GT:LPL:LGL:LAD:LDF:LDD:LAA 0/1:10,0,10:10,0,10:1,2:0.1,0.2:1:1 0/2:10,0,10:10,0,10:1,2:0.1,0.2:1:2 0/3:10,0,10:10,0,10:1,2:0.1,0.2:1:3
2020
1 30002 . C CA,CAA,CC,CCC,CG,CGG . . . GT:LPL:LGL:LAD:LDF:LDD:LAA 1/2:20,20,20,10,0,10:20,20,20,10,0,10:0,1,2:0,0.1,0.2:1,2:1,2 3/4:20,20,20,10,0,10:20,20,20,10,0,10:0,1,2:0,0.1,0.2:1,2:3,4 5/6:20,20,20,10,0,10:20,20,20,10,0,10:0,1,2:0,0.1,0.2:1,2:5,6
21-
1 30003 . C CA,CAA,CAAA . . . GT:LPL:LGL:LAD:LDF:LDD:LAA 1/2:20,20,20,10,0,10:20,20,20,10,0,10:0,1,2:0,0.1,0.2:1,2:1,2 ./.:.:.:.:.:.:.,. ./.:.:.:.:.:.:.
22-
1 30004 . C CC,CCC,CCCC . . . GT:LPL:LGL:LAD:LDF:LDD:LAA ./.:.:.:.:.:.:. 1/2:20,20,20,10,0,10:20,20,20,10,0,10:0,1,2:0,0.1,0.2:1,2:1,2 ./.:.:.:.:.:.:.,2
23-
1 30005 . C CG,CGG,CGGG . . . GT:LPL:LGL:LAD:LDF:LDD:LAA ./.:.:.:.:.:.:. ./.:.:.:.:.:.:.,. 1/2:20,20,20,10,0,10:20,20,20,10,0,10:0,1,2:0,0.1,0.2:1,2:1,2
21+
1 30003 . C CA,CAA,CAAA . . . GT:LPL:LGL:LAD:LDF:LDD:LAA 1/2:20,20,20,10,0,10:20,20,20,10,0,10:0,1,2:0,0.1,0.2:1,2:1,2 ./.:.:.:.:.:.:. ./.:.:.:.:.:.:.
22+
1 30004 . C CC,CCC,CCCC . . . GT:LPL:LGL:LAD:LDF:LDD:LAA ./.:.:.:.:.:.:. 1/2:20,20,20,10,0,10:20,20,20,10,0,10:0,1,2:0,0.1,0.2:1,2:1,2 ./.:.:.:.:.:.:.
23+
1 30005 . C CG,CGG,CGGG . . . GT:LPL:LGL:LAD:LDF:LDD:LAA ./.:.:.:.:.:.:. ./.:.:.:.:.:.:. 1/2:20,20,20,10,0,10:20,20,20,10,0,10:0,1,2:0,0.1,0.2:1,2:1,2

0 commit comments

Comments
 (0)