about summary refs log tree commit diff
path: root/tests/test_serialization.py
diff options
context:
space:
mode:
authorArun Isaac2025-08-06 19:01:04 +0100
committerArun Isaac2025-08-06 22:46:15 +0100
commit6de3e6bf27d1abebb98d6f841af70cd617e81dd0 (patch)
tree8039a5589a279257a0fc0735df31561f9c0d4c66 /tests/test_serialization.py
parentbc046a25f1531386293a470e21b569f8411f2235 (diff)
downloadpyhegp-6de3e6bf27d1abebb98d6f841af70cd617e81dd0.tar.gz
pyhegp-6de3e6bf27d1abebb98d6f841af70cd617e81dd0.tar.lz
pyhegp-6de3e6bf27d1abebb98d6f841af70cd617e81dd0.zip
Subset to common SNPs.
* pyhegp/pyhegp.py: Import reduce from functools.
(pool_summaries, encrypt_genotype): New functions.
(pool): Use pool_summaries.
(encrypt): Use encrypt_genotype.
* tests/test_pyhegp.py: Import pandas; Summary, read_summary and
read_genotype from pyhegp.serialization.
(test_pool, test_encrypt): New tests.
* test-data/encrypt-test-encrypted-genotype.tsv,
test-data/encrypt-test-genotype.tsv, test-data/encrypt-test-key,
test-data/encrypt-test-summary, test-data/pool-test-complete-summary,
test-data/pool-test-summary1, test-data/pool-test-summary2: New files.
Diffstat (limited to 'tests/test_serialization.py')
0 files changed, 0 insertions, 0 deletions