geney 1.3.28__py2.py3-none-any.whl → 1.3.30__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/Gene.py +9 -0
- geney/splicing_utils.py +1 -1
- {geney-1.3.28.dist-info → geney-1.3.30.dist-info}/METADATA +1 -1
- {geney-1.3.28.dist-info → geney-1.3.30.dist-info}/RECORD +6 -6
- {geney-1.3.28.dist-info → geney-1.3.30.dist-info}/WHEEL +0 -0
- {geney-1.3.28.dist-info → geney-1.3.30.dist-info}/top_level.txt +0 -0
geney/Gene.py
CHANGED
|
@@ -138,6 +138,9 @@ class Gene:
|
|
|
138
138
|
if tid is None:
|
|
139
139
|
tid = self.primary_transcript
|
|
140
140
|
|
|
141
|
+
if tid is None:
|
|
142
|
+
return Transcript()
|
|
143
|
+
|
|
141
144
|
if tid not in self.transcripts:
|
|
142
145
|
raise AttributeError(f"Transcript '{tid}' not found in gene '{self.gene_name}'.")
|
|
143
146
|
|
|
@@ -170,6 +173,12 @@ class Gene:
|
|
|
170
173
|
self._primary_transcript = protein_coding[0]
|
|
171
174
|
return self._primary_transcript
|
|
172
175
|
|
|
176
|
+
# # Fallback 2: find a proitein coding transcript that is not fully defined
|
|
177
|
+
# protein_coding = [k for k, v in self.transcripts.items() if v.get('transcript_biotype') == 'protein_coding_CDS_not_defined']
|
|
178
|
+
# if protein_coding:
|
|
179
|
+
# self._primary_transcript = protein_coding[0]
|
|
180
|
+
# return self._primary_transcript
|
|
181
|
+
|
|
173
182
|
# No primary or protein-coding transcript found
|
|
174
183
|
self._primary_transcript = None
|
|
175
184
|
return None
|
geney/splicing_utils.py
CHANGED
|
@@ -385,7 +385,7 @@ def process_pairwise_epistasis(mids, engine='pangolin', fprint=False, db=None):
|
|
|
385
385
|
print(missplicing_both)
|
|
386
386
|
|
|
387
387
|
max_delta = 0
|
|
388
|
-
flag = {'mut_id': mid, 'corrective': 0, '
|
|
388
|
+
flag = {'mut_id': mid, 'corrective': 0, 'cumulative': 0}
|
|
389
389
|
cummulative_deltas, corrective_deltas = [], []
|
|
390
390
|
ms1, ms2, msb = [], [], []
|
|
391
391
|
increased_canonical_splicing = False
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
geney/Fasta_segment.py,sha256=99HxNGNh_MfdVW6hhtlb1vOn7eSmT7oFoEfHDFMxG8w,11275
|
|
2
|
-
geney/Gene.py,sha256=
|
|
2
|
+
geney/Gene.py,sha256=1pqKI3hGZndi7VY4j66ObhJjnz8YiNtBLGJTIHWVujA,6670
|
|
3
3
|
geney/SeqMats.py,sha256=aLpqd7RJSEU07jdPXpbtZPeb2D9BxrZuW6BTkcXpNE4,18819
|
|
4
4
|
geney/Transcript.py,sha256=eRZXVVxDVBbv0l385bnAOBFRBSzBwppXcbBq8KXkwlo,14443
|
|
5
5
|
geney/__init__.py,sha256=eBdDl42N6UhcYeZDjOnv199Z88fI5_8Y6xW8447OKXM,755
|
|
@@ -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=
|
|
19
|
+
geney/splicing_utils.py,sha256=elu5KtkcNGTWhviimIRt0DRWNcjwZrshDphM5XFPImA,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.
|
|
29
|
-
geney-1.3.
|
|
30
|
-
geney-1.3.
|
|
31
|
-
geney-1.3.
|
|
28
|
+
geney-1.3.30.dist-info/METADATA,sha256=ZS6Ft5TJYV5WFTOM47ny7m7eSA76C2EmCEMD2yuBhcQ,990
|
|
29
|
+
geney-1.3.30.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
|
|
30
|
+
geney-1.3.30.dist-info/top_level.txt,sha256=O-FuNUMb5fn9dhZ-dYCgF0aZtfi1EslMstnzhc5IIVo,6
|
|
31
|
+
geney-1.3.30.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|