# blastTab.sql was originally generated by the autoSql program, which also 
# generated blastTab.c and blastTab.h.  This creates the database representation of
# an object which can be loaded and saved from RAM in a fairly 
# automatic way.

#Tab-delimited blast output file
CREATE TABLE blastTab (
    query varchar(255) not null,	# Name of query sequence
    target varchar(255) not null,	# Name of target sequence
    identity float not null,	# Percent identity
    aliLength int unsigned not null,	# Length of alignment
    mismatch int unsigned not null,	# Number of mismatches
    gapOpen int unsigned not null,	# Number of gap openings
    qStart int unsigned not null,	# Start in query (0 based)
    qEnd int unsigned not null,	# End in query (non-inclusive)
    tStart int unsigned not null,	# Start in target (0 based)
    tEnd int unsigned not null,	# Start in query (non-inclusive)
    eValue double not null,	# Expectation value
    bitScore double not null,	# Bit score
              #Indices
    PRIMARY KEY(query(12))
);
