import sys,os
import numpy as np
import pandas as pd
import keras
import tensorflow as tf

input_file = "Cupin.txt"# sys.argv[1]

model = keras.models.load_model('./finalmodel.h5')

#The protein sequence need to be in a form of (length, 1000, 20) or (length, 1000, 24)
Protein = pd.read_csv(input_file, header = None, sep = ' ')
protein= np.asarray([Protein.iloc[x:x+1000,:] for x in np.arange(0,len(Protein.index),1000)])
print(model.predict(protein))
