geney 1.2.62__py2.py3-none-any.whl → 1.2.63__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/splicing_utils.py
CHANGED
|
@@ -145,6 +145,17 @@ def find_ss_changes(ref_dct, mut_dct, known_splice_sites, threshold=0.5):
|
|
|
145
145
|
return discovered_pos, deleted_pos
|
|
146
146
|
|
|
147
147
|
|
|
148
|
+
def find_transcript_missplicing_mutid(mut_id):
|
|
149
|
+
from geney.seqmat_utils import Gene
|
|
150
|
+
transcript = Gene(mut_id.split(':')[0]).transcript().generate_mature_mrna()
|
|
151
|
+
out = find_transcript_missplicing(transcript, [get_mutation(mut_id, rev=transcript.rev)], context=5000, window=2500, threshold=0.5, engine='spliceai', just_ss=True)
|
|
152
|
+
best_delta = 0
|
|
153
|
+
for k, v in out.items():
|
|
154
|
+
for k1, v1 in v.items():
|
|
155
|
+
if abs(v1['delta']) > abs(best_delta):
|
|
156
|
+
best_delta = v1['delta']
|
|
157
|
+
return best_delta
|
|
158
|
+
|
|
148
159
|
def find_transcript_missplicing(transcript, mutations, context=5000, window=2500, threshold=0.5, engine='spliceai', just_ss=False):
|
|
149
160
|
from functools import reduce
|
|
150
161
|
ref = transcript.pre_mrna
|
|
@@ -11,7 +11,7 @@ geney/pangolin_utils.py,sha256=i5j5vEMCWOTIa1mRP2377BAhlUFZjHBzTQBips4lA_4,2934
|
|
|
11
11
|
geney/power_utils.py,sha256=MehZFUdkJ2EFUot709yPEDxSkXmH5XevMebX2HD768A,7330
|
|
12
12
|
geney/seqmat_utils.py,sha256=f-4dtufdKHc52jf_xZqbwBu-DXCa2Tl0Wsigguus6-E,18661
|
|
13
13
|
geney/spliceai_utils.py,sha256=PFIhTK8Ihrj-cv5tgRN0UFPYEmC4uxtqXSP9bBLnZRM,3077
|
|
14
|
-
geney/splicing_utils.py,sha256=
|
|
14
|
+
geney/splicing_utils.py,sha256=nYfdM-ppHS1kUrwzDcS6VHxpHGv3vVl4p7f_JWKZTL8,18831
|
|
15
15
|
geney/survival_utils.py,sha256=KnAzEviMuXh6SnVXId9PgsFLSbgkduTvYoIthxN7FPA,6886
|
|
16
16
|
geney/tcga_utils.py,sha256=D_BNHm-D_K408dlcJm3hzH2c6QNFjQsKvUcOPiQRk7g,17612
|
|
17
17
|
geney/tis_utils.py,sha256=2makfGfVlDFVIbxzXE85AY9jmAjcNmxyIAxjvkRA5LY,7396
|
|
@@ -20,7 +20,7 @@ geney/translation_initiation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
|
|
|
20
20
|
geney/translation_initiation/tis_utils.py,sha256=AF3siFjuQH-Rs44EV-80zHdbxRMvN4woLFSHroWIETc,4448
|
|
21
21
|
geney/translation_initiation/resources/kozak_pssm.json,sha256=pcd0Olziutq-6H3mFWDCD9cujQ_AlZO-iiOvBl82hqE,1165
|
|
22
22
|
geney/translation_initiation/resources/tis_regressor_model.joblib,sha256=IXb4DUDhJ5rBDKcqMk9zE3ECTZZcdj7Jixz3KpoZ7OA,2592025
|
|
23
|
-
geney-1.2.
|
|
24
|
-
geney-1.2.
|
|
25
|
-
geney-1.2.
|
|
26
|
-
geney-1.2.
|
|
23
|
+
geney-1.2.63.dist-info/METADATA,sha256=LKx_Q2GIKC23LqLmz6Qb6LvymWRXcKXjkJX8BItRzgM,948
|
|
24
|
+
geney-1.2.63.dist-info/WHEEL,sha256=fS9sRbCBHs7VFcwJLnLXN1MZRR0_TVTxvXKzOnaSFs8,110
|
|
25
|
+
geney-1.2.63.dist-info/top_level.txt,sha256=O-FuNUMb5fn9dhZ-dYCgF0aZtfi1EslMstnzhc5IIVo,6
|
|
26
|
+
geney-1.2.63.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|