-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing error on Mac #124
Comments
This is due to the compilation error in the Before the official support for M1 arrives, it's probably easier to install the intel version of R and emulation by Rosetta 2. |
Thank you @ccwang002 . I could finally solve it. It goes back to M1 macs. I installed the other version of R and then I successfully installed the ensembldb. annotations <- genes(x = edb, return.type = "data.frame") Error: |
Can you please ensure that |
Thanks. This is what I got:
However, I still get the same error |
can you please post the output from |
Sorry If I may answer late because of the time zone.
Matrix products: default locale: attached base packages: other attached packages: loaded via a namespace (and not attached): |
Hm, strange. When you type > genes
standardGeneric for "genes" defined from package "GenomicFeatures"
function (x, ...)
standardGeneric("genes")
<bytecode: 0x557246c8d5c0>
<environment: 0x557246ca44e8>
Methods may be defined for arguments: x
Use showMethods(genes) for currently available ones. Maybe some other package defines another |
This is what I get: standardGeneric for "genes" defined from package "GenomicFeatures" function (x, ...) |
Very strange indeed. So it should work. Can you maybe try this minimal example (in a new R session, without loading any other R packages or data: > library(ensembldb)
> library(EnsDb.Hsapiens.v86)
> edb <- EnsDb.Hsapiens.v86
> tmp <- genes(edb, return.type = "data.frame")
> head(tmp)
gene_id gene_name gene_biotype gene_seq_start
1 ENSG00000223972 DDX11L1 transcribed_unprocessed_pseudogene 11869
5 ENSG00000227232 WASH7P unprocessed_pseudogene 14404
6 ENSG00000278267 MIR6859-1 miRNA 17369
7 ENSG00000243485 MIR1302-2 lincRNA 29554
9 ENSG00000237613 FAM138A lincRNA 34554
12 ENSG00000268020 OR4G4P unprocessed_pseudogene 52473
gene_seq_end seq_name seq_strand seq_coord_system symbol
1 14409 1 1 chromosome DDX11L1
5 29570 1 -1 chromosome WASH7P
6 17436 1 -1 chromosome MIR6859-1
7 31109 1 1 chromosome MIR1302-2
9 36081 1 -1 chromosome FAM138A
12 53312 1 1 chromosome OR4G4P
entrezid
1 100287596, 100287102, 727856, 84771
5 NA
6 102466751
7 105376912, 100302278
9 654835, 645520, 641702
12 NA
|
Hello. I have a problem to install the 'ensembldb' package on my R studio, based on my Mac M1. However, I get several errors.
Error:
"cram/cram_io.c:61:10: fatal error: 'lzma.h' file not found
#include <lzma.h>
^~~~~~~~
1 error generated.
make[1]: *** [cram/cram_io.o] Error 1
make: *** [htslib] Error 2
ERROR: compilation failed for package ‘Rhtslib’
ERROR: dependency ‘Rhtslib’ is not available for package ‘Rsamtools’
ERROR: dependency ‘Rsamtools’ is not available for package ‘GenomicAlignments’
ERROR: dependencies ‘Rsamtools’, ‘GenomicAlignments’ are not available for package ‘rtracklayer’
ERROR: dependency ‘rtracklayer’ is not available for package ‘GenomicFeatures’
ERROR: dependencies ‘GenomicFeatures’, ‘rtracklayer’, ‘Rsamtools’ are not available for package ‘ensembldb’
My R version:
Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/lib/libRlapack.dylib
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
The text was updated successfully, but these errors were encountered: