strkit 0.8.0a6__tar.gz → 0.8.0a7__tar.gz
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.
- {strkit-0.8.0a6/strkit.egg-info → strkit-0.8.0a7}/PKG-INFO +1 -1
- strkit-0.8.0a7/strkit/VERSION +1 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/call/caller/call_locus.py +1 -1
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/call/caller/snvs.py +2 -15
- {strkit-0.8.0a6 → strkit-0.8.0a7/strkit.egg-info}/PKG-INFO +1 -1
- strkit-0.8.0a6/strkit/VERSION +0 -1
- {strkit-0.8.0a6 → strkit-0.8.0a7}/LICENSE +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/MANIFEST.in +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/README.md +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/pyproject.toml +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/setup.cfg +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/setup.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/__init__.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/call/__init__.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/call/allele.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/call/caller/__init__.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/call/caller/align_matrix.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/call/caller/call_sample.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/call/caller/cigar.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/call/caller/realign.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/call/caller/repeats.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/call/caller/types.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/call/caller/utils.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/call/re_caller.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/call/repeathmm.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/call/straglr.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/call/tandem_genotypes.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/catalog/__init__.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/catalog/combine.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/constants.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/convert/__init__.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/convert/_bed_4.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/convert/converter.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/convert/expansionhunter.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/convert/gangstr.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/convert/hipstr.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/convert/straglr.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/convert/tandem_genotypes.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/entry.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/exceptions.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/json.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/logger.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/mi/__init__.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/mi/base.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/mi/expansionhunter.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/mi/gangstr.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/mi/repeathmm.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/mi/result.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/mi/straglr.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/mi/strkit.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/mi/tandem_genotypes.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/mi/vcf_utils.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/utils.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/viz/__init__.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/viz/server.py +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/viz/static/logo.png +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit/viz/templates/browser.html +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit.egg-info/SOURCES.txt +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit.egg-info/dependency_links.txt +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit.egg-info/entry_points.txt +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit.egg-info/requires.txt +0 -0
- {strkit-0.8.0a6 → strkit-0.8.0a7}/strkit.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.8.0a7
|
|
@@ -712,7 +712,7 @@ def call_locus(
|
|
|
712
712
|
|
|
713
713
|
for rn, read in read_dict_items:
|
|
714
714
|
snvs = get_read_snvs(
|
|
715
|
-
read["_qs"], read_pairs[rn], ref_cache, left_most_coord,
|
|
715
|
+
read["_qs"], read_pairs[rn], ref_cache, left_most_coord, left_coord_adj,
|
|
716
716
|
right_coord_adj)
|
|
717
717
|
locus_snvs.update(snvs.keys())
|
|
718
718
|
read_dict[rn]["snv"] = snvs
|
|
@@ -25,7 +25,6 @@ def _get_read_snvs_meticulous(
|
|
|
25
25
|
pairs: list[tuple[int, int], ...],
|
|
26
26
|
ref_seq: str,
|
|
27
27
|
ref_coord_start: int,
|
|
28
|
-
ref_coord_end: int,
|
|
29
28
|
tr_start_pos: int,
|
|
30
29
|
tr_end_pos: int,
|
|
31
30
|
contiguous_threshold: int = 5,
|
|
@@ -39,11 +38,6 @@ def _get_read_snvs_meticulous(
|
|
|
39
38
|
|
|
40
39
|
snvs: dict[int, str] = {}
|
|
41
40
|
|
|
42
|
-
fm_qp, fm_rp = pairs[0]
|
|
43
|
-
lm_qp, lm_rp = pairs[-1]
|
|
44
|
-
|
|
45
|
-
read_ref_sequence: str = ref_seq[fm_rp-ref_coord_start:lm_rp-ref_coord_end+1]
|
|
46
|
-
|
|
47
41
|
lhs_contiguous: int = 0
|
|
48
42
|
rhs_contiguous: int = 0
|
|
49
43
|
last_rp: int = -1
|
|
@@ -55,7 +49,7 @@ def _get_read_snvs_meticulous(
|
|
|
55
49
|
continue
|
|
56
50
|
|
|
57
51
|
read_base = query_sequence[read_pos]
|
|
58
|
-
ref_base =
|
|
52
|
+
ref_base = ref_seq[ref_pos - ref_coord_start]
|
|
59
53
|
|
|
60
54
|
if read_base == ref_base and (ref_pos - last_rp == 1 or last_rp == -1):
|
|
61
55
|
if snv_group:
|
|
@@ -92,7 +86,6 @@ def get_read_snvs(
|
|
|
92
86
|
pairs: list[tuple[int, int], ...],
|
|
93
87
|
ref_seq: str,
|
|
94
88
|
ref_coord_start: int,
|
|
95
|
-
ref_coord_end: int,
|
|
96
89
|
tr_start_pos: int,
|
|
97
90
|
tr_end_pos: int,
|
|
98
91
|
contiguous_threshold: int = 5,
|
|
@@ -107,15 +100,10 @@ def get_read_snvs(
|
|
|
107
100
|
|
|
108
101
|
snvs: dict[int, str] = {}
|
|
109
102
|
|
|
110
|
-
fm_qp, fm_rp = pairs[0]
|
|
111
|
-
lm_qp, lm_rp = pairs[-1]
|
|
112
|
-
|
|
113
|
-
read_ref_sequence: str = ref_seq[fm_rp-ref_coord_start:lm_rp-ref_coord_end]
|
|
114
|
-
|
|
115
103
|
for read_pos, ref_pos in pairs:
|
|
116
104
|
if tr_start_pos <= ref_pos < tr_end_pos: # base is in the tandem repeat itself; skip it
|
|
117
105
|
continue
|
|
118
|
-
if (read_base := query_sequence[read_pos]) !=
|
|
106
|
+
if (read_base := query_sequence[read_pos]) != ref_seq[ref_pos - ref_coord_start]:
|
|
119
107
|
snvs[ref_pos] = read_base
|
|
120
108
|
|
|
121
109
|
if len(snvs) >= too_many_snvs_threshold: # TOO MANY, some kind of mismapping going on
|
|
@@ -124,7 +112,6 @@ def get_read_snvs(
|
|
|
124
112
|
pairs,
|
|
125
113
|
ref_seq,
|
|
126
114
|
ref_coord_start,
|
|
127
|
-
ref_coord_end,
|
|
128
115
|
tr_start_pos,
|
|
129
116
|
tr_end_pos,
|
|
130
117
|
contiguous_threshold,
|
strkit-0.8.0a6/strkit/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.8.0a6
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|