<p><strong>First, I would try again to download via the bioconductor command. If your internet is intermittent it may just take a few tries.</strong></p>
<p>If that doesn't work, I would then strongly recommend using <code>BioCManager</code> <a href="https://www.biostars.org/p/157366/" rel="nofollow noreferrer">to install from a local source</a> wherever you've downloaded the files. If you try to copy the files around there are a lot of ways that things can go wrong, and there are a lot of ways that it still might not work even if you put it in the right place, if you don't use the package manager as intended.</p>

CC BY-SA 4.0
2022-11-23T04:39:44.273Z
Great thanks! I have tried unzipping the `.tar.gz` file and copying it, and things indeed went wrong. Like mentioned, installing from local sources seemed to be the best way.
Lloyd_LiuSiyi
CC BY-SA 4.0
2022-11-22T18:25:52.597Z
2022-11-22T19:46:54.840Z
2022-11-22T19:46:54.840Z
Maximilian Press
<p>I was trying to format my GWAS summary statistics with the <code>MungeSumstats</code> R package and would need to install <code>SNPlocs.Hsapiens.dbSNP155.GRCh37</code> and <code>BSgenome.Hsapiens.1000genomes.hs37d5</code> as reference panel. <br />
I typed
<code>BiocManager::install(&quot;SNPlocs.Hsapiens.dbSNP144.GRCh37&quot;) BiocManager::install(&quot;BSgenome.Hsapiens.1000genomes.hs37d5&quot;)</code>
but failed due to Internet connection problems. So I planned to download the files from the web browser and copy them to the R library. I was wondering where I should put the files. If they were downloaded from R, where would they be saved? <br />
I would really appreciate any answers, thanks!</p>

<r><bioconductor><reference-genome>
file path of BiocManager:install()
# file path of BiocManager:install()

(Asked by: username_0 on 2022-11-22)

I was trying to format my GWAS summary statistics with the `MungeSumstats` R package and would need to install `SNPlocs.Hsapiens.dbSNP155.GRCh37` and `BSgenome.Hsapiens.1000genomes.hs37d5` as reference panel.   
I typed
`BiocManager::install("SNPlocs.Hsapiens.dbSNP144.GRCh37") BiocManager::install("BSgenome.Hsapiens.1000genomes.hs37d5")`
but failed due to Internet connection problems. So I planned to download the files from the web browser and copy them to the R library. I was wondering where I should put the files. If they were downloaded from R, where would they be saved?   
I would really appreciate any answers, thanks!

**Tags:** r, bioconductor, reference-genome

---

## 1 answers

### Answer by username_1 on 2022-11-22. Score: 3

**First, I would try again to download via the bioconductor command. If your internet is intermittent it may just take a few tries.**

If that doesn't work, I would then strongly recommend using `BioCManager` [to install from a local source](https://www.biostars.org/p/157366/) wherever you've downloaded the files. If you try to copy the files around there are a lot of ways that things can go wrong, and there are a lot of ways that it still might not work even if you put it in the right place, if you don't use the package manager as intended.

> **Comments:**
> **username_0**: Great thanks! I have tried unzipping the `.tar.gz` file and copying it, and things indeed went wrong. Like mentioned, installing from local sources seemed to be the best way.  

---

