-- MySQL dump 10.11
--
-- Host: localhost    Database: pfam_27_0
-- ------------------------------------------------------
-- Server version	5.0.51a-log

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `pdb_pfamA_reg`
--

DROP TABLE IF EXISTS `pdb_pfamA_reg`;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE `pdb_pfamA_reg` (
  `auto_pdb_reg` int(15) unsigned NOT NULL auto_increment,
  `auto_pfamA_reg_full` int(15) unsigned NOT NULL default '0',
  `pdb_id` varchar(5) NOT NULL,
  `auto_pfamA` int(10) NOT NULL default '0',
  `auto_pfamseq` int(10) NOT NULL default '0',
  `chain` varchar(4) default NULL,
  `pdb_res_start` mediumint(8) default NULL,
  `pdb_start_icode` varchar(1) default NULL,
  `pdb_res_end` mediumint(8) default NULL,
  `pdb_end_icode` varchar(1) default NULL,
  `seq_start` mediumint(8) unsigned NOT NULL default '0',
  `seq_end` mediumint(8) unsigned NOT NULL default '0',
  `hex_colour` varchar(6) default NULL,
  PRIMARY KEY  (`auto_pdb_reg`),
  KEY `auto_pfamA_reg_full` (`auto_pfamA_reg_full`),
  KEY `auto_pfamA` (`auto_pfamA`),
  KEY `auto_pfamseq` (`auto_pfamseq`),
  KEY `pdb_id` (`pdb_id`),
  KEY `pdb_res_start` (`pdb_res_start`),
  KEY `pdb_res_end` (`pdb_res_end`),
  CONSTRAINT `FK_pdb_pfamA_reg_1` FOREIGN KEY (`pdb_id`) REFERENCES `pdb` (`pdb_id`) ON DELETE CASCADE ON UPDATE NO ACTION,
  CONSTRAINT `FK_pdb_pfamA_reg_2` FOREIGN KEY (`auto_pfamA`) REFERENCES `pfamA` (`auto_pfamA`) ON DELETE CASCADE ON UPDATE NO ACTION,
  CONSTRAINT `FK_pdb_pfamA_reg_3` FOREIGN KEY (`auto_pfamA_reg_full`) REFERENCES `pfamA_reg_full_significant` (`auto_pfamA_reg_full`) ON DELETE CASCADE ON UPDATE NO ACTION,
  CONSTRAINT `FK_pdb_pfamA_reg_4` FOREIGN KEY (`auto_pfamseq`) REFERENCES `pfamseq` (`auto_pfamseq`) ON DELETE CASCADE ON UPDATE NO ACTION
) ENGINE=MyISAM AUTO_INCREMENT=550975 DEFAULT CHARSET=latin1;
SET character_set_client = @saved_cs_client;

/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2013-02-28 10:12:54
