Skip to content

一个中文基因数据库 面向专业人员也面向普通大众

License

Notifications You must be signed in to change notification settings

genostack/genedb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4d855bb · Sep 20, 2018

History

16 Commits
Sep 20, 2018
Sep 20, 2018
Sep 20, 2018
Aug 13, 2018
Sep 20, 2018
Sep 20, 2018
Sep 20, 2018
Aug 16, 2018
Sep 20, 2018
Sep 20, 2018

Repository files navigation

genedb

一个中文基因概述数据库
一 安装
1.该工具依赖nodejs 请先安装nodejs https://nodejs.org
2.安装依赖包:
npm install
3.根据自己的数据库选择安装:
//postgresql
$ npm install --save pg pg-hstore
//mysql
$ npm install --save mysql2
//sqlite3
$ npm install --save sqlite3
//其他 如MSSQL
$ npm install --save tedious
4.初始化数据库
根据db/initdb.sql初始化数据库 本工具默认是postgresql,其他数据库未测试

二 配置
config.js中根据实际情况配置数据库

三 执行
node genedb.js --help
Usage: genedb [options] [command]
Create different genetic databases locally.
Options:
-V, --version output the version number
-h, --help output usage information
Commands:
createsnps Create snps from snpedia if not exist.
creategenotypes Create all genotypes of a snp
translatesnps Translate snps into Chinese
translategenotypes Translate genotypes into Chinese

四 工具基本原理
通过API访问HGNC、NCBI数据库,获取基因信息,并利用Google 翻译将其翻译为中文。

该工具的成果 已经在 www.genostack.com 做了应用 大家可以先看看效果。

About

一个中文基因数据库 面向专业人员也面向普通大众

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published