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

#Conserved Domain Description
CREATE TABLE cddInfo (
    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 -
    fullname varchar(255) not null,	# standard name
    NCBInum varchar(255) not null,	# NCBI Identifier
    evalue double not null,	# Expect value
    percentlength int unsigned not null,	# Data source
    percentident int unsigned not null,	# Data source
              #Indices
    PRIMARY KEY(chrom, chromStart, chromEnd, name)
);
