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

#Aligned Features Description
CREATE TABLE alignInfo (
    chrom varchar(255) not null,	# chromosome
    chromStart int unsigned not null,	# Start position in chromosome
    chromEnd int unsigned not null,	# End position in chromosome
    name varchar(255) not null,	# hit name
    score int unsigned not null,	# Score from 900-1000.  1000 is best
    strand char(1) not null,	# Value should be + or -
    hasmatch int unsigned not null,	# If it has match in aligned species
    orgn varchar(255) not null,	# aligned organism
    alignChrom varchar(255) not null,	# chromosome for aligned species
    alignChromStart int unsigned not null,	# Start position in chromosome for aligned species
    alignChromEnd int unsigned not null,	# End position in chromosome for aligned species
              #Indices
    PRIMARY KEY(chrom, chromStart, chromEnd, name)
);
