geney 1.4.35__py2.py3-none-any.whl → 1.4.37__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.

@@ -72,7 +72,7 @@ def sai_predict_probs(seq: str, model) -> list:
72
72
  probs = torch.softmax(y, dim=1) # shape: [1, 3, L]
73
73
  acceptor_probs = probs[0, :, 1] # [L]
74
74
  donor_probs = probs[0, :, 2] # [L]
75
- return acceptor_probs.tolist() + [0], donor_probs.tolist() + [0]
75
+ return np.array(acceptor_probs.tolist() + [0]), np.array(donor_probs.tolist() + [0])
76
76
 
77
77
 
78
78
  def run_spliceai_seq(seq, indices, threshold=0):
@@ -26,7 +26,7 @@ if sys.platform == 'darwin':
26
26
  model_filenames = [f"models/spliceai{i}.h5" for i in range(1, 6)]
27
27
  model_paths = [resources.files('spliceai').joinpath(f) for f in model_filenames]
28
28
  else:
29
- model_paths = [f"/tamir2/nicolaslynn/home/miniconda3/lib/python3.10/site-packages/spliceai/models/spliceai{i}.h5"
29
+ model_paths = [f"/tamir2/nicolaslynn/tools/SpliceAI/spliceai/models/spliceai{i}.h5"
30
30
  for i in range(1, 6)]
31
31
 
32
32
  # Load models onto correct device
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: geney
3
- Version: 1.4.35
3
+ Version: 1.4.37
4
4
  Summary: A Python package for gene expression modeling.
5
5
  Home-page: https://github.com/nicolaslynn/geney
6
6
  Author: Nicolas Lynn
@@ -31,4 +31,5 @@ Requires-Dist: pyfastx
31
31
  Requires-Dist: tensorflow
32
32
  Requires-Dist: keras
33
33
  Requires-Dist: redis
34
+ Requires-Dist: seaborn
34
35
 
@@ -43,11 +43,11 @@ geney/utils/TranscriptLibrary.py,sha256=W1hv4Y8wRlmwTs3iFdn4_IqS-2suVDzZe4fwti2K
43
43
  geney/utils/__init__.py,sha256=-nJ-DMx1JzP-ZCe_QuQCeM0ZYIT_16jxoXDhUaO_4Oc,714
44
44
  geney/utils/mutation_utils.py,sha256=r-pHr56gEa5kh_DPX8MjFY3ZfYaOtyo4CUfJ5ZHlXPw,3243
45
45
  geney/utils/pangolin_utils.py,sha256=JQSPbWxdzqGFYfWQktkfLMaMSGR28eGQhNzO7MLMe5M,6162
46
- geney/utils/spliceai_pytorch_utils.py,sha256=oFKX00mUiaHNJ2qyivQfgzbouz57N3p1Q7uNrMmjtdk,2857
47
- geney/utils/spliceai_utils.py,sha256=VtrIbjyQxk_3lw86eWjftRYyal9OzxArJ0GV5u_ymTg,2721
46
+ geney/utils/spliceai_pytorch_utils.py,sha256=u827JR1H7mfOEpT44xoye5pq6QTo7zsknbEKRoOlBhQ,2877
47
+ geney/utils/spliceai_utils.py,sha256=8CBMCo13vRaj-E3h0eZkjiRmRpYI9po4_42O43vKaME,2691
48
48
  geney/utils/splicing_utils.py,sha256=JpUmuuzlzVZUI_zzaIwa03Xv-NGXzR6jlOmDAbNTYzc,20966
49
49
  geney/utils/utils.py,sha256=GXqlatNhix1akt3fburNzIwhiW9ZdCQSt2vmU80neyA,2370
50
- geney-1.4.35.dist-info/METADATA,sha256=Clp571FegtVd1_yF5ERzpiHh_daAe44iUTZPxizFGak,990
51
- geney-1.4.35.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
52
- geney-1.4.35.dist-info/top_level.txt,sha256=O-FuNUMb5fn9dhZ-dYCgF0aZtfi1EslMstnzhc5IIVo,6
53
- geney-1.4.35.dist-info/RECORD,,
50
+ geney-1.4.37.dist-info/METADATA,sha256=NAgbzKDbjq_rlVY5-J5Sb1uPmI0bNSKTrO8tSwxQ1g0,1013
51
+ geney-1.4.37.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
52
+ geney-1.4.37.dist-info/top_level.txt,sha256=O-FuNUMb5fn9dhZ-dYCgF0aZtfi1EslMstnzhc5IIVo,6
53
+ geney-1.4.37.dist-info/RECORD,,
File without changes