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/encrypt-test-encrypted-genotype.tsv | |
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/encrypt-test-encrypted-genotype.tsv')
-rw-r--r-- | test-data/encrypt-test-encrypted-genotype.tsv | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test-data/encrypt-test-encrypted-genotype.tsv b/test-data/encrypt-test-encrypted-genotype.tsv new file mode 100644 index 0000000..05c5a6c --- /dev/null +++ b/test-data/encrypt-test-encrypted-genotype.tsv @@ -0,0 +1,4 @@ +chromosome position sample1 sample2 +chr1 1 0.943532 -0.331281 +chr2 19 0.314511 -0.110427 +chrX 21 0.188706 -0.066256 \ No newline at end of file |