Getting following error on displaying the content of bam file.
> aln <- readGAlignments("sample.bam")
> aln
GAlignments object with 32984922 alignments and 0 metadata columns:
Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘rglist’ for signature ‘"GAlignments"’
> sessionInfo()
R version 3.4.2 (2017-09-28)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)
Matrix products: default
BLAS: /home/bioinformatics/software/R/R-3.4.2/lib64/R/lib/libRblas.so
LAPACK: /home/bioinformatics/software/R/R-3.4.2/lib64/R/lib/libRlapack.so
locale:
[1] LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_GB.UTF-8 LC_COLLATE=en_GB.UTF-8
[5] LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8
[7] LC_PAPER=en_GB.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats4 parallel stats graphics grDevices utils datasets
[8] methods base
other attached packages:
[1] GenomicAlignments_1.12.2 Rsamtools_1.28.0
[3] Biostrings_2.44.2 XVector_0.16.0
[5] SummarizedExperiment_1.6.5 DelayedArray_0.2.7
[7] matrixStats_0.52.2 Biobase_2.36.2
[9] GenomicRanges_1.30.0 GenomeInfoDb_1.14.0
[11] IRanges_2.12.0 S4Vectors_0.16.0
[13] BiocGenerics_0.24.0
loaded via a namespace (and not attached):
[1] lattice_0.20-35 bitops_1.0-6 grid_3.4.2
[4] zlibbioc_1.22.0 Matrix_1.2-11 BiocParallel_1.10.1
[7] tools_3.4.2 RCurl_1.95-4.8 compiler_3.4.2
[10] GenomeInfoDbData_0.99.0
Hi, i have a similar issue that i can solve.
when i run
when i try to install
Does this mean i cannot use GenomicAlignments with R3.6.1? 3.6.0 does not exist for mac
thanks
Use
BiocManager::valid()
to test for whether your installation is correct or not.BiocManager
replacesBiocInstaller
.