-
Notifications
You must be signed in to change notification settings - Fork 142
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
Problems with install DADA2 in R version 4.1 #1404
Comments
The warning message does not indicate a problem installing dada2, just that the same version of the package is already there, so it wasn't reinstalled. If |
Hello,
BiocManager::install("dada2") Here is the installation output (it looks like it starts to install fine): _'getOption("repos")' replaces Bioconductor standard repositories, see '?repositories' for replacement repositories: Bioconductor version 3.13 (BiocManager 1.30.16), R 4.1.1 (2021-08-10) Packages which are only available in source form, and may need compilation of trying URL 'https://bioconductor.org/packages/3.13/bioc/src/contrib/Rsamtools_2.8.0.tar.gz'
|
Please see the answer/solution for this issue on the Bioconductor forum: https://support.bioconductor.org/p/9137290/ Short version, for the time being using Bioconductor/R via Rosetta emulation mode on M1 Macs will be easier to manage. |
EDIT: See also issue #1375 Just a note for the adventurous types trying to compile dada2 native M1, you can get part of the way there by installing the M1-compiled dependencies here: https://mac.r-project.org/libs-arm64/ (see the instructions at the bottom of that page for downloading and installing). You need (minimally) gfortran and xz to get Rsamtools and ShortRead installed. However, currently
|
I am having the exact same issue as @cjfields |
@GiulianoColosimo Thanks for the ping on this. I am now in possession of an M1 Macbook Pro, so this is something I should revisit. All the x86 specific vectorized code is contained and can be bypassed by a simple flag, so a fix should be straightforward I think. In fact this pull request #1147 may already do the trick, I just hadn't been able to test it on an ARM system until recently. |
@benjjneb Thanks for getting back on this. I have looked at the pull request you mentioned. Using the see2neon solution seems a little above my pay grade, but I am ready to go that way if I cannot have dada2 work. I am running on a MBPro with M1 Pro. Just a little afraid of doing something I do not completely understand eheh. |
Hi, I'm having the same problem while trying to install dada2 on my ARM64 Macbook, found this thread via Google, and am wondering whether the problem has already been resolved?
|
@wolfganghuber Sorry for slow response. No this isn't solved yet. I do now have a working branch on my new M1 Mac, largely based on the previous PR by @terjekv: #1147 I'm still in the process of transferring my "working environment" over to my new M1 mac, but right now I anticipate getting this pushed up to the devel branch in the next week or two. |
Hi there, I have been able to install most R packages (under R version 4.2.1) I need with the M1 MB pro, except for dada2. |
Sorry for this being delayed. This fix will be in (to natively compile on arm64 architectures like the M1) in the next release of dada2 this Fall. (And hopefully much sooner on the devel branch) |
Quick update, the latest release (package version 1.26, in Bioconductor 1.16) now supports ARM architectures. Github release link: https://github.com/benjjneb/dada2/releases/tag/v1.26 BioC release link: https://bioconductor.org/packages/release/bioc/html/dada2.html |
I'll give it a try, thanks @benjjneb ! |
That’s great!
Thank you, Ben.
Now I seem to be able to build the MSMB book on ARM.
Kind regards
Wolfgang
…---
Wolfgang Huber
EMBL — https://www.embl.org/groups/huber
Il giorno 03.11.2022, alle ore 22:29, Benjamin Callahan ***@***.***> ha scritto:
Quick update, the latest release (package version 1.26, in Bioconductor 1.16) now supports ARM architectures.
Github release link: https://github.com/benjjneb/dada2/releases/tag/v1.26
BioC release link: https://bioconductor.org/packages/release/bioc/html/dada2.html
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Thank you for the work on this @benjjneb ! I've been keeping an eye out for this and looking forward to using it on some re-analysis. |
This installed without issue, thanks @benjjneb |
@benjjneb I'm trying to install dada2 with last version of Bioconductor on my new mac, but it fail to complete the installation of different dependencies.
Suggestion? It's first time working on a Mac, I always used a ubuntu computer. |
@luisymbio Since this is not being caused by dada2, but rather by the failed dependency RcppEigen, I would recommend trying the Bioconductor support site: https://support.bioconductor.org/ I don't have anything intelligent to say about why RcppEigen is failing. |
I have problems intalling DADA2 in the latest version of R 4.1
Bioconductor version 3.13 (BiocManager 1.30.16), R 4.1.1 (2021-08-10)
Installation paths not writeable, unable to update packages
path: C:/Program Files/R/R-4.1.1/library
packages:
survival
Warning message:
package(s) not installed when version(s) same as current; use
force = TRUE
to re-install: 'dada2'The text was updated successfully, but these errors were encountered: