ramiromagno / hgnc

Download and import HGNC gene data into R
https://rmagno.eu/hgnc
Other
3 stars 2 forks source link

list_archives returns incorrect URL #2

Closed jemunro closed 1 year ago

jemunro commented 1 year ago
library(tidyverse)

hgnc::list_archives() %>%
 select(url) %>% 
 head()
# A tibble: 6 × 1
  url                                                                                                
  <chr>                                                                                              
1 https://ftp.ebi.ac.uk/pub/databases/genenames/hgnc/archive/monthly/hgnc_complete_set_2021-03-01.txt
2 https://ftp.ebi.ac.uk/pub/databases/genenames/hgnc/archive/monthly/hgnc_complete_set_2021-04-01.txt
3 https://ftp.ebi.ac.uk/pub/databases/genenames/hgnc/archive/monthly/hgnc_complete_set_2021-05-01.txt
4 https://ftp.ebi.ac.uk/pub/databases/genenames/hgnc/archive/monthly/hgnc_complete_set_2021-06-01.txt
5 https://ftp.ebi.ac.uk/pub/databases/genenames/hgnc/archive/monthly/hgnc_complete_set_2021-07-01.txt
6 https://ftp.ebi.ac.uk/pub/databases/genenames/hgnc/archive/monthly/hgnc_complete_set_2021-08-01.txt

Should be ".../monthly/tsv/hgnc_completeset..." - is missing "/tsv" from URL

Using hgnc version "0.1.3"

ramiromagno commented 1 year ago

Hi Jacob,

Thank you for bringing this to my attention. I will make a fix quickly.