geney 1.3.18__py2.py3-none-any.whl → 1.3.19__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.
geney/splicing_utils.py
CHANGED
|
@@ -444,9 +444,9 @@ def process_pairwise_epistasis(mids, engine='pangolin', fprint=False, db=None):
|
|
|
444
444
|
|
|
445
445
|
vals = cummulative_deltas + corrective_deltas
|
|
446
446
|
flag['max_delta'] = max(vals, key=abs) if vals else 0
|
|
447
|
-
flag['ms1'] = missplicing1.max_delta
|
|
448
|
-
flag['ms2'] = missplicing2.max_delta
|
|
449
|
-
flag['msb'] = missplicing_both.max_delta
|
|
447
|
+
flag['ms1'] = missplicing1.max_delta
|
|
448
|
+
flag['ms2'] = missplicing2.max_delta
|
|
449
|
+
flag['msb'] = missplicing_both.max_delta
|
|
450
450
|
flag['increased_canonical_splicing'] = increased_canonical_splicing
|
|
451
451
|
|
|
452
452
|
result_df = pd.Series(flag).to_frame().T
|
|
@@ -551,6 +551,7 @@ class Missplicing:
|
|
|
551
551
|
return splicing_dict
|
|
552
552
|
return None
|
|
553
553
|
|
|
554
|
+
@property
|
|
554
555
|
def max_delta(self):
|
|
555
556
|
"""
|
|
556
557
|
Returns the maximum absolute delta found in all events.
|
|
@@ -558,8 +559,10 @@ class Missplicing:
|
|
|
558
559
|
Returns:
|
|
559
560
|
float: The maximum absolute delta, or 0 if no events.
|
|
560
561
|
"""
|
|
561
|
-
|
|
562
|
-
|
|
562
|
+
max_deltas = []
|
|
563
|
+
for k, v in self.missplicing.items():
|
|
564
|
+
max_deltas.extend([sv['delta'] for sv in v.values()])
|
|
565
|
+
return max(max_deltas, key=abs, default=0.0)
|
|
563
566
|
|
|
564
567
|
|
|
565
568
|
# def find_transcript_splicing(transcript, engine='spliceai'):
|
|
@@ -16,7 +16,7 @@ geney/pangolin_utils.py,sha256=i5j5vEMCWOTIa1mRP2377BAhlUFZjHBzTQBips4lA_4,2934
|
|
|
16
16
|
geney/power_utils.py,sha256=MehZFUdkJ2EFUot709yPEDxSkXmH5XevMebX2HD768A,7330
|
|
17
17
|
geney/seqmat_utils.py,sha256=wzb3PX5it5bpIFQvcxyzlxfhoJTbHHbsjg0rzh05iVs,19753
|
|
18
18
|
geney/spliceai_utils.py,sha256=PFIhTK8Ihrj-cv5tgRN0UFPYEmC4uxtqXSP9bBLnZRM,3077
|
|
19
|
-
geney/splicing_utils.py,sha256=
|
|
19
|
+
geney/splicing_utils.py,sha256=fnbke3LcCq98Rk1DYdCtMFxyYscVlFq9MugBPfysdGo,35880
|
|
20
20
|
geney/survival_utils.py,sha256=KnAzEviMuXh6SnVXId9PgsFLSbgkduTvYoIthxN7FPA,6886
|
|
21
21
|
geney/tcga_utils.py,sha256=D_BNHm-D_K408dlcJm3hzH2c6QNFjQsKvUcOPiQRk7g,17612
|
|
22
22
|
geney/tis_utils.py,sha256=2makfGfVlDFVIbxzXE85AY9jmAjcNmxyIAxjvkRA5LY,7396
|
|
@@ -25,7 +25,7 @@ geney/translation_initiation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
|
|
|
25
25
|
geney/translation_initiation/tis_utils.py,sha256=AF3siFjuQH-Rs44EV-80zHdbxRMvN4woLFSHroWIETc,4448
|
|
26
26
|
geney/translation_initiation/resources/kozak_pssm.json,sha256=pcd0Olziutq-6H3mFWDCD9cujQ_AlZO-iiOvBl82hqE,1165
|
|
27
27
|
geney/translation_initiation/resources/tis_regressor_model.joblib,sha256=IXb4DUDhJ5rBDKcqMk9zE3ECTZZcdj7Jixz3KpoZ7OA,2592025
|
|
28
|
-
geney-1.3.
|
|
29
|
-
geney-1.3.
|
|
30
|
-
geney-1.3.
|
|
31
|
-
geney-1.3.
|
|
28
|
+
geney-1.3.19.dist-info/METADATA,sha256=EeklEkrP-VGX0xmIhc-AHyGDnGYial941niSF_FT4pg,971
|
|
29
|
+
geney-1.3.19.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
|
|
30
|
+
geney-1.3.19.dist-info/top_level.txt,sha256=O-FuNUMb5fn9dhZ-dYCgF0aZtfi1EslMstnzhc5IIVo,6
|
|
31
|
+
geney-1.3.19.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|