loqusdb 2.7.8__py3-none-any.whl → 2.7.9__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- loqusdb/__init__.py +1 -1
- loqusdb/build_models/case.py +3 -10
- {loqusdb-2.7.8.dist-info → loqusdb-2.7.9.dist-info}/METADATA +1 -1
- {loqusdb-2.7.8.dist-info → loqusdb-2.7.9.dist-info}/RECORD +7 -7
- {loqusdb-2.7.8.dist-info → loqusdb-2.7.9.dist-info}/LICENSE +0 -0
- {loqusdb-2.7.8.dist-info → loqusdb-2.7.9.dist-info}/WHEEL +0 -0
- {loqusdb-2.7.8.dist-info → loqusdb-2.7.9.dist-info}/entry_points.txt +0 -0
loqusdb/__init__.py
CHANGED
loqusdb/build_models/case.py
CHANGED
@@ -6,15 +6,8 @@ from loqusdb.models import Case, Individual
|
|
6
6
|
LOG = logging.getLogger(__name__)
|
7
7
|
|
8
8
|
|
9
|
-
def get_individual_positions(individuals):
|
10
|
-
"""Return a dictionary with individual positions
|
11
|
-
|
12
|
-
Args:
|
13
|
-
individuals(list): A list with vcf individuals in correct order
|
14
|
-
|
15
|
-
Returns:
|
16
|
-
ind_pos(dict): Map from ind_id -> index position
|
17
|
-
"""
|
9
|
+
def get_individual_positions(individuals: list[str]) -> dict[str, int]:
|
10
|
+
"""Return a dictionary with individual positions."""
|
18
11
|
ind_pos = {}
|
19
12
|
if individuals:
|
20
13
|
for i, ind in enumerate(individuals):
|
@@ -35,7 +28,7 @@ def build_case(
|
|
35
28
|
matches=None,
|
36
29
|
profile_path=None,
|
37
30
|
):
|
38
|
-
"""Build a Case from the given information
|
31
|
+
"""Build a Case from the given information.
|
39
32
|
|
40
33
|
Args:
|
41
34
|
case(ped_parser.Family): A family object
|
@@ -1,8 +1,8 @@
|
|
1
1
|
README.md,sha256=0-XD0EEYvCnenT07wkO0ZX6lJbzN8OC1cV3M9G47nps,4648
|
2
|
-
loqusdb/__init__.py,sha256=
|
2
|
+
loqusdb/__init__.py,sha256=bPrTjntIZhomIrT7e5Ccqec_JGJu12lqU47CIxDKBuY,1687
|
3
3
|
loqusdb/__main__.py,sha256=8FGKySAGaWSzAYMj6HRsxeyiME3V01Idt7HrmN7pSYY,397
|
4
4
|
loqusdb/build_models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
|
-
loqusdb/build_models/case.py,sha256=
|
5
|
+
loqusdb/build_models/case.py,sha256=AByutEYK2N3kS9JFvyZfPKNZdCpZHCSD0nNHAgaU1Cs,4127
|
6
6
|
loqusdb/build_models/profile_variant.py,sha256=TbSxfVjESstS_FgbkOW4NQwMQVeTyhn9oc9yPZmDhzI,1021
|
7
7
|
loqusdb/build_models/variant.py,sha256=LviEaovB_s_-jaLM64x0NzqzilFr__NPgv4Vf49Rhbk,6939
|
8
8
|
loqusdb/commands/__init__.py,sha256=BXAN3UADgqPrkGczzjlLO9GyyQ96dnLnP7n92JlYHgo,603
|
@@ -90,8 +90,8 @@ tests/vcf_tools/test_check_vcf.py,sha256=bTZQOSbhXthRDwTmcfvf4sW-DMUdlpM7bBSDsmX
|
|
90
90
|
tests/vcf_tools/test_format_sv_variant.py,sha256=eeQ6XI6X2lNpsVaWecu5lfdRHrDh1XZvcz9UhL7j3qo,4375
|
91
91
|
tests/vcf_tools/test_format_variant.py,sha256=CfgCnrS5OvuIcUOCTUGCiDRUelk3fZgT7YQAytNPvvM,4176
|
92
92
|
tests/vcf_tools/test_vcf.py,sha256=Fc9tO1IgKFo_DCfj_GrsXGx9t_69xkWhn1ZCL7IXqLU,1563
|
93
|
-
loqusdb-2.7.
|
94
|
-
loqusdb-2.7.
|
95
|
-
loqusdb-2.7.
|
96
|
-
loqusdb-2.7.
|
97
|
-
loqusdb-2.7.
|
93
|
+
loqusdb-2.7.9.dist-info/LICENSE,sha256=urpFcJXw3elN9kV2fFutc-lXegjuu2lqP_GSy8_CAbs,1054
|
94
|
+
loqusdb-2.7.9.dist-info/METADATA,sha256=MgxOiQRfJGXtgPKUeJuYLBKRJP6KMY0T9nMpZ4oM6a4,5269
|
95
|
+
loqusdb-2.7.9.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
96
|
+
loqusdb-2.7.9.dist-info/entry_points.txt,sha256=wFoWzEFjsSgXkj9FMQA8C9ihZoJ9R1XvbGuX9hEEI6E,52
|
97
|
+
loqusdb-2.7.9.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|