diff options
author | Arun Isaac | 2025-08-06 19:01:04 +0100 |
---|---|---|
committer | Arun Isaac | 2025-08-06 22:46:15 +0100 |
commit | 6de3e6bf27d1abebb98d6f841af70cd617e81dd0 (patch) | |
tree | 8039a5589a279257a0fc0735df31561f9c0d4c66 /test-data/pool-test-complete-summary | |
parent | bc046a25f1531386293a470e21b569f8411f2235 (diff) | |
download | pyhegp-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 'test-data/pool-test-complete-summary')
-rw-r--r-- | test-data/pool-test-complete-summary | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test-data/pool-test-complete-summary b/test-data/pool-test-complete-summary new file mode 100644 index 0000000..3e9e9ea --- /dev/null +++ b/test-data/pool-test-complete-summary @@ -0,0 +1,6 @@ +# pyhegp summary file version 1 +# number-of-samples 15 +chromosome position mean standard-deviation +chr1 1 0 0.96362411 +chr2 19 2 2.8908723 + |