Problem in BSgenome.Hsapiens.UCSC.hg19 Installation
2
0
Entering edit mode
@nabaneeta85-7998
Last seen 8.9 years ago
United Kingdom

I am using R 3.2, and Bioconductor 3.1. When I am running the command to install BSgenome.Hsapiens.UCSC.hg19.

source("http://bioconductor.org/biocLite.R")
biocLite("BSgenome.Hsapiens.UCSC.hg19")

 

BioC_mirror: http://bioconductor.org
Using Bioconductor version 3.1 (BiocInstaller 1.18.2), R version 3.2.0.
Installing package(s) ‘BSgenome.Hsapiens.UCSC.hg19’
installing the source package ‘BSgenome.Hsapiens.UCSC.hg19’

trying URL 'http://bioconductor.org/packages/3.1/data/annotation/src/contrib/BSgenome.Hsapiens.UCSC.hg19_1.4.0.tar.gz'
Content type 'application/x-gzip' length 688190187 bytes (656.3 MB)
downloaded 656.3 MB

* installing *source* package 'BSgenome.Hsapiens.UCSC.hg19' ...
** R
** inst
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  there is no package called 'BiocParallel'
Error : package 'rtracklayer' could not be loaded
ERROR: lazy loading failed for package 'BSgenome.Hsapiens.UCSC.hg19'
* removing 'C:/Users/Nabaneeta/Documents/R/win-library/3.2/BSgenome.Hsapiens.UCSC.hg19'
* restoring previous 'C:/Users/Nabaneeta/Documents/R/win-library/3.2/BSgenome.Hsapiens.UCSC.hg19'

The downloaded source packages are in
        ‘C:\Users\Nabaneeta\AppData\Local\Temp\RtmpCempLG\downloaded_packages’
Warning messages:
1: running command '"C:/PROGRA~1/R/R-32~1.0/bin/i386/R" CMD INSTALL -l "C:\Users\Nabaneeta\Documents\R\win-library\3.2" C:\Users\NABANE~1\AppData\Local\Temp\RtmpCempLG/downloaded_packages/BSgenome.Hsapiens.UCSC.hg19_1.4.0.tar.gz' had status 1 
2: In install.packages(pkgs = doing, lib = lib, ...) :
  installation of package ‘BSgenome.Hsapiens.UCSC.hg19’ had non-zero exit status

 

When I am using

library(BSgenome.Hsapiens.UCSC.hg19)
I am getting this error:

 


Error in library(BSgenome.Hsapiens.UCSC.hg19) : 
  ‘BSgenome.Hsapiens.UCSC.hg19’ is not a valid installed package

 

 

bsgenome installation software error • 6.3k views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 16 hours ago
United States

Try

biocLite("BSgenome")
biocLite("BSgenome.Hsapiens.UCSC.hg19")
ADD COMMENT
0
Entering edit mode

@James W. MacDonald

I tried. I got this error.

biocLite("BSgenome")


BioC_mirror: http://bioconductor.org
Using Bioconductor version 3.1 (BiocInstaller 1.18.2), R version 3.2.0.
Installing package(s) ‘BSgenome’
trying URL 'http://bioconductor.org/packages/3.1/bioc/bin/windows/contrib/3.2/BSgenome_1.36.0.zip'
Content type 'application/zip' length 13082285 bytes (12.5 MB)
downloaded 12.5 MB

package ‘BSgenome’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
        C:\Users\Nabaneeta\AppData\Local\Temp\RtmpieWiz1\downloaded_packages
> biocLite("BSgenome.Hsapiens.UCSC.hg19")
BioC_mirror: http://bioconductor.org
Using Bioconductor version 3.1 (BiocInstaller 1.18.2), R version 3.2.0.
Installing package(s) ‘BSgenome.Hsapiens.UCSC.hg19’
installing the source package ‘BSgenome.Hsapiens.UCSC.hg19’

trying URL 'http://bioconductor.org/packages/3.1/data/annotation/src/contrib/BSgenome.Hsapiens.UCSC.hg19_1.4.0.tar.gz'
Content type 'application/x-gzip' length 688190187 bytes (656.3 MB)
downloaded 656.3 MB

* installing *source* package 'BSgenome.Hsapiens.UCSC.hg19' ...
** R
** inst
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  there is no package called 'BiocParallel'
Error : package 'rtracklayer' could not be loaded
ERROR: lazy loading failed for package 'BSgenome.Hsapiens.UCSC.hg19'
* removing 'C:/Users/Nabaneeta/Documents/R/win-library/3.2/BSgenome.Hsapiens.UCSC.hg19'

The downloaded source packages are in
        ‘C:\Users\Nabaneeta\AppData\Local\Temp\RtmpieWiz1\downloaded_packages’
Warning messages:
1: running command '"C:/PROGRA~1/R/R-32~1.0/bin/i386/R" CMD INSTALL -l "C:\Users\Nabaneeta\Documents\R\win-library\3.2" C:\Users\NABANE~1\AppData\Local\Temp\RtmpieWiz1/downloaded_packages/BSgenome.Hsapiens.UCSC.hg19_1.4.0.tar.gz' had status 1 
2: In install.packages(pkgs = doing, lib = lib, ...) :
  installation of package ‘BSgenome.Hsapiens.UCSC.hg19’ had non-zero exit status

ADD REPLY
0
Entering edit mode
@martin-morgan-1513
Last seen 9 days ago
United States

I guess some of your packages are out-of-date or too new. Try

BiocInstaller::biocValid()

and follow suggestions there.

ADD COMMENT
0
Entering edit mode

Martin Morgan

I tried that. In the R 3.1 version it is installing and returning the following.

[1] TRUE

But when I run 

 library(BSgenome.Hsapiens.UCSC.hg19)

 

It gives the following error:

 

Loading required package: BSgenome
Loading required package: rtracklayer
Error : .onLoad failed in loadNamespace() for 'BatchJobs', details:
  call: makeClusterFunctionsInteractive()
  error: cannot open file 'C:/Users/Nabaneeta/Documents/R/win-library/3.1/checkmate/R/checkmate.rdb': No such file or directory
In addition: Warning messages:
1: package ‘BSgenome’ was built under R version 3.1.2 
2: package ‘rtracklayer’ was built under R version 3.1.3 
Error: package ‘rtracklayer’ could not be loaded

 

 

ADD REPLY
0
Entering edit mode

From the error message, a best guess is to try to reinstall 'checkmate', e.g., biocLite("checkmate").

Somehow the message you now report is completely different from the message you reported earlier, so I guess you are making progress...

ADD REPLY

Login before adding your answer.

Traffic: 619 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6