geney 1.4.9__py2.py3-none-any.whl → 1.4.11__py2.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.
Potentially problematic release.
This version of geney might be problematic. Click here for more details.
- geney/Gene.py +1 -1
- geney/utils/SeqMats.py +4 -1
- {geney-1.4.9.dist-info → geney-1.4.11.dist-info}/METADATA +1 -1
- {geney-1.4.9.dist-info → geney-1.4.11.dist-info}/RECORD +6 -6
- {geney-1.4.9.dist-info → geney-1.4.11.dist-info}/WHEEL +0 -0
- {geney-1.4.9.dist-info → geney-1.4.11.dist-info}/top_level.txt +0 -0
geney/Gene.py
CHANGED
geney/utils/SeqMats.py
CHANGED
|
@@ -149,6 +149,9 @@ class SeqMat:
|
|
|
149
149
|
cloned.version = self.version
|
|
150
150
|
cloned.notes = self.notes.copy()
|
|
151
151
|
cloned.rev = self.rev
|
|
152
|
+
|
|
153
|
+
cloned._pos_to_idx = {pos: i for i, pos in enumerate(cloned.seq_array["index"])}
|
|
154
|
+
|
|
152
155
|
return cloned
|
|
153
156
|
|
|
154
157
|
def apply_mutation(self, pos: int, ref: str, alt: str, only_snps: bool = False):
|
|
@@ -193,7 +196,7 @@ class SeqMat:
|
|
|
193
196
|
pos_idx = self._pos_to_idx.get(pos)
|
|
194
197
|
if pos_idx is None:
|
|
195
198
|
raise ValueError(f"Position {pos} not found in index")
|
|
196
|
-
|
|
199
|
+
|
|
197
200
|
end_idx = pos_idx + len(ref)
|
|
198
201
|
if end_idx > len(self.seq_array):
|
|
199
202
|
raise ValueError(f"Substitution range exceeds sequence length at position {pos}.")
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
geney/Fasta_segment.py,sha256=99HxNGNh_MfdVW6hhtlb1vOn7eSmT7oFoEfHDFMxG8w,11275
|
|
2
|
-
geney/Gene.py,sha256=
|
|
2
|
+
geney/Gene.py,sha256=6x1sEZV50Il4oydegW6iHIF12EZTGexniG3YUD-3DfM,7036
|
|
3
3
|
geney/Oncosplice.py,sha256=ETAvMl_Oq6mEJQHPNwdDO5csX6Ahuped_om10KifCyM,17739
|
|
4
4
|
geney/SeqMats.py,sha256=9-eJnfU2w3LGc0XvVvFEO_QrBneTkC6xkZKDfTcEw5o,19282
|
|
5
5
|
geney/SpliceSimulator.py,sha256=iF6feVeSnsKFmn3WV60CgWLI0_rSLgpq5fVFL1IOv_4,18491
|
|
@@ -37,7 +37,7 @@ geney/translation_initiation/tis_utils.py,sha256=AF3siFjuQH-Rs44EV-80zHdbxRMvN4w
|
|
|
37
37
|
geney/translation_initiation/resources/kozak_pssm.json,sha256=pcd0Olziutq-6H3mFWDCD9cujQ_AlZO-iiOvBl82hqE,1165
|
|
38
38
|
geney/translation_initiation/resources/tis_regressor_model.joblib,sha256=IXb4DUDhJ5rBDKcqMk9zE3ECTZZcdj7Jixz3KpoZ7OA,2592025
|
|
39
39
|
geney/utils/Fasta_segment.py,sha256=weB5NJ65P0XiyAJCiCHx4T9sHC1pWLpuQeOy0B85gyg,11364
|
|
40
|
-
geney/utils/SeqMats.py,sha256=
|
|
40
|
+
geney/utils/SeqMats.py,sha256=Kwyr8rylSKVSjnrxRTvZ5IrutRQgeD9CKUaqsKkFASk,18286
|
|
41
41
|
geney/utils/TranscriptLibrary.py,sha256=ma_ZVPgglxXDDneEvdqxxeqxG8eSFL-zgLUXyC6BqY8,2070
|
|
42
42
|
geney/utils/__init__.py,sha256=-nJ-DMx1JzP-ZCe_QuQCeM0ZYIT_16jxoXDhUaO_4Oc,714
|
|
43
43
|
geney/utils/mutation_utils.py,sha256=r-pHr56gEa5kh_DPX8MjFY3ZfYaOtyo4CUfJ5ZHlXPw,3243
|
|
@@ -45,7 +45,7 @@ geney/utils/pangolin_utils.py,sha256=JQSPbWxdzqGFYfWQktkfLMaMSGR28eGQhNzO7MLMe5M
|
|
|
45
45
|
geney/utils/spliceai_utils.py,sha256=VtrIbjyQxk_3lw86eWjftRYyal9OzxArJ0GV5u_ymTg,2721
|
|
46
46
|
geney/utils/splicing_utils.py,sha256=vPCGnCPR1ooEZEHR79yFHLmRQXEJHXEQjjxpBR-YWOs,20635
|
|
47
47
|
geney/utils/utils.py,sha256=m51Vd0cEbrcIHo6_8BAuI9YSPcKRs22e5LfVd2Qj6Is,2181
|
|
48
|
-
geney-1.4.
|
|
49
|
-
geney-1.4.
|
|
50
|
-
geney-1.4.
|
|
51
|
-
geney-1.4.
|
|
48
|
+
geney-1.4.11.dist-info/METADATA,sha256=fvC01VxWlv5gOeNf-ZFt1rNvjXAxHEGYf0prneQUDR8,990
|
|
49
|
+
geney-1.4.11.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
|
|
50
|
+
geney-1.4.11.dist-info/top_level.txt,sha256=O-FuNUMb5fn9dhZ-dYCgF0aZtfi1EslMstnzhc5IIVo,6
|
|
51
|
+
geney-1.4.11.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|