geney 1.3.47__py2.py3-none-any.whl → 1.3.49__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/oncosplice.py +2 -0
- geney/pangolin_utils.py +1 -0
- geney/splicing_utils.py +2 -2
- {geney-1.3.47.dist-info → geney-1.3.49.dist-info}/METADATA +1 -1
- {geney-1.3.47.dist-info → geney-1.3.49.dist-info}/RECORD +7 -7
- {geney-1.3.47.dist-info → geney-1.3.49.dist-info}/WHEEL +0 -0
- {geney-1.3.47.dist-info → geney-1.3.49.dist-info}/top_level.txt +0 -0
geney/oncosplice.py
CHANGED
|
@@ -321,10 +321,12 @@ def oncosplice(mut_id, splicing_threshold=0.5, protein_coding=True, cons_require
|
|
|
321
321
|
for reference_transcript in tqdm(gene, desc=f'Processing {mut_id}...'):
|
|
322
322
|
if (cons_required and not reference_transcript.cons_available) or (
|
|
323
323
|
protein_coding and not reference_transcript.transcript_biotype == 'protein_coding'):
|
|
324
|
+
print("Missing either protein coding or conservation...")
|
|
324
325
|
continue
|
|
325
326
|
|
|
326
327
|
current_mutations = [m for m in mutations if m in reference_transcript]
|
|
327
328
|
if len(current_mutations) == 0:
|
|
329
|
+
print("No mutations within transcript...")
|
|
328
330
|
continue
|
|
329
331
|
|
|
330
332
|
center = np.mean([m.indices[0] for m in current_mutations]) // 1
|
geney/pangolin_utils.py
CHANGED
geney/splicing_utils.py
CHANGED
|
@@ -145,10 +145,10 @@ def find_ss_changes(ref_dct, mut_dct, known_splice_sites, threshold=0.5):
|
|
|
145
145
|
new_dict = {v: mut_dct.get(v, 0) - ref_dct.get(v, 0) for v in
|
|
146
146
|
list(set(list(ref_dct.keys()) + list(mut_dct.keys())))}
|
|
147
147
|
|
|
148
|
-
discovered_pos = {k: {'delta': round(float(v), 3), 'absolute': round(float(mut_dct[k]), 3), 'reference': round(ref_dct
|
|
148
|
+
discovered_pos = {k: {'delta': round(float(v), 3), 'absolute': round(float(mut_dct[k]), 3), 'reference': round(ref_dct.get(k, 0), 3)} for k, v in
|
|
149
149
|
new_dict.items() if v >= threshold and k not in known_splice_sites} # if (k not in known_splice_sites and v >= threshold) or (v > 0.45)}
|
|
150
150
|
|
|
151
|
-
deleted_pos = {k: {'delta': round(float(v), 3), 'absolute': round(float(mut_dct.get(k, 0)), 3), 'reference': round(ref_dct
|
|
151
|
+
deleted_pos = {k: {'delta': round(float(v), 3), 'absolute': round(float(mut_dct.get(k, 0)), 3), 'reference': round(ref_dct.get(k, 0), 3)} for k, v in
|
|
152
152
|
new_dict.items() if -v >= threshold and k in known_splice_sites} #if k in known_splice_sites and v <= -threshold}
|
|
153
153
|
|
|
154
154
|
return discovered_pos, deleted_pos
|
|
@@ -11,12 +11,12 @@ geney/graphic_utils.py,sha256=oMsBpB9YeEn96gGpKh4MmtagJffWZbk-xPrIwHvkFhA,11016
|
|
|
11
11
|
geney/gtex_utils.py,sha256=asL2lHyU5KsbWpV096vkf1Ka7hSo_RRfZqw7p5nERmE,1919
|
|
12
12
|
geney/immune_utils.py,sha256=ZRni5ttrhpYBnmNr0d0ZatIbNPYs4nmQuoUO00SpsS4,5271
|
|
13
13
|
geney/mutation_utils.py,sha256=C_kv2MB_L8LlhX3W2ooXjJ3uDoJ8zX1WeDtZKoBZJkI,1547
|
|
14
|
-
geney/oncosplice.py,sha256=
|
|
15
|
-
geney/pangolin_utils.py,sha256=
|
|
14
|
+
geney/oncosplice.py,sha256=ghEY6HEJKpQrJYT26sVbXpTuqMrR4YmMV7JuAL4a8jQ,24424
|
|
15
|
+
geney/pangolin_utils.py,sha256=9jdBXlOcRaUdfi-UpUxHA0AkTMZkUF-Lt7HVZ1nEm3s,2973
|
|
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=GDSuuy8kWBh2_4UDwqjclF9gKnnCoLc_neOEsSrNWQM,38512
|
|
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=la0CZroaKe5RgAyFd4Bf_DqQncklWgAY2823xVst98o,7813
|
|
@@ -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.49.dist-info/METADATA,sha256=1tglGOcOnNBzE0M3lN2mo_J26uWPPNYFN_pNHVHHQiA,990
|
|
29
|
+
geney-1.3.49.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
|
|
30
|
+
geney-1.3.49.dist-info/top_level.txt,sha256=O-FuNUMb5fn9dhZ-dYCgF0aZtfi1EslMstnzhc5IIVo,6
|
|
31
|
+
geney-1.3.49.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|