geney 1.1.6__py2.py3-none-any.whl → 1.1.7__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/netchop.py
CHANGED
|
@@ -26,24 +26,21 @@ class NetChop(object):
|
|
|
26
26
|
the cleavage probability for each position in the sequence.
|
|
27
27
|
"""
|
|
28
28
|
with tempfile.NamedTemporaryFile(dir=config_setup['NETCHOP'], suffix=".fsa", mode="w") as input_fd:
|
|
29
|
+
print(f"Writing to {input_fd.name}...")
|
|
29
30
|
for (i, sequence) in enumerate(sequences):
|
|
31
|
+
print(f"\tseq{i}: {sequence}")
|
|
30
32
|
input_fd.write("> %d\n" % i)
|
|
31
33
|
input_fd.write(sequence)
|
|
32
34
|
input_fd.write("\n")
|
|
33
35
|
input_fd.flush()
|
|
34
36
|
|
|
35
|
-
print(input_fd.__dict__)
|
|
36
|
-
print(input_fd.name)
|
|
37
|
-
|
|
38
37
|
try:
|
|
39
38
|
output = subprocess.check_output(["netChop", input_fd.name])
|
|
40
39
|
except subprocess.CalledProcessError as e:
|
|
41
40
|
logging.error("Error calling netChop: %s:\n%s" % (e, e.output))
|
|
42
41
|
raise
|
|
43
42
|
|
|
44
|
-
print("here")
|
|
45
43
|
parsed = self.parse_netchop(output)
|
|
46
|
-
print("here2")
|
|
47
44
|
|
|
48
45
|
assert len(parsed) == len(sequences), \
|
|
49
46
|
"Expected %d results but got %d" % (
|
|
@@ -7,7 +7,7 @@ geney/config_setup.py,sha256=SePeooA4RWAtR_KAT1-W1hkD3MT5tH6YMyp80t_RNPQ,385
|
|
|
7
7
|
geney/data_setup.py,sha256=DZeksRPr2ZT7bszMo33W0r3OwmqHokVXtZ4gx5Lu_Mo,10725
|
|
8
8
|
geney/gtex.py,sha256=asL2lHyU5KsbWpV096vkf1Ka7hSo_RRfZqw7p5nERmE,1919
|
|
9
9
|
geney/gtex_utils.py,sha256=asL2lHyU5KsbWpV096vkf1Ka7hSo_RRfZqw7p5nERmE,1919
|
|
10
|
-
geney/netchop.py,sha256=
|
|
10
|
+
geney/netchop.py,sha256=h6hRkfYvmkU-ZI9Zeg5mW1fGUN4e97-Ar4r7aSGx7UE,2981
|
|
11
11
|
geney/oncosplice.py,sha256=Fyc_UtAhV3Pv0vk8V55rO_jnb2Dwj5sW98KVwP3PHwU,68964
|
|
12
12
|
geney/oncosplice_pipeline.py,sha256=hpGqFHOdn8i8tvvs1-t3-G9Ko18zInwoDXBJbbrfbC4,68036
|
|
13
13
|
geney/performance_utils.py,sha256=FQt7rA4r-Wuq3kceCxsSuMfj3wU1tMG8QnbL59aBohs,4700
|
|
@@ -43,7 +43,7 @@ geney/translation_initiation/resources/kozak_pssm.json,sha256=pcd0Olziutq-6H3mFW
|
|
|
43
43
|
geney/translation_initiation/resources/tis_regressor_model.joblib,sha256=IXb4DUDhJ5rBDKcqMk9zE3ECTZZcdj7Jixz3KpoZ7OA,2592025
|
|
44
44
|
geney/translation_termination/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
45
45
|
geney/translation_termination/tts_utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
46
|
-
geney-1.1.
|
|
47
|
-
geney-1.1.
|
|
48
|
-
geney-1.1.
|
|
49
|
-
geney-1.1.
|
|
46
|
+
geney-1.1.7.dist-info/METADATA,sha256=-arp47Qb2ah8D5x0TTBDaeUNu3kFwhmzwwBdiz5J0L8,1130
|
|
47
|
+
geney-1.1.7.dist-info/WHEEL,sha256=iYlv5fX357PQyRT2o6tw1bN-YcKFFHKqB_LwHO5wP-g,110
|
|
48
|
+
geney-1.1.7.dist-info/top_level.txt,sha256=O-FuNUMb5fn9dhZ-dYCgF0aZtfi1EslMstnzhc5IIVo,6
|
|
49
|
+
geney-1.1.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|