Where to download Human Gene Mutation Database (HGMD)
Hi All,
I hope to use HGMD to test my algorithm for SNP functional prediction. The problem is I don't know where to download it?
Meanwhile, I tried the following script. However, mysql server doesn't work well. any suggestion?
getHGMDData <- function(geneName,
user='hgmd',
password='hgmd',
host='192.168.99.100',
port='3306',
dbname='hgmd') {
library("DBI")
library("RMySQL")
# load also HGMD
con=dbConnect(MySQL(),username=user,password=password,host=host,unix.socket=port,dbname=dbname)
# get all mutations
res <- dbSendQuery(con,sprintf("select * from mutnomen inner join allmut as h1 on h1.acc_num=mutnomen.acc_num where gene='%s'",geneName))
rawdat<-fetch(res,n=-1)
cleanHGVS <- paste0("c.",rawdat$hgvs[!is.na(rawdat$hgvs)])
dbDisconnect(con)
(list(hgvs=cleanHGVS,rawData=rawdat))
}
getHGMDData("TP53")
Thanks.
• 2,171 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Hello Shicheng Guo!
Questions similar to yours can already be found at:
We have closed your question to allow us to keep similar content in the same thread.
If you disagree with this please tell us why in a reply below. We'll be happy to talk about it.
Cheers!