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

#Describes the positions of cytogenetic bands with a chromosome
CREATE TABLE cytoBandIdeo (
    chrom varchar(255) not null,	# Chromosome number
    chromStart int unsigned not null,	# Start position of band
    chromEnd int unsigned not null,	# End position of band
    name varchar(255) not null,	# Name of cytogenetic band
    gieStain varchar(255) not null,	# Giemsa stain results
              #Indices
    PRIMARY KEY(chrom(25),chromStart),
    UNIQUE(chrom(25),chromEnd)
);
