-- MySQL dump 10.11
--
-- Host: pfamdb2a    Database: pfam_24_0
-- ------------------------------------------------------
-- Server version	5.0.37-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 `pfamseq`
--

DROP TABLE IF EXISTS `pfamseq`;
CREATE TABLE `pfamseq` (
  `auto_pfamseq` int(10) NOT NULL auto_increment,
  `pfamseq_id` varchar(12) NOT NULL,
  `pfamseq_acc` varchar(6) NOT NULL,
  `seq_version` tinyint(4) NOT NULL,
  `crc64` varchar(16) NOT NULL,
  `md5` varchar(32) NOT NULL,
  `description` text NOT NULL,
  `evidence` tinyint(4) NOT NULL,
  `length` mediumint(8) NOT NULL default '0',
  `species` text NOT NULL,
  `taxonomy` mediumtext,
  `is_fragment` tinyint(1) default NULL,
  `sequence` blob NOT NULL,
  `updated` timestamp NOT NULL default CURRENT_TIMESTAMP,
  `created` datetime default NULL,
  `ncbi_taxid` int(10) unsigned default '0',
  `genome_seq` tinyint(1) default '0',
  `auto_architecture` int(10) default NULL,
  `treefam_acc` varchar(8) default NULL,
  PRIMARY KEY  (`auto_pfamseq`),
  UNIQUE KEY `pfamseq_acc` (`pfamseq_acc`),
  KEY `ncbi_taxid` (`ncbi_taxid`),
  KEY `crc64` (`crc64`),
  KEY `pfamseq_id` (`pfamseq_id`),
  KEY `pfamseq_architecture_idx` (`auto_architecture`),
  KEY `pfamseq_ncbi_code_idx` (`ncbi_taxid`,`genome_seq`),
  KEY `pfamseq_acc_version` (`pfamseq_acc`,`seq_version`),
  KEY `md5` (`md5`),
  CONSTRAINT `FK_pfamseq_1` FOREIGN KEY (`ncbi_taxid`) REFERENCES `ncbi_taxonomy` (`ncbi_taxid`) ON DELETE CASCADE ON UPDATE NO ACTION
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*!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 2009-10-07 23:25:59
