本文以导入SNP151.txt数据库为例,其他数据库文件操作类似。
1. 数据文件下载
UCSC下载网址: https://hgdownload.cse.ucsc.edu/goldenPath/hg19/database/
以下为Linux下载文件方式
wget https://hgdownload.cse.ucsc.edu/goldenPath/hg19/database/snp151.sql
wget -c -b https://hgdownload.cse.ucsc.edu/goldenPath/hg19/database/snp151.txt.gz
SNP数据文件
2. 登录数据库
mysql