geney 1.2.25__py2.py3-none-any.whl → 1.2.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.
geney/seqmat_utils.py CHANGED
@@ -145,8 +145,8 @@ class SeqMat:
145
145
  return self.seqmat[:, start_pos:]
146
146
 
147
147
  def subseq_prefix(self, end):
148
- start_pos = np.where(self.seqmat[self.ROW_INDS] == end)[0][0]
149
- return self.seqmat[:, :end]
148
+ end_pos = np.where(self.seqmat[self.ROW_INDS] == end)[0][0]
149
+ return self.seqmat[:, :end_pos]
150
150
 
151
151
  def inspect(self, pos, context=500):
152
152
  condition = np.where(self.seqmat[1, :] == pos)[0][0]
@@ -161,10 +161,10 @@ class SeqMat:
161
161
 
162
162
  temp = SeqMat().set_seqmat(self.subseq_suffix(tis_index))
163
163
  # Ensure the sequence length is divisible by 3
164
- seq_length = len(temp.seq)
164
+ # seq_length = len(temp.seq)
165
165
 
166
- if seq_length % 3 != 0:
167
- temp.seqmat = temp.seqmat[:, :-(seq_length % 3)] # Trim the extra nucleotides
166
+ # if seq_length % 3 != 0:
167
+ # temp.seqmat = temp.seqmat[:, :-(seq_length % 3)] # Trim the extra nucleotides
168
168
 
169
169
  if temp.seq[:3] == 'ATG':
170
170
  for i in range(3, len(temp.seq), 3):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: geney
3
- Version: 1.2.25
3
+ Version: 1.2.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
@@ -9,7 +9,7 @@ geney/mutation_utils.py,sha256=C-K8F8wyN5joI3ZuP-d7IMYTI43YPDXUc3IgAJ07o8Q,1546
9
9
  geney/oncosplice.py,sha256=3jJc1-CWubH2ElHEjyQtsr9JYVmfPQEpq7EX-IfY-t8,20806
10
10
  geney/pangolin_utils.py,sha256=S2uMjQnnxqWSnfuMaEjo-wq52DVKFiXt__L5VPdtzyU,2939
11
11
  geney/power_utils.py,sha256=MehZFUdkJ2EFUot709yPEDxSkXmH5XevMebX2HD768A,7330
12
- geney/seqmat_utils.py,sha256=JZk-dY7SjHESK1NaXfWuDpZGLJkeT_03ZfZS6gHBEr0,16796
12
+ geney/seqmat_utils.py,sha256=xFpUPVYrCOubHHsYKxU8ZtqSkKKg7rG6CrSG3If39YY,16804
13
13
  geney/spliceai_utils.py,sha256=gIGPC8u3J15A7EQrk2Elho5PbF9MmUUNopGGH-eEV8s,1873
14
14
  geney/splicing_utils.py,sha256=pS3jZEpmnDkbT1jjaJh-O6I--Xm22e5dj-GQu7IAZSQ,15943
15
15
  geney/survival_utils.py,sha256=2CAkC2LsspicHIdrqsiPnjgvpr5KHDUfLFFqnRbPJqs,5762
@@ -19,7 +19,7 @@ geney/translation_initiation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
19
19
  geney/translation_initiation/tis_utils.py,sha256=iXrWVijyPe-f8I9rEVGdxNnXBrOGPoKFjmvaOEnQYNE,4446
20
20
  geney/translation_initiation/resources/kozak_pssm.json,sha256=pcd0Olziutq-6H3mFWDCD9cujQ_AlZO-iiOvBl82hqE,1165
21
21
  geney/translation_initiation/resources/tis_regressor_model.joblib,sha256=IXb4DUDhJ5rBDKcqMk9zE3ECTZZcdj7Jixz3KpoZ7OA,2592025
22
- geney-1.2.25.dist-info/METADATA,sha256=RUiiqgqgJ0Qr9_iJvEds3xzIrFhPiW9qd-DBkdb2SxI,948
23
- geney-1.2.25.dist-info/WHEEL,sha256=fS9sRbCBHs7VFcwJLnLXN1MZRR0_TVTxvXKzOnaSFs8,110
24
- geney-1.2.25.dist-info/top_level.txt,sha256=O-FuNUMb5fn9dhZ-dYCgF0aZtfi1EslMstnzhc5IIVo,6
25
- geney-1.2.25.dist-info/RECORD,,
22
+ geney-1.2.26.dist-info/METADATA,sha256=6OhOJDeX1vCw3qo1MbO6pXecr_vBwpwngLG_3fvwGrQ,948
23
+ geney-1.2.26.dist-info/WHEEL,sha256=fS9sRbCBHs7VFcwJLnLXN1MZRR0_TVTxvXKzOnaSFs8,110
24
+ geney-1.2.26.dist-info/top_level.txt,sha256=O-FuNUMb5fn9dhZ-dYCgF0aZtfi1EslMstnzhc5IIVo,6
25
+ geney-1.2.26.dist-info/RECORD,,
File without changes