[Bioc-devel] Rsamtools/AnnotationHub Error for FaFile - multiple methods tables found for ‘relistToClass’
Martin.Morgan at roswellpark.org
Mon Dec 21 22:33:21 CET 2015
Hi Sonali --
relistToClass was originally in IRanges
Packages such as Biostrings that Depend: or Import: IRanges and then create a 'relistToClass' method created a methods table on INSTALLATION, noting that the generic is in IRanges.
The 'relistToClass' generic was moved from IRanges to S4Vectors, with appropriate version bumps for these packages.
Loading the 'old' version of Biostrings (library(Biostrings)) now sees a new generic in S4Vectors, but has the old methods table that thinks the methods are being added to the IRanges generic.
This results in the warning "multiple methods tables found for ‘relistToClass’".
The end-user solution is to re-install the Biostrings package (biocLite("Biostrings")). This will use the correct methods table.
Any package that defines a method on relistToClass requires updating; there are similar problems with 'space' and 'unlist'. I believe the 'core' packages requiring updating (defining methods, but svn revision older than r111605) include c("GenomicRanges", "rtracklayer", "GenomicAlignments", "Biostrings", "BSgenome", "VariantAnnotation").
Please let me know if the problem continues after re-installing these packages.
I have bumped the versions of each of these packages, so that biocLite() after tomorrow-ish should force these to be re-installed.
Usually 'multiple methods tables' is a warning; AnnotationHub:::.require promotes the warning to an error.
From: Bioc-devel [bioc-devel-bounces at r-project.org] on behalf of Sonali B Arora [sarora at fredhutch.org]
Sent: Monday, December 21, 2015 3:08 PM
To: bioc-devel at r-project.org
Subject: [Bioc-devel] Rsamtools/AnnotationHub Error for FaFile - multiple methods tables found for ‘relistToClass’
I am trying to get a FaFile from AnnotationHub - It fails with the
ah = query(ah , c("Homo sapiens", "org", "GRCH37", "FASTA","75"))
hg37_rna = ah[["AH10879"]]
> hg37_rna = ah[["AH10879"]]
Error: failed to load 'AnnotationHub' resource
reason: require(“Rsamtools”) failed: multiple methods tables found
R Under development (unstable) (2015-10-15 r69519)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 14.04.2 LTS
 LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
 LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
 LC_PAPER=en_US.UTF-8 LC_NAME=C
 LC_ADDRESS=C LC_TELEPHONE=C
 LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
 stats4 parallel stats graphics grDevices utils datasets
 methods base
other attached packages:
 GenomeInfoDb_1.7.3 IRanges_2.5.18 S4Vectors_0.9.15
 AnnotationHub_2.3.6 BiocGenerics_0.17.2
loaded via a namespace (and not attached):
 Rcpp_0.12.2 AnnotationDbi_1.33.3
 magrittr_1.5 zlibbioc_1.17.0
 xtable_1.8-0 R6_2.1.1
 stringr_1.0.0 httr_1.0.0
 tools_3.3.0 Biobase_2.31.3
 DBI_0.3.1 htmltools_0.2.6
 digest_0.6.8 interactiveDisplayBase_1.9.0
 shiny_0.12.2 curl_0.9.4
 RSQLite_1.0.0 mime_0.4
 stringi_1.0-1 BiocInstaller_1.21.2
Thanks and Regards,
Bioc-devel at r-project.org mailing list
This email message may contain legally privileged and/or confidential information. If you are not the intended recipient(s), or the employee or agent responsible for the delivery of this message to the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or use of this email message is prohibited. If you have received this message in error, please notify the sender immediately by e-mail and delete this email message from your computer. Thank you.
More information about the Bioc-devel