mirror of
https://github.com/Priyatham-sai-chand/compara-deep-learning.git
synced 2026-10-05 08:11:34 -07:00
Add files via upload
This commit is contained in:
parent
3013f3a11d
commit
de9f568bd6
1 changed files with 15 additions and 5 deletions
|
|
@ -3,12 +3,14 @@ import numpy as np
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
import requests
|
import requests
|
||||||
import sys
|
import sys
|
||||||
|
import pickle
|
||||||
from get_data import get_data_genome
|
from get_data import get_data_genome
|
||||||
from process_data import get_nearest_neighbors
|
from process_data import get_nearest_neighbors
|
||||||
from create_synteny_matrix import create_synteny_matrix_mul
|
from create_synteny_matrix import create_synteny_matrix_mul
|
||||||
from ete3 import Tree
|
from ete3 import Tree
|
||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
|
"""
|
||||||
arg=sys.argv
|
arg=sys.argv
|
||||||
arg=arg[1:]
|
arg=arg[1:]
|
||||||
|
|
||||||
|
|
@ -24,7 +26,18 @@ if len(arg)!=5:
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
dir_g="data"
|
dir_g="data"
|
||||||
cmap,cimap,ld,ldg,a,d=get_data_genome(arg,dir_g)
|
cmap,cimap,ld,ldg,a,d=get_data_genome(arg,dir_g)"""
|
||||||
|
|
||||||
|
data={}
|
||||||
|
with open("genome_maps","rb") as file:
|
||||||
|
data=pickle.load(file)
|
||||||
|
cmap=data["cmap"]
|
||||||
|
cimap=data["cimap"]
|
||||||
|
ld=data["ld"]
|
||||||
|
ldg=data["ldg"]
|
||||||
|
a=data["a"]
|
||||||
|
d=data["d"]
|
||||||
|
|
||||||
n=3
|
n=3
|
||||||
|
|
||||||
server = "https://rest.ensembl.org"
|
server = "https://rest.ensembl.org"
|
||||||
|
|
@ -165,7 +178,4 @@ with tf.Session() as sess:
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print("Some Error Was There Try Again:(",e)
|
print("Some Error Was There Try Again:(",e)
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in a new issue