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

geney/splicing_utils.py CHANGED
@@ -388,6 +388,8 @@ def process_pairwise_epistasis(mids, engine='pangolin', fprint=False):
388
388
  m2.get(k, {}).get('reference') or
389
389
  mb.get(k, {}).get('reference')
390
390
  )
391
+ if ref_val is None:
392
+ ref_val = 0
391
393
 
392
394
 
393
395
  # Compute deltas
@@ -415,12 +417,12 @@ def process_pairwise_epistasis(mids, engine='pangolin', fprint=False):
415
417
  flag['cummulative'] += 1
416
418
  cummulative_deltas.append(max((deltab - delta1, deltab - delta2), key=abs))
417
419
 
418
- if ((0.4 <= ref_val) <= 0.75) and (
420
+ if (0.4 <= ref_val <= 0.75) and (
419
421
  ((delta1 > 0.25 or delta2 > 0.25) and deltab < 0.25) or
420
422
  (delta1 < 0.25 and delta2 < 0.25 and deltab > 0.25)
421
423
  ) and (
422
- abs(delta1 - deltab) > 0.25 or
423
- abs(delta2 - deltab) > 0.25
424
+ abs(delta1 - deltab) > 0.3 or
425
+ abs(delta2 - deltab) > 0.3
424
426
  ):
425
427
  increased_canonical_splicing = True
426
428
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: geney
3
- Version: 1.3.13
3
+ Version: 1.3.14
4
4
  Summary: A Python package for gene expression modeling.
5
5
  Home-page: https://github.com/nicolaslynn/geney
6
6
  Author: Nicolas Lynn
@@ -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=mBZGTF57BZ3caTnkQ_8zMhv7z0iRPrGKBSmjeDnTiUc,32222
19
+ geney/splicing_utils.py,sha256=OLes_xEoD5RZvcxyc8kwlUlWpTbJgl9AgA2PFRyOtdE,32286
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.13.dist-info/METADATA,sha256=yi0VHNzHaCHWqKRpAMHtF4tgWICSO0uYi1TJMDq5BIw,971
29
- geney-1.3.13.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
30
- geney-1.3.13.dist-info/top_level.txt,sha256=O-FuNUMb5fn9dhZ-dYCgF0aZtfi1EslMstnzhc5IIVo,6
31
- geney-1.3.13.dist-info/RECORD,,
28
+ geney-1.3.14.dist-info/METADATA,sha256=fdwqYA-nm1pUEIeZIECpRZ0oEjPyWKIGuNSIuwy3_v4,971
29
+ geney-1.3.14.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
30
+ geney-1.3.14.dist-info/top_level.txt,sha256=O-FuNUMb5fn9dhZ-dYCgF0aZtfi1EslMstnzhc5IIVo,6
31
+ geney-1.3.14.dist-info/RECORD,,
File without changes