Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
gurdeep330 committed Apr 18, 2023
1 parent 6f9d314 commit 5a766ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DB/make_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def create_homology_table(mycursor) -> None:
num = 0
for row in tqdm(accs):
num += 1
if num == 10: break
# if num == 10: break
acc = row[0]
if os.path.isfile(path + acc[:4] + '/' + acc + fileEnd) is False:
print (path + acc[:4] + '/' + acc + fileEnd, 'does not exist')
Expand Down Expand Up @@ -373,7 +373,7 @@ def create_homology_table(mycursor) -> None:
)
'''
df = pd.DataFrame(data)
print (df)
# print (df)
tmp_df = "./tmp_dataframe.csv"
df.to_csv(tmp_df, index=False, header=False)
f = open(tmp_df, 'r')
Expand Down Expand Up @@ -484,7 +484,7 @@ def create_kinases_table(mycursor)->None:
create_hmm_table(mycursor)
create_mutations_table(mycursor)
# sys.exit()
# create_kinases_table(mycursor)
create_kinases_table(mycursor)
create_homology_table(mycursor)
create_ptm_table(mycursor)
mydb.commit()
Expand Down

0 comments on commit 5a766ad

Please sign in to comment.