diff options
| author | Munyoki Kilyungi | 2025-07-14 16:41:50 +0300 |
|---|---|---|
| committer | BonfaceKilz | 2025-07-16 22:50:04 +0300 |
| commit | d628fa7d594c462b11107b243b416e395d9fcd1b (patch) | |
| tree | 3516e7a4b14c768cd35c4d061f54589d96356847 /sql | |
| parent | 31aa0f5075c5f29b1f4bc9261291878c6085e79f (diff) | |
| download | genenetwork3-d628fa7d594c462b11107b243b416e395d9fcd1b.tar.gz | |
Improve genotype file parsing.
* scripts/lmdb_matrix.py (GenotypeMatrix): Delete transpose. Add
"file_info" field.
(save_excursion, count_lines): Delete.
(get_genotype_dimensions, read_genotype_headers): New function.
(read_geno_file): Rename this to...
(read_genotype_file): ... this.
(genotype_db_put): Put "file_info".
(genotype_db_get): Fetch "file_info".
(import_genotype): Use read_genotype_file.
(print_current_matrix): Remove transpose. Print out file_info
metadata.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'sql')
0 files changed, 0 insertions, 0 deletions
