From 877abbc8cb1d3ff5ff3428f6da2237b4f3b89f9d Mon Sep 17 00:00:00 2001 From: Julia Klugherz Date: Mon, 28 Oct 2024 17:23:02 -0400 Subject: [PATCH] another pass --- hail_search/definitions.py | 11 +-- .../families/WGS/F000002_2.ht/.README.txt.crc | Bin 12 -> 12 bytes .../WGS/F000002_2.ht/.metadata.json.gz.crc | Bin 12 -> 12 bytes .../families/WGS/F000002_2.ht/README.txt | 4 +- .../.index.crc | Bin .../.metadata.json.gz.crc | Bin .../index | Bin .../metadata.json.gz | Bin .../WGS/F000002_2.ht/metadata.json.gz | Bin 352 -> 352 bytes .../F000002_2.ht/rows/.metadata.json.gz.crc | Bin 16 -> 16 bytes .../WGS/F000002_2.ht/rows/metadata.json.gz | Bin 627 -> 630 bytes ...0-57b69294-ffdb-4b39-842a-adf898b62d31.crc | Bin 0 -> 12 bytes ...0-5efaaf66-a01a-4640-a3e4-aef656269368.crc | Bin 12 -> 0 bytes ...art-0-57b69294-ffdb-4b39-842a-adf898b62d31 | Bin 0 -> 206 bytes ...art-0-5efaaf66-a01a-4640-a3e4-aef656269368 | Bin 206 -> 0 bytes hail_search/queries/base.py | 52 +++++++----- hail_search/queries/mito.py | 80 ++++++++---------- hail_search/test_utils.py | 2 +- 18 files changed, 70 insertions(+), 79 deletions(-) rename hail_search/fixtures/GRCh38/SNV_INDEL/families/WGS/F000002_2.ht/index/{part-0-5efaaf66-a01a-4640-a3e4-aef656269368.idx => part-0-57b69294-ffdb-4b39-842a-adf898b62d31.idx}/.index.crc (100%) rename hail_search/fixtures/GRCh38/SNV_INDEL/families/WGS/F000002_2.ht/index/{part-0-5efaaf66-a01a-4640-a3e4-aef656269368.idx => part-0-57b69294-ffdb-4b39-842a-adf898b62d31.idx}/.metadata.json.gz.crc (100%) rename hail_search/fixtures/GRCh38/SNV_INDEL/families/WGS/F000002_2.ht/index/{part-0-5efaaf66-a01a-4640-a3e4-aef656269368.idx => part-0-57b69294-ffdb-4b39-842a-adf898b62d31.idx}/index (100%) rename hail_search/fixtures/GRCh38/SNV_INDEL/families/WGS/F000002_2.ht/index/{part-0-5efaaf66-a01a-4640-a3e4-aef656269368.idx => part-0-57b69294-ffdb-4b39-842a-adf898b62d31.idx}/metadata.json.gz (100%) create mode 100644 hail_search/fixtures/GRCh38/SNV_INDEL/families/WGS/F000002_2.ht/rows/parts/.part-0-57b69294-ffdb-4b39-842a-adf898b62d31.crc delete mode 100644 hail_search/fixtures/GRCh38/SNV_INDEL/families/WGS/F000002_2.ht/rows/parts/.part-0-5efaaf66-a01a-4640-a3e4-aef656269368.crc create mode 100644 hail_search/fixtures/GRCh38/SNV_INDEL/families/WGS/F000002_2.ht/rows/parts/part-0-57b69294-ffdb-4b39-842a-adf898b62d31 delete mode 100644 hail_search/fixtures/GRCh38/SNV_INDEL/families/WGS/F000002_2.ht/rows/parts/part-0-5efaaf66-a01a-4640-a3e4-aef656269368 diff --git a/hail_search/definitions.py b/hail_search/definitions.py index cfa3ee9cfa..7cc97d1a12 100644 --- a/hail_search/definitions.py +++ b/hail_search/definitions.py @@ -15,15 +15,8 @@ def family_entries_field(self) -> str: @property def failed_family_sample_field(self) -> str: return { - SampleType.WES: 'wes_failed_family_sample_indices', - SampleType.WGS: 'wgs_failed_family_sample_indices', - }[self] - - @property - def passes_inheritance_field(self) -> str: - return { - SampleType.WES: 'wes_passes_inheritance', - SampleType.WGS: 'wgs_passes_inheritance', + SampleType.WES: 'wes_failed_family_sample_guids', + SampleType.WGS: 'wgs_failed_family_sample_guids', }[self] @property diff --git a/hail_search/fixtures/GRCh38/SNV_INDEL/families/WGS/F000002_2.ht/.README.txt.crc b/hail_search/fixtures/GRCh38/SNV_INDEL/families/WGS/F000002_2.ht/.README.txt.crc index f7799b94778f02019a04657be1cc91ebeb101949..b774b2827b5f9698c8ceb8bcb104c1f48138e580 100644 GIT binary patch literal 12 TcmYc;N@ieSU}8v`{4o{)695B# literal 12 TcmYc;N@ieSU}6yY%H|FL5ds2{ diff --git a/hail_search/fixtures/GRCh38/SNV_INDEL/families/WGS/F000002_2.ht/.metadata.json.gz.crc b/hail_search/fixtures/GRCh38/SNV_INDEL/families/WGS/F000002_2.ht/.metadata.json.gz.crc index fee8fcb4687e14806f37b6d919092dba23677b46..5f2f901b97131b2aeb5048cac56077d681ae57cb 100644 GIT binary patch literal 12 TcmYc;N@ieSU}6YqUfaC{^&6Ole)K!)rG!l7c+0+Y$ZGizTcgr<*rR$q)5JmS3}|LslBn zW~k>$cD%<_9ZLV-*TC4MxpBF}Pne{tXwT3J7F{W7Dz~zZUk~EiW0VHu;mU9h+n#GG j%dN|0>O}blC1ix*?7(}pwf)V{(6str>M&i?g#rKoUI(f! delta 337 zcmV-X0j~bw0^kCW7=KQjAH8#!nPt0hy6nafQp!=uDs9>_LrDMo4hTBE+6^i1dCt@J zKt;Bhg!l)H%~VdE_Kc=ZAVCtFL+3A!`ky z8R~hG9q%z!$4dYAH83`5Zd~T@6UIUn?HO9ZvMYs6p*BIObe$bK_B^WN;Ub`M0*XCOYg6AWH}O@H3Zwh&sxAj>D%6aSIK zNw`b#oyIZ5kdg(4!h}Jn6N!H)E6n#>V52I4S)d_|d>IEcg_)AOP#yAeehUf{q4-*3 zTu`|;wn@qrPXr=&LfKYk9D5@$l#=cr%hZJt@mPUO{gVI)B{@`qX1~b~zbI@B1AlxQ zCsa9o@(_}i@*zV_wV9^W{xmefaW}qspq_&g}2UfoZux9WqF`;W2BZ1W5Y{8MKmC8l3UJnBWWswsX4dSE^XP z^ul#04Cr%rWu|{9f@`;RG~AU~ZaxX|163Quudcr4=^BlJM!Cga<-6vdM_i_A$=OR` zDx5FcyJe_47bE^VdNwnXC`v(9OsEivqQ}*Z9@%;S)lwQlT6WR`E;Vb#>V#8=%?B|c zewc#B-_bX3GgRJBf;exX+_6ji{$bhK>{BBa$h(`aXd@v^Bs)*)LLXKWXnF5cc~^H= z_2o`IC*?mvKB9SXXm31`@)^|AX;;aJF21Ew-Ew`<A8RonU(Xfuss6Xko=I0v`$wW7lvaO{7zLnE2*( z-}bWlqJjN~Bg_~Q+;Refy|RvH4ouT=opz}?=1lTRT!itCp}BKvs2wV7tea>g(`u+v QQuoTTe|WRzO(zKe0M|P#UH||9 literal 627 zcmV-(0*w71iwFP!000000NqwiZ{jcz{VzW4YLk`_upl==DMG4NT|j%-3L!U{fVZiG z9J4Bm^4~kocLJ44rC!PbC2z(v?~Pw%ABkYkKpZj?KD>ZG|9!LAf!8GlSwF#nI1eO@ zynT%CEDRxpn5;15MLu{skvPYq!t$^Ke_RGI3p9k09}}0wuuyXEsbgBsX+T~i6yIo! z3nmZ7E{eJ0kw9c7l-*5?yf*?PDcRwnNL?8L4;9GRISGJJl0zA&_nZE5vcks5btboA z#1!orH}?fPUFJ{8D$zRr3qDk2j5GASu;%JVpEY@fGV+qSDBeJDhbv2 zlyt^eKPU6J4+4;_+22iEt2=P3kU_jH5B*w-i?pARK_lr=gA4v26KKD0)6->tV&$hx zFIqtk^GOKrnc5M_+%k@EzXTN?iJ7ymO#sW%B*0Gq`qrHyF zZ0MN`0@|ltI<)B^y%+qQGqC|T+6!N=KayBs1uZPQMc_l`VeIN{rG<0~4-?1g^z30$ zT{N)&Xp9*nf?G~N`0uPUwEC7s2eesgi8<4>5*J>$_tD%bHPj9zHqlKql4vzdDXDuU N$tx--88asd000g{B9{OF diff --git a/hail_search/fixtures/GRCh38/SNV_INDEL/families/WGS/F000002_2.ht/rows/parts/.part-0-57b69294-ffdb-4b39-842a-adf898b62d31.crc b/hail_search/fixtures/GRCh38/SNV_INDEL/families/WGS/F000002_2.ht/rows/parts/.part-0-57b69294-ffdb-4b39-842a-adf898b62d31.crc new file mode 100644 index 0000000000000000000000000000000000000000..7b6b76d406cc2627893358ce61707360c0866abe GIT binary patch literal 12 TcmYc;N@ieSU}AVF>}&!65*Grl literal 0 HcmV?d00001 diff --git a/hail_search/fixtures/GRCh38/SNV_INDEL/families/WGS/F000002_2.ht/rows/parts/.part-0-5efaaf66-a01a-4640-a3e4-aef656269368.crc b/hail_search/fixtures/GRCh38/SNV_INDEL/families/WGS/F000002_2.ht/rows/parts/.part-0-5efaaf66-a01a-4640-a3e4-aef656269368.crc deleted file mode 100644 index d4dcde073f96bc3f5e9908e425b67b6ab38d26da..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12 TcmYc;N@ieSU}E^a_mM3C6{G|b diff --git a/hail_search/fixtures/GRCh38/SNV_INDEL/families/WGS/F000002_2.ht/rows/parts/part-0-57b69294-ffdb-4b39-842a-adf898b62d31 b/hail_search/fixtures/GRCh38/SNV_INDEL/families/WGS/F000002_2.ht/rows/parts/part-0-57b69294-ffdb-4b39-842a-adf898b62d31 new file mode 100644 index 0000000000000000000000000000000000000000..57088cd43339b536d15c8ceb6a6793a3753cf5ca GIT binary patch literal 206 zcmdnVz`*bWh&8tA|5f;r%F0l}!N|apoKa+WJdlaW(V5Yafti6pgu#Y|A(=sf=Yc(! z$l+tVg_sya7~M4#pV%vWuvcmPctM+q(LGsz;og>SLbvRtc^HywukkKBk$%@+mF0uI z22b1ei`tCRVS&LxAw`LK$r-7^egT%2dX}ao`Gy7tdIko}x-1M5EDTmPQi(g43m&tV z^CxC4V^N}rFMyuz