geney 1.3.8__py2.py3-none-any.whl → 1.3.9__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 +1 -1
- geney/splicing_utils.py +2 -2
- {geney-1.3.8.dist-info → geney-1.3.9.dist-info}/METADATA +1 -1
- {geney-1.3.8.dist-info → geney-1.3.9.dist-info}/RECORD +6 -6
- {geney-1.3.8.dist-info → geney-1.3.9.dist-info}/WHEEL +0 -0
- {geney-1.3.8.dist-info → geney-1.3.9.dist-info}/top_level.txt +0 -0
geney/oncosplice.py
CHANGED
|
@@ -365,7 +365,7 @@ def oncosplice(mut_id, splicing_threshold=0.5, protein_coding=True, cons_require
|
|
|
365
365
|
report['isoform_id'] = short_hash_of_list(mutated_transcript.exons)
|
|
366
366
|
report['isoform_prevalence'] = new_boundaries['path_weight']
|
|
367
367
|
report['full_missplicing'] = missplicing.aberrant_splicing
|
|
368
|
-
report['missplicing'] = missplicing.max_delta
|
|
368
|
+
report['missplicing'] = missplicing.max_delta()
|
|
369
369
|
report['reference_resemblance'] = reference_gene_proteins.get(mutated_transcript.protein, None)
|
|
370
370
|
results.append(report)
|
|
371
371
|
|
geney/splicing_utils.py
CHANGED
|
@@ -204,7 +204,7 @@ def find_transcript_splicing(transcript, engine: str = 'spliceai') -> Tuple[Dict
|
|
|
204
204
|
return donor_probs, acceptor_probs
|
|
205
205
|
|
|
206
206
|
|
|
207
|
-
def find_transcript_missplicing(mut_id, transcript=
|
|
207
|
+
def find_transcript_missplicing(mut_id, transcript=None, threshold=0.5, engine='spliceai', organism='hg38'):
|
|
208
208
|
gene = Gene.from_file(mut_id.split(':')[0], organism=organism)
|
|
209
209
|
reference_transcript = gene.transcript(transcript) if transcript is not None else gene.transcript()
|
|
210
210
|
variant_transcript = reference_transcript.clone()
|
|
@@ -217,7 +217,7 @@ def find_transcript_missplicing(mut_id, transcript='primary', threshold=0.5, eng
|
|
|
217
217
|
for mutation in mutations:
|
|
218
218
|
variant_transcript.mutate(mutation, inplace=True)
|
|
219
219
|
|
|
220
|
-
return find_transcript_missplicing_seqs(reference_transcript.get_context(center, 7500), variant_transcript.get_context(center, 7500), reference_transcript.donors, reference_transcript.acceptors, threshold=threshold, engine=engine)
|
|
220
|
+
return find_transcript_missplicing_seqs(reference_transcript.pre_mrna.get_context(center, 7500), variant_transcript.pre_mrna.get_context(center, 7500), reference_transcript.donors, reference_transcript.acceptors, threshold=threshold, engine=engine)
|
|
221
221
|
|
|
222
222
|
|
|
223
223
|
# from functools import reduce
|
|
@@ -10,12 +10,12 @@ geney/graphic_utils.py,sha256=oMsBpB9YeEn96gGpKh4MmtagJffWZbk-xPrIwHvkFhA,11016
|
|
|
10
10
|
geney/gtex_utils.py,sha256=asL2lHyU5KsbWpV096vkf1Ka7hSo_RRfZqw7p5nERmE,1919
|
|
11
11
|
geney/immune_utils.py,sha256=ZRni5ttrhpYBnmNr0d0ZatIbNPYs4nmQuoUO00SpsS4,5271
|
|
12
12
|
geney/mutation_utils.py,sha256=C_kv2MB_L8LlhX3W2ooXjJ3uDoJ8zX1WeDtZKoBZJkI,1547
|
|
13
|
-
geney/oncosplice.py,sha256=
|
|
13
|
+
geney/oncosplice.py,sha256=LOgpdsTC1JotC2qFnqNMefl0t77vvWCJ5XctZsbrLNA,22343
|
|
14
14
|
geney/pangolin_utils.py,sha256=i5j5vEMCWOTIa1mRP2377BAhlUFZjHBzTQBips4lA_4,2934
|
|
15
15
|
geney/power_utils.py,sha256=MehZFUdkJ2EFUot709yPEDxSkXmH5XevMebX2HD768A,7330
|
|
16
16
|
geney/seqmat_utils.py,sha256=wzb3PX5it5bpIFQvcxyzlxfhoJTbHHbsjg0rzh05iVs,19753
|
|
17
17
|
geney/spliceai_utils.py,sha256=PFIhTK8Ihrj-cv5tgRN0UFPYEmC4uxtqXSP9bBLnZRM,3077
|
|
18
|
-
geney/splicing_utils.py,sha256=
|
|
18
|
+
geney/splicing_utils.py,sha256=YDhYtns6pVHmOfk4Z1AC-acA1kKAqKZmJ-P2EZS946k,26378
|
|
19
19
|
geney/survival_utils.py,sha256=KnAzEviMuXh6SnVXId9PgsFLSbgkduTvYoIthxN7FPA,6886
|
|
20
20
|
geney/tcga_utils.py,sha256=D_BNHm-D_K408dlcJm3hzH2c6QNFjQsKvUcOPiQRk7g,17612
|
|
21
21
|
geney/tis_utils.py,sha256=2makfGfVlDFVIbxzXE85AY9jmAjcNmxyIAxjvkRA5LY,7396
|
|
@@ -24,7 +24,7 @@ geney/translation_initiation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
|
|
|
24
24
|
geney/translation_initiation/tis_utils.py,sha256=AF3siFjuQH-Rs44EV-80zHdbxRMvN4woLFSHroWIETc,4448
|
|
25
25
|
geney/translation_initiation/resources/kozak_pssm.json,sha256=pcd0Olziutq-6H3mFWDCD9cujQ_AlZO-iiOvBl82hqE,1165
|
|
26
26
|
geney/translation_initiation/resources/tis_regressor_model.joblib,sha256=IXb4DUDhJ5rBDKcqMk9zE3ECTZZcdj7Jixz3KpoZ7OA,2592025
|
|
27
|
-
geney-1.3.
|
|
28
|
-
geney-1.3.
|
|
29
|
-
geney-1.3.
|
|
30
|
-
geney-1.3.
|
|
27
|
+
geney-1.3.9.dist-info/METADATA,sha256=tkuruBdfjmOTkAz6lM3xZ_nAEXm5Vh4wpaP5FihlTvk,994
|
|
28
|
+
geney-1.3.9.dist-info/WHEEL,sha256=fS9sRbCBHs7VFcwJLnLXN1MZRR0_TVTxvXKzOnaSFs8,110
|
|
29
|
+
geney-1.3.9.dist-info/top_level.txt,sha256=O-FuNUMb5fn9dhZ-dYCgF0aZtfi1EslMstnzhc5IIVo,6
|
|
30
|
+
geney-1.3.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|