Skip to content

Commit

Permalink
Corrected table names to blast_ev spec
Browse files Browse the repository at this point in the history
  • Loading branch information
jorvis committed Nov 10, 2017
1 parent f03a44e commit fd760d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions blast/uniref_to_sqlite3.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def create_indexes( cursor ):

def create_tables( cursor ):
cursor.execute("""
CREATE TABLE uniref (
CREATE TABLE entry (
id text primary key,
full_name text,
organism text,
Expand All @@ -248,7 +248,7 @@ def create_tables( cursor ):
""")

cursor.execute("""
CREATE TABLE uniref_acc (
CREATE TABLE entry_acc (
id text not NULL,
accession text not NULL,
res_length integer,
Expand All @@ -257,14 +257,14 @@ def create_tables( cursor ):
""")

cursor.execute("""
CREATE TABLE uniref_go (
CREATE TABLE entry_go (
id text not NULL,
go_id text not NULL
)
""")

cursor.execute("""
CREATE TABLE uniref_ec (
CREATE TABLE entry_ec (
id text not NULL,
ec_num text not NULL
)
Expand Down

0 comments on commit fd760d6

Please sign in to comment.