Skip to content

Commit

Permalink
update url, refers to #1
Browse files Browse the repository at this point in the history
Co-authored-by: simon boutry <[email protected]>
  • Loading branch information
LiNk-NY and boutrys committed Nov 11, 2024
1 parent a9619a2 commit b055e04
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion R/getCurrentMaps.R
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ getCurrentHumanMap <- function(){
hgnc.table <- hgnc.table[is.ascii, ]
return(hgnc.table)
}
url <- "ftp://ftp.ebi.ac.uk/pub/databases/genenames/new/tsv/hgnc_complete_set.txt"
url <- paste0(
"https://storage.googleapis.com/public-download-files/",
"hgnc/tsv/tsv/hgnc_complete_set.txt"
)
if(!file.exists("hgnc_complete_set.txt")){
message(paste("Fetching human gene symbols from", url))
download.file(url, destfile = "hgnc_complete_set.txt")
Expand Down

0 comments on commit b055e04

Please sign in to comment.