File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
v03_pipeline/lib/annotations Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 15
15
16
16
17
17
def common_low_heteroplasmy (ht : hl .Table , ** _ : Any ) -> hl .Expression :
18
- return ht .common_low_heteroplasmy
18
+ return hl . bool ( ht .common_low_heteroplasmy )
19
19
20
20
21
21
def contamination (mt : hl .MatrixTable , ** _ : Any ) -> hl .Expression :
22
- return mt .contamination
22
+ return hl . parse_float64 ( mt .contamination )
23
23
24
24
25
25
def DP (mt : hl .MatrixTable , ** _ : Any ) -> hl .Expression : # noqa: N802
@@ -29,7 +29,7 @@ def DP(mt: hl.MatrixTable, **_: Any) -> hl.Expression: # noqa: N802
29
29
30
30
def GQ (mt : hl .MatrixTable , ** _ : Any ) -> hl .Expression : # noqa: N802
31
31
is_called = hl .is_defined (mt .GT )
32
- return hl .if_else (is_called , mt .MQ , 0 )
32
+ return hl .if_else (is_called , hl . int32 ( mt .MQ ) , 0 )
33
33
34
34
35
35
def haplogroup (ht : hl .Table , ** _ : Any ) -> hl .Expression :
You can’t perform that action at this time.
0 commit comments