-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[query] Set QUAL to missing when it's "." (#14697)
When we switched from using htsjdk to do most of our VCF parsing to using our own parser, we kept the behavior of setting missing QUAL to a sentinel value. This isn't necessary (or correct) for hail to do. The type of QUAL is optional float64 and we should preserve the missing value. Technically speaking this represents a backwards compatibility change. However, I think this is a bug in my attempt in the past to keep bug-for-bug compatibility with htsjdk rather than parsing the value into what people would expect.
- Loading branch information
1 parent
9b8e322
commit 13a9aee
Showing
52 changed files
with
36 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
This folder comprises a Hail (www.hail.is) native Table or MatrixTable. | ||
Written with version 0.2.12-4a66ad88153e | ||
Created at 2019/04/11 16:23:26 | ||
Written with version 0.2.132-8889c53db85c | ||
Created at 2024/09/20 14:36:43 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
This folder comprises a Hail (www.hail.is) native Table or MatrixTable. | ||
Written with version 0.2.132-8889c53db85c | ||
Created at 2024/09/20 14:36:43 |
Binary file not shown.
Binary file modified
BIN
+18 Bytes
(110%)
hail/src/test/resources/ex.vcf.mt/cols/rows/metadata.json.gz
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
This folder comprises a Hail (www.hail.is) native Table or MatrixTable. | ||
Written with version 0.2.132-8889c53db85c | ||
Created at 2024/09/20 14:36:44 |
Binary file modified
BIN
+31 Bytes
(110%)
hail/src/test/resources/ex.vcf.mt/entries/metadata.json.gz
Binary file not shown.
Binary file modified
BIN
+292 Bytes
(190%)
hail/src/test/resources/ex.vcf.mt/entries/rows/metadata.json.gz
Binary file not shown.
Binary file removed
BIN
-148 Bytes
.../resources/ex.vcf.mt/entries/rows/parts/part-0-5-0-0-f674fb97-ae67-a4d4-5278-eaff0f6f8031
Binary file not shown.
Binary file added
BIN
+137 Bytes
...c/test/resources/ex.vcf.mt/entries/rows/parts/part-0-ed5e014f-8074-4d32-9705-63b024fc1162
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
This folder comprises a Hail (www.hail.is) native Table or MatrixTable. | ||
Written with version 0.2.132-8889c53db85c | ||
Created at 2024/09/20 14:36:43 |
Binary file modified
BIN
+11 Bytes
(100%)
hail/src/test/resources/ex.vcf.mt/globals/globals/metadata.json.gz
Binary file not shown.
Binary file modified
BIN
+25 Bytes
(330%)
hail/src/test/resources/ex.vcf.mt/globals/globals/parts/part-0
Binary file not shown.
Binary file modified
BIN
+35 Bytes
(120%)
hail/src/test/resources/ex.vcf.mt/globals/metadata.json.gz
Binary file not shown.
Binary file modified
BIN
+11 Bytes
(100%)
hail/src/test/resources/ex.vcf.mt/globals/rows/metadata.json.gz
Binary file not shown.
Binary file modified
BIN
+25 Bytes
(330%)
hail/src/test/resources/ex.vcf.mt/globals/rows/parts/part-0
Binary file not shown.
Binary file added
BIN
+170 Bytes
.../src/test/resources/ex.vcf.mt/index/part-0-ed5e014f-8074-4d32-9705-63b024fc1162.idx/index
Binary file not shown.
Binary file added
BIN
+200 Bytes
...esources/ex.vcf.mt/index/part-0-ed5e014f-8074-4d32-9705-63b024fc1162.idx/metadata.json.gz
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
This folder comprises a Hail (www.hail.is) native Table or MatrixTable. | ||
Written with version 0.2.132-8889c53db85c | ||
Created at 2024/09/20 14:36:44 |
Binary file not shown.
Binary file modified
BIN
+283 Bytes
(170%)
hail/src/test/resources/ex.vcf.mt/rows/rows/metadata.json.gz
Binary file not shown.
Binary file removed
BIN
-307 Bytes
...est/resources/ex.vcf.mt/rows/rows/parts/part-0-5-0-0-f674fb97-ae67-a4d4-5278-eaff0f6f8031
Binary file not shown.
Binary file added
BIN
+288 Bytes
.../src/test/resources/ex.vcf.mt/rows/rows/parts/part-0-ed5e014f-8074-4d32-9705-63b024fc1162
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
This folder comprises a Hail (www.hail.is) native Table or MatrixTable. | ||
Written with version 0.2.12-4a66ad88153e | ||
Created at 2019/04/11 13:36:42 | ||
Written with version 0.2.132-8889c53db85c | ||
Created at 2024/09/20 14:37:08 |
3 changes: 3 additions & 0 deletions
3
hail/src/test/resources/gvcfs/HG00096.g.vcf.gz.mt/cols/README.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
This folder comprises a Hail (www.hail.is) native Table or MatrixTable. | ||
Written with version 0.2.132-8889c53db85c | ||
Created at 2024/09/20 14:37:08 |
Binary file modified
BIN
+34 Bytes
(110%)
hail/src/test/resources/gvcfs/HG00096.g.vcf.gz.mt/cols/metadata.json.gz
Binary file not shown.
Binary file modified
BIN
+18 Bytes
(110%)
hail/src/test/resources/gvcfs/HG00096.g.vcf.gz.mt/cols/rows/metadata.json.gz
Binary file not shown.
Binary file modified
BIN
+25 Bytes
(230%)
hail/src/test/resources/gvcfs/HG00096.g.vcf.gz.mt/cols/rows/parts/part-0
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
hail/src/test/resources/gvcfs/HG00096.g.vcf.gz.mt/entries/README.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
This folder comprises a Hail (www.hail.is) native Table or MatrixTable. | ||
Written with version 0.2.132-8889c53db85c | ||
Created at 2024/09/20 14:37:08 |
Binary file modified
BIN
+26 Bytes
(110%)
hail/src/test/resources/gvcfs/HG00096.g.vcf.gz.mt/entries/metadata.json.gz
Binary file not shown.
Binary file modified
BIN
+269 Bytes
(170%)
hail/src/test/resources/gvcfs/HG00096.g.vcf.gz.mt/entries/rows/metadata.json.gz
Binary file not shown.
Binary file removed
BIN
-833 KB
...HG00096.g.vcf.gz.mt/entries/rows/parts/part-0-13-0-0-eb337ab9-da88-0427-70ae-3a3355377840
Binary file not shown.
Binary file added
BIN
+1.37 MB
.../gvcfs/HG00096.g.vcf.gz.mt/entries/rows/parts/part-0-cce3bb95-cfb5-49f4-b53e-0965d8a827cf
Binary file not shown.
Binary file removed
BIN
-842 KB
...HG00096.g.vcf.gz.mt/entries/rows/parts/part-1-13-1-0-c25ae343-a1a1-dba9-c4a1-fb32848b334b
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
hail/src/test/resources/gvcfs/HG00096.g.vcf.gz.mt/globals/README.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
This folder comprises a Hail (www.hail.is) native Table or MatrixTable. | ||
Written with version 0.2.132-8889c53db85c | ||
Created at 2024/09/20 14:37:08 |
Binary file modified
BIN
+11 Bytes
(100%)
hail/src/test/resources/gvcfs/HG00096.g.vcf.gz.mt/globals/globals/metadata.json.gz
Binary file not shown.
Binary file modified
BIN
+25 Bytes
(330%)
hail/src/test/resources/gvcfs/HG00096.g.vcf.gz.mt/globals/globals/parts/part-0
Binary file not shown.
Binary file modified
BIN
+35 Bytes
(120%)
hail/src/test/resources/gvcfs/HG00096.g.vcf.gz.mt/globals/metadata.json.gz
Binary file not shown.
Binary file modified
BIN
+11 Bytes
(100%)
hail/src/test/resources/gvcfs/HG00096.g.vcf.gz.mt/globals/rows/metadata.json.gz
Binary file not shown.
Binary file modified
BIN
+25 Bytes
(330%)
hail/src/test/resources/gvcfs/HG00096.g.vcf.gz.mt/globals/rows/parts/part-0
Binary file not shown.
Binary file added
BIN
+1.76 MB
...ces/gvcfs/HG00096.g.vcf.gz.mt/index/part-0-cce3bb95-cfb5-49f4-b53e-0965d8a827cf.idx/index
Binary file not shown.
Binary file added
BIN
+206 Bytes
...G00096.g.vcf.gz.mt/index/part-0-cce3bb95-cfb5-49f4-b53e-0965d8a827cf.idx/metadata.json.gz
Binary file not shown.
Binary file modified
BIN
-2 Bytes
(100%)
hail/src/test/resources/gvcfs/HG00096.g.vcf.gz.mt/metadata.json.gz
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
hail/src/test/resources/gvcfs/HG00096.g.vcf.gz.mt/rows/README.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
This folder comprises a Hail (www.hail.is) native Table or MatrixTable. | ||
Written with version 0.2.132-8889c53db85c | ||
Created at 2024/09/20 14:37:08 |
Binary file modified
BIN
+30 Bytes
(110%)
hail/src/test/resources/gvcfs/HG00096.g.vcf.gz.mt/rows/metadata.json.gz
Binary file not shown.
Binary file modified
BIN
+238 Bytes
(140%)
hail/src/test/resources/gvcfs/HG00096.g.vcf.gz.mt/rows/rows/metadata.json.gz
Binary file not shown.
Binary file removed
BIN
-1.5 MB
...fs/HG00096.g.vcf.gz.mt/rows/rows/parts/part-0-13-0-0-eb337ab9-da88-0427-70ae-3a3355377840
Binary file not shown.
Binary file added
BIN
+1.59 MB
...ces/gvcfs/HG00096.g.vcf.gz.mt/rows/rows/parts/part-0-cce3bb95-cfb5-49f4-b53e-0965d8a827cf
Binary file not shown.
Binary file removed
BIN
-1.47 MB
...fs/HG00096.g.vcf.gz.mt/rows/rows/parts/part-1-13-1-0-c25ae343-a1a1-dba9-c4a1-fb32848b334b
Binary file not shown.