geney 1.3.44__py2.py3-none-any.whl → 1.3.46__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/SeqMats.py
CHANGED
|
@@ -277,6 +277,9 @@ class SeqMat:
|
|
|
277
277
|
|
|
278
278
|
@staticmethod
|
|
279
279
|
def _is_monotonic(inds):
|
|
280
|
+
if len(inds) == 1:
|
|
281
|
+
return True
|
|
282
|
+
|
|
280
283
|
return all(x >= y for x, y in zip(inds, inds[1:])) if inds[0] > inds[-1] else all(
|
|
281
284
|
x <= y for x, y in zip(inds, inds[1:]))
|
|
282
285
|
|
|
@@ -352,7 +355,7 @@ class SeqMat:
|
|
|
352
355
|
|
|
353
356
|
def orf_seqmat(self, tis_index):
|
|
354
357
|
if tis_index not in self.indices:
|
|
355
|
-
return SeqMat.from_seq('')
|
|
358
|
+
return SeqMat.from_seq({'seq': ''})
|
|
356
359
|
|
|
357
360
|
temp = self.seqmat[:, self._rel_index(tis_index):]
|
|
358
361
|
temp = temp[:, temp[0, :] != 5]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
geney/Fasta_segment.py,sha256=99HxNGNh_MfdVW6hhtlb1vOn7eSmT7oFoEfHDFMxG8w,11275
|
|
2
2
|
geney/Gene.py,sha256=nMWJjoQaiVFm2iRjoiq7ghZqnXtW0tJDcq2S0AyOIvY,6883
|
|
3
|
-
geney/SeqMats.py,sha256=
|
|
3
|
+
geney/SeqMats.py,sha256=veB3-Bj2Ye4yBkv3okQhvBVEg-MuUX0OMDHs5AvLEJE,19039
|
|
4
4
|
geney/Transcript.py,sha256=CpfxYkuCwFILozrtLuiWnlr1mRnMKn4o84HVJislgYs,14499
|
|
5
5
|
geney/__init__.py,sha256=eBdDl42N6UhcYeZDjOnv199Z88fI5_8Y6xW8447OKXM,755
|
|
6
6
|
geney/_mutation_utils.py,sha256=dHssUsnii_mf-wuRoMmF13UlD7k3ml_VwQMItTYnXpU,1132
|
|
@@ -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.
|
|
29
|
-
geney-1.3.
|
|
30
|
-
geney-1.3.
|
|
31
|
-
geney-1.3.
|
|
28
|
+
geney-1.3.46.dist-info/METADATA,sha256=OF3VJOHxy3RR_-9Zu5jrpeMpIofUkTeIMp-cD6assyQ,990
|
|
29
|
+
geney-1.3.46.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
|
|
30
|
+
geney-1.3.46.dist-info/top_level.txt,sha256=O-FuNUMb5fn9dhZ-dYCgF0aZtfi1EslMstnzhc5IIVo,6
|
|
31
|
+
geney-1.3.46.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|