compara-deep-learning/create_genome_maps.py

15 lines
339 B
Python
Raw Normal View History

2019-07-24 03:27:54 -07:00
import pandas as pd
import requests
import sys
import pickle
from get_data import get_data_genome
dir_g="data"
cmap,cimap,ld,ldg,a,d=get_data_genome(dir_g)
data=dict(cmap=cmap,cimap=cimap,ld=ld,ldg=ldg,a=a,d=d)
with open("genome_maps","wb") as file:
pickle.dump(data,file)
print("Genome Maps Created Successfully.")