File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ def convert(
90
90
chunks = (chunk_width ,),
91
91
)
92
92
a .attrs ["_ARRAY_DIMENSIONS" ] = ["samples" ]
93
+ logger .debug (f"Encoded samples" )
93
94
94
95
# TODO encode these in slices - but read them in one go to avoid
95
96
# fetching repeatedly from bim file
@@ -101,6 +102,7 @@ def convert(
101
102
chunks = (chunk_length ,),
102
103
)
103
104
a .attrs ["_ARRAY_DIMENSIONS" ] = ["variants" ]
105
+ logger .debug (f"encoded variant_position" )
104
106
105
107
alleles = np .stack ([bed .allele_1 , bed .allele_2 ], axis = 1 )
106
108
a = root .array (
@@ -111,6 +113,7 @@ def convert(
111
113
chunks = (chunk_length ,),
112
114
)
113
115
a .attrs ["_ARRAY_DIMENSIONS" ] = ["variants" , "alleles" ]
116
+ logger .debug (f"encoded variant_allele" )
114
117
115
118
# TODO remove this?
116
119
a = root .empty (
You can’t perform that action at this time.
0 commit comments