geney 1.3.41__py2.py3-none-any.whl → 1.3.43__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/oncosplice.py CHANGED
@@ -329,7 +329,7 @@ def oncosplice(mut_id, splicing_threshold=0.5, protein_coding=True, cons_require
329
329
  mutated_transcript.mutate(mutation, inplace=True)
330
330
 
331
331
  reference_transcript.generate_mature_mrna().generate_protein()
332
- if '*' in reference_transcript.protein:
332
+ if '*' in reference_transcript.protein or len(reference_transcript.protein) < window_length:
333
333
  print(f"> Errors in reference transcript {reference_transcript.transcript_id}")
334
334
  continue
335
335
 
geney/splicing_utils.py CHANGED
@@ -413,7 +413,6 @@ def process_pairwise_epistasis(mids, engine='pangolin', fprint=False, db=None):
413
413
  delta2 = m2.get(k, {'delta': 0})['delta'] # max(-1, min(10, m2.get(k, {'delta': 0})['delta'] / ref_val))
414
414
  deltab = mb.get(k, {'delta': 0})['delta'] # max(-1, min(10, mb.get(k, {'delta': 0})['delta'] / ref_val))
415
415
 
416
- print(event, k, delta1, delta2, deltab)
417
416
  ms1.append(delta1)
418
417
  ms2.append(delta2)
419
418
  msb.append(deltab)
@@ -482,7 +481,7 @@ class Missplicing:
482
481
  def __str__(self):
483
482
  import pprint
484
483
  """String representation displays the filtered splicing events passing the threshold."""
485
- return pprint.pprint(self.aberrant_splicing)
484
+ return pprint.pformat(self.aberrant_splicing)
486
485
 
487
486
  def __bool__(self):
488
487
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: geney
3
- Version: 1.3.41
3
+ Version: 1.3.43
4
4
  Summary: A Python package for gene expression modeling.
5
5
  Home-page: https://github.com/nicolaslynn/geney
6
6
  Author: Nicolas Lynn
@@ -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=5NQ_dH-y3Vmdi7d2Vg9-cUPeqByHQiZzY4vovtNp1Q4,23412
14
+ geney/oncosplice.py,sha256=6s0aW6vXtD-z7yToFBcFCS5M_npoQe4tgdf4g5TuR2o,23465
15
15
  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=GFqmGZ-lK5oDook4FZun-mAq-oqZGg6dHZaOdp38B4M,38540
19
+ geney/splicing_utils.py,sha256=TQsRhEegW4SW6t7dghHQ5vGgn9WdioTcai6EzPPcdKM,38485
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.41.dist-info/METADATA,sha256=FJFob_kPTA_y1EwcDjxeL4uncWWv0lrYCT6pKGol61o,990
29
- geney-1.3.41.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
30
- geney-1.3.41.dist-info/top_level.txt,sha256=O-FuNUMb5fn9dhZ-dYCgF0aZtfi1EslMstnzhc5IIVo,6
31
- geney-1.3.41.dist-info/RECORD,,
28
+ geney-1.3.43.dist-info/METADATA,sha256=kqekeyuXWKLb40n_ShUhUqBqqZAyIob5vEDY8dgiSxI,990
29
+ geney-1.3.43.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
30
+ geney-1.3.43.dist-info/top_level.txt,sha256=O-FuNUMb5fn9dhZ-dYCgF0aZtfi1EslMstnzhc5IIVo,6
31
+ geney-1.3.43.dist-info/RECORD,,
File without changes