geney 1.3.25__py2.py3-none-any.whl → 1.3.26__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/SeqMats.py CHANGED
@@ -213,8 +213,9 @@ class SeqMat:
213
213
 
214
214
 
215
215
  def _rel_index(self, pos):
216
- pos = int(pos)
217
- if pos in self.indices:
216
+ # pos = int(pos)
217
+ print("sup")
218
+ if pos in self.raw_indices:
218
219
  return np.where(self.seqmat[self.ROW_INDS, :] == pos)[0][0]
219
220
  else:
220
221
  raise IndexError(f"Position {pos} not found in sequence.")
geney/splicing_utils.py CHANGED
@@ -226,7 +226,7 @@ def find_transcript_missplicing(mut_id, transcript=None, threshold=0.5, engine='
226
226
  if len(mutations) == 0:
227
227
  return Missplicing({'missed_acceptors': {}, 'missed_donors': {}, 'discovered_acceptors': {}, 'discovered_donors': {}})
228
228
 
229
- center = np.mean([m.indices[0] - 2 for m in mutations]) // 11
229
+ center = np.mean([m.indices[0] for m in mutations]) // 11
230
230
  for mutation in mutations:
231
231
  variant_transcript.mutate(mutation, inplace=True)
232
232
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: geney
3
- Version: 1.3.25
3
+ Version: 1.3.26
4
4
  Summary: A Python package for gene expression modeling.
5
5
  Home-page: https://github.com/nicolaslynn/geney
6
6
  Author: Nicolas Lynn
@@ -19,9 +19,9 @@ Requires-Dist: networkx
19
19
  Requires-Dist: viennarna
20
20
  Requires-Dist: tqdm
21
21
  Requires-Dist: spliceai
22
- Requires-Dist: biopython ==1.81
23
- Requires-Dist: gtfparse ==1.3.0
24
- Requires-Dist: sh ==2.0.6
22
+ Requires-Dist: biopython==1.81
23
+ Requires-Dist: gtfparse==1.3.0
24
+ Requires-Dist: sh==2.0.6
25
25
  Requires-Dist: torch
26
26
  Requires-Dist: lifelines
27
27
  Requires-Dist: notebook
@@ -1,6 +1,6 @@
1
1
  geney/Fasta_segment.py,sha256=99HxNGNh_MfdVW6hhtlb1vOn7eSmT7oFoEfHDFMxG8w,11275
2
2
  geney/Gene.py,sha256=JGWtfA6-d1W3I9YRASwaF8vaZ6CCuY0KEawQNdloIqY,6259
3
- geney/SeqMats.py,sha256=0wL3mLeNhLOqNYioMTV02zN8dnER67JwD6wkNxp44mU,18838
3
+ geney/SeqMats.py,sha256=jC_0MnvJxKNb7_L-fgEWMd8Wi-4KVuvDbMCSFSqfL7w,18865
4
4
  geney/Transcript.py,sha256=eRZXVVxDVBbv0l385bnAOBFRBSzBwppXcbBq8KXkwlo,14443
5
5
  geney/__init__.py,sha256=eBdDl42N6UhcYeZDjOnv199Z88fI5_8Y6xW8447OKXM,755
6
6
  geney/_mutation_utils.py,sha256=dHssUsnii_mf-wuRoMmF13UlD7k3ml_VwQMItTYnXpU,1132
@@ -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=s6jns493Fh1xwyxIT1sYdd5_VyIZdeK27rupS1kG_LI,35568
19
+ geney/splicing_utils.py,sha256=nsOCSjknIjbPUwAVWyig1q9OrQ-Q21dgkgmbzpvL0G4,35564
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.25.dist-info/METADATA,sha256=6471Hndd8IYKiZcRx_VynahCihRDdhnkgu4IJZ8KU-g,971
29
- geney-1.3.25.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
30
- geney-1.3.25.dist-info/top_level.txt,sha256=O-FuNUMb5fn9dhZ-dYCgF0aZtfi1EslMstnzhc5IIVo,6
31
- geney-1.3.25.dist-info/RECORD,,
28
+ geney-1.3.26.dist-info/METADATA,sha256=mTYsp6ghf5TMklnrKNBIUZ6-JBX1_CYZXnF-RKBMPaQ,968
29
+ geney-1.3.26.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
30
+ geney-1.3.26.dist-info/top_level.txt,sha256=O-FuNUMb5fn9dhZ-dYCgF0aZtfi1EslMstnzhc5IIVo,6
31
+ geney-1.3.26.dist-info/RECORD,,
File without changes