Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

完善数据库 #1

Open
Andyliwr opened this issue Oct 25, 2016 · 0 comments
Open

完善数据库 #1

Andyliwr opened this issue Oct 25, 2016 · 0 comments
Assignees

Comments

@Andyliwr
Copy link
Member

Andyliwr commented Oct 25, 2016

任务

完善数据库 @tsxxljj

描述

在百度云上建立数据库,包含以下表格

gene_info
CREATE TABLE `gene_info` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `gene_name` varchar(512) NOT NULL,
  `chromosomes_name` varchar(512) NOT NULL,
  `start_location` varchar(512) DEFAULT NULL,
  `end_location` varchar(512) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=1002 DEFAULT CHARSET=gbk
pathway
CREATE TABLE `pathway` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `pathway_name` varchar(512) DEFAULT NULL,
  `des` varchar(512) DEFAULT NULL,
  `contain_genes` text,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=gbk
snp_info
CREATE TABLE `snp_info` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `trait` varchar(512) DEFAULT NULL,
  `marker` varchar(512) DEFAULT NULL,
  `chr` int(11) DEFAULT NULL,
  `pos` int(11) DEFAULT NULL,
  `df` int(11) DEFAULT NULL,
  `F` float(11) DEFAULT NULL,
  `p` float(11) DEFAULT NULL,
  `add_effect` float(11) DEFAULT NULL,
  `add_f` float(11) DEFAULT NULL,
  `add_p` float(11) DEFAULT NULL,
  `dom_effect` float(11) DEFAULT NULL,
  `dom_f` float(11) DEFAULT NULL,
  `dom_p` float(11) DEFAULT NULL,
  `errordf` int(11) DEFAULT NULL,
  `markerR2` float(11) DEFAULT NULL,
  `genetic_var` float(11) DEFAULT NULL,
  `residual_var` float(11) DEFAULT NULL,
  `LnLikelihood` float(11) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=gbk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants