geney 1.4.2__py2.py3-none-any.whl → 1.4.4__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/SpliceSimulator.py +8 -13
- geney/utils/pangolin_utils.py +1 -1
- geney/utils/spliceai_utils.py +1 -1
- geney/utils/splicing_utils.py +1 -1
- {geney-1.4.2.dist-info → geney-1.4.4.dist-info}/METADATA +1 -1
- {geney-1.4.2.dist-info → geney-1.4.4.dist-info}/RECORD +8 -8
- {geney-1.4.2.dist-info → geney-1.4.4.dist-info}/WHEEL +1 -1
- {geney-1.4.2.dist-info → geney-1.4.4.dist-info}/top_level.txt +0 -0
geney/SpliceSimulator.py
CHANGED
|
@@ -115,21 +115,16 @@ class SpliceSimulator:
|
|
|
115
115
|
|
|
116
116
|
pd.Series: A series with keys 'donor' and 'acceptor' containing the maximum differences.
|
|
117
117
|
"""
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
# df = self.full_df[site_type]
|
|
121
|
-
# max_missplicing[site_type] = max(abs(df[event] - df['ref_prob']))
|
|
122
|
-
# return pd.Series(max_missplicing)
|
|
123
|
-
max_missplicing = {}
|
|
118
|
+
all_diffs = []
|
|
119
|
+
|
|
124
120
|
for site_type in ['donors', 'acceptors']:
|
|
125
121
|
df = self.full_df[site_type]
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
return pd.Series(max_missplicing)
|
|
122
|
+
diffs = (df[event] - df['ref_prob']).tolist()
|
|
123
|
+
all_diffs.extend(diffs)
|
|
124
|
+
|
|
125
|
+
# max(..., key=abs) picks the element whose absolute value is largest
|
|
126
|
+
max_diff = max(all_diffs, key=abs)
|
|
127
|
+
return max_diff
|
|
133
128
|
|
|
134
129
|
def set_donor_nodes(self) -> None:
|
|
135
130
|
"""
|
geney/utils/pangolin_utils.py
CHANGED
geney/utils/spliceai_utils.py
CHANGED
geney/utils/splicing_utils.py
CHANGED
|
@@ -2,7 +2,7 @@ geney/Fasta_segment.py,sha256=99HxNGNh_MfdVW6hhtlb1vOn7eSmT7oFoEfHDFMxG8w,11275
|
|
|
2
2
|
geney/Gene.py,sha256=G-5ROebtvbVazzPlsBJ1r2DEduCwsIA5S8_TmBuoyjw,7030
|
|
3
3
|
geney/Oncosplice.py,sha256=ETAvMl_Oq6mEJQHPNwdDO5csX6Ahuped_om10KifCyM,17739
|
|
4
4
|
geney/SeqMats.py,sha256=9-eJnfU2w3LGc0XvVvFEO_QrBneTkC6xkZKDfTcEw5o,19282
|
|
5
|
-
geney/SpliceSimulator.py,sha256=
|
|
5
|
+
geney/SpliceSimulator.py,sha256=iF6feVeSnsKFmn3WV60CgWLI0_rSLgpq5fVFL1IOv_4,18491
|
|
6
6
|
geney/Transcript.py,sha256=Wu0UiubFOdasfPCpe9uGfhPDG4MNks5LzUqGzo85ong,14458
|
|
7
7
|
geney/__init__.py,sha256=YLWXJS53yeryp6nVhCgFg3_Du9Guj9y3iSrdfx61q5Y,3017
|
|
8
8
|
geney/_config_setup.py,sha256=nblcGU3HIt8YjdrAoGfbEVKRxwJKv0PikJ5-7AL6axQ,723
|
|
@@ -41,11 +41,11 @@ geney/utils/SeqMats.py,sha256=vjU0lTkB0s0RoLjNXLqt0kJQDni-it09-iAOv5QAYFs,17686
|
|
|
41
41
|
geney/utils/TranscriptLibrary.py,sha256=ma_ZVPgglxXDDneEvdqxxeqxG8eSFL-zgLUXyC6BqY8,2070
|
|
42
42
|
geney/utils/__init__.py,sha256=jCoB0doidTbCFT34Yx8gQROcZOsw4LnqhgkwRgGQWt0,693
|
|
43
43
|
geney/utils/mutation_utils.py,sha256=r-pHr56gEa5kh_DPX8MjFY3ZfYaOtyo4CUfJ5ZHlXPw,3243
|
|
44
|
-
geney/utils/pangolin_utils.py,sha256=
|
|
45
|
-
geney/utils/spliceai_utils.py,sha256=
|
|
46
|
-
geney/utils/splicing_utils.py,sha256=
|
|
44
|
+
geney/utils/pangolin_utils.py,sha256=JQSPbWxdzqGFYfWQktkfLMaMSGR28eGQhNzO7MLMe5M,6162
|
|
45
|
+
geney/utils/spliceai_utils.py,sha256=xju1ObxQiQ_uoca-LxS0LpeIrqPez8-r9JNnwwoxZpk,4541
|
|
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.4.dist-info/METADATA,sha256=jWA_O5yFvCaCLnzqq2hDYjpxMXGAwkA9PWhfMHaxzF0,989
|
|
49
|
+
geney-1.4.4.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
|
|
50
|
+
geney-1.4.4.dist-info/top_level.txt,sha256=O-FuNUMb5fn9dhZ-dYCgF0aZtfi1EslMstnzhc5IIVo,6
|
|
51
|
+
geney-1.4.4.dist-info/RECORD,,
|
|
File without changes
|