geney 1.2.52__py2.py3-none-any.whl → 1.2.54__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 -2
- geney/splicing_utils.py +1 -1
- geney/survival_utils.py +1 -1
- {geney-1.2.52.dist-info → geney-1.2.54.dist-info}/METADATA +1 -1
- {geney-1.2.52.dist-info → geney-1.2.54.dist-info}/RECORD +7 -7
- {geney-1.2.52.dist-info → geney-1.2.54.dist-info}/WHEEL +0 -0
- {geney-1.2.52.dist-info → geney-1.2.54.dist-info}/top_level.txt +0 -0
geney/oncosplice.py
CHANGED
|
@@ -421,7 +421,7 @@ import asyncio
|
|
|
421
421
|
|
|
422
422
|
|
|
423
423
|
async def oncosplice_prototype(mut_id, splicing_threshold=0.5, protein_coding=True, primary_transcript=False,
|
|
424
|
-
window_length=13, organism='hg38', engine='spliceai',
|
|
424
|
+
window_length=13, organism='hg38', engine='spliceai', use_cons=True):
|
|
425
425
|
import sys, os
|
|
426
426
|
needed_file1 = config[organism]['yoram_path'] / 'rest_api_utils.py'
|
|
427
427
|
needed_file2 = config[organism]['yoram_path'] / 'uniprot_utils.py'
|
|
@@ -471,7 +471,7 @@ async def oncosplice_prototype(mut_id, splicing_threshold=0.5, protein_coding=Tr
|
|
|
471
471
|
transcript.generate_mature_mrna().generate_protein(inplace=True)
|
|
472
472
|
ref_protein, cons_vector = transcript.protein, transcript.cons_vector
|
|
473
473
|
|
|
474
|
-
if not
|
|
474
|
+
if not use_cons:
|
|
475
475
|
cons_vector = np.ones(len(ref_protein))
|
|
476
476
|
|
|
477
477
|
if sum(cons_vector) == 0:
|
geney/splicing_utils.py
CHANGED
|
@@ -176,7 +176,7 @@ def find_transcript_missplicing(transcript, mutations, context=5000, window=2500
|
|
|
176
176
|
ref_seq = 'N'*ref_start_pad + ref.seq + 'N'*ref_end_pad
|
|
177
177
|
var_seq = 'N'*var_start_pad + var.seq + 'N'*var_end_pad
|
|
178
178
|
|
|
179
|
-
print(ref_seq)
|
|
179
|
+
# print(ref_seq)
|
|
180
180
|
|
|
181
181
|
if engine == 'spliceai':
|
|
182
182
|
from .spliceai_utils import sai_predict_probs, sai_models
|
geney/survival_utils.py
CHANGED
|
@@ -2,7 +2,7 @@ import pandas as pd
|
|
|
2
2
|
import numpy as np
|
|
3
3
|
import matplotlib.pyplot as plt
|
|
4
4
|
from pathlib import Path
|
|
5
|
-
from scipy.integrate import
|
|
5
|
+
# from scipy.integrate import trapezoid
|
|
6
6
|
from geney.utils import unload_pickle, unload_json, contains
|
|
7
7
|
from lifelines.exceptions import ConvergenceError
|
|
8
8
|
from lifelines import KaplanMeierFitter
|
|
@@ -6,13 +6,13 @@ geney/graphic_utils.py,sha256=oMsBpB9YeEn96gGpKh4MmtagJffWZbk-xPrIwHvkFhA,11016
|
|
|
6
6
|
geney/gtex_utils.py,sha256=asL2lHyU5KsbWpV096vkf1Ka7hSo_RRfZqw7p5nERmE,1919
|
|
7
7
|
geney/immune_utils.py,sha256=ZRni5ttrhpYBnmNr0d0ZatIbNPYs4nmQuoUO00SpsS4,5271
|
|
8
8
|
geney/mutation_utils.py,sha256=C_kv2MB_L8LlhX3W2ooXjJ3uDoJ8zX1WeDtZKoBZJkI,1547
|
|
9
|
-
geney/oncosplice.py,sha256=
|
|
9
|
+
geney/oncosplice.py,sha256=hPmB9sEPs9lr22BlPGKpQUOd59vUjAttXZ6QKf4A-kg,23534
|
|
10
10
|
geney/pangolin_utils.py,sha256=rVi_U23nhw6wCc44fBeD3sv-FshLTGE1UMMtIYwgr9U,2967
|
|
11
11
|
geney/power_utils.py,sha256=MehZFUdkJ2EFUot709yPEDxSkXmH5XevMebX2HD768A,7330
|
|
12
12
|
geney/seqmat_utils.py,sha256=2cRXT_Ox4IdzCM8x3H2HexxFZzjo5WHs0HZiUQv8fBM,18347
|
|
13
13
|
geney/spliceai_utils.py,sha256=gIGPC8u3J15A7EQrk2Elho5PbF9MmUUNopGGH-eEV8s,1873
|
|
14
|
-
geney/splicing_utils.py,sha256=
|
|
15
|
-
geney/survival_utils.py,sha256=
|
|
14
|
+
geney/splicing_utils.py,sha256=8qbj81ESNxu9-clEjBV-2xj41p1Wly6NFiGlm0etSeg,15564
|
|
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=vA2ci4gNfwwQZlCjPpO5ehvL2NRVeM7lHI_VyfT-_10,8049
|
|
18
18
|
geney/utils.py,sha256=EsKvBM-Nz2a3_4ZAhF4Dxd4PwT7_6YYKpxEN4LLgg10,2174
|
|
@@ -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.54.dist-info/METADATA,sha256=C4gCBwzsS6uD4ZqO1lE5Me2BAldGdvBk50hQkp5C528,948
|
|
24
|
+
geney-1.2.54.dist-info/WHEEL,sha256=fS9sRbCBHs7VFcwJLnLXN1MZRR0_TVTxvXKzOnaSFs8,110
|
|
25
|
+
geney-1.2.54.dist-info/top_level.txt,sha256=O-FuNUMb5fn9dhZ-dYCgF0aZtfi1EslMstnzhc5IIVo,6
|
|
26
|
+
geney-1.2.54.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|