Comments (14)
Just chipping in that the source versions of those 3 problematic Bioconductor dependencies (‘S4Vectors’, ‘Biostrings’, ‘GenomicRanges’) seem to be resolved on R4.2.0 (architecture issue cited above notwithstanding).
BiocManager::install() was enough for S4Vectors and Biostrings.
For GenomicRanges it was necessary to compile from the source but it was pretty straightforward.
Hope that can help someone else! and thanks @iferres for developing Pagoo
from pagoo.
Thank you.
I think the problem is that you are using a very new R version which doesn't have those required packages available yet (sometimes it takes some time to cran to resolve all issues with package installation on newest R versions). May be you could try to downgrade R and try again. There's a R version manager which could make your life easier, although I haven't tried it yet: https://github.com/r-lib/rig
Let me know if you manage to make it work. Bests!
from pagoo.
Apparently Bioconductor still doesn't support Apple's chip compilation yet, from what I have read.
I'm not sure if it works, but you could try to compile S4Vectors from source. The last solution I could think is to use rosetta to virtualize an x86_64 architecture on your Mac, and make a fresh installation of everything: https://support.bioconductor.org/p/9137290/
Sorry I can't help you very much.
from pagoo.
Thank you for your time. Well, unfortunately, you are right with M1. I going to work with alternatives.
from pagoo.
Thank you!!
from pagoo.
Another option would be to try to install those dependencies packages from source, an then try to install pagoo again.
from pagoo.
Thank you for these alternatives, however, I tried to install pagoo on versions 3.4.4, 3.5.3 and 3.6.3, all of these versions don´t have pagoo available (that is the message from R). On another hand, 4.0.5 and 4.1.3 said:
installation of package ‘pagoo’ had non-zero exit status
I think that the real problem is the Bioconductor packages
‘S4Vectors’, ‘Biostrings’, ‘GenomicRanges’
What version are you using right now (R)?
Do you know any alternative to pagoo that you recommend?
Do you recommend downloading each package to my local machine and install from it?
from pagoo.
I going to install a conda environment using a specific R version that I hope works with pagoo
from pagoo.
Argh.. the dependency hell. I'm personally using R 4.0.5, but the continuous integration pipeline builds it on R 4.2.0 (on MacOS), so it should work.
The only thing I notice from your session is that you are using an ARM based Mac (M1 or M2), isn't it? On one side I would say there is the problem, but I notice that CRAN is able to build it for that architecture:
See:
https://cran.r-project.org/web/checks/check_results_pagoo.html
and specifically for ARM64 MacOS:
- release (R 4.2.0): https://www.r-project.org/nosvn/R.check/r-release-macos-arm64/pagoo-00check.html
- oldrel (R 4.1.1): https://www.r-project.org/nosvn/R.check/r-oldrel-macos-arm64/pagoo-00check.html
Still investigating..
from pagoo.
What does it says when you try to install S4Vectors
?
install.packages("S4Vectors")
from pagoo.
It said this:
Warning in install.packages :
package ‘S4Vectors’ is not available for this version of R
So, I think that the problem maybe is (1) with the version or with (2) my macbook (m1).
from pagoo.
However, I going to try to use a conda environment with R. I hope that works
from pagoo.
I created a virtual environment with conda (r version 4.2.0) and then I used:
if (!require("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install(version = "3.15")
All was good, however, when I try to install pagoo:
Warning messages:
1: In install.packages(...) :
installation of package ‘stringi’ had non-zero exit status
2: In install.packages(...) :
installation of package ‘RCurl’ had non-zero exit status
3: In install.packages(...) :
installation of package ‘stringr’ had non-zero exit status
4: In install.packages(...) :
installation of package ‘reshape2’ had non-zero exit status
5: In install.packages(...) :
installation of package ‘GenomeInfoDb’ had non-zero exit status
6: In install.packages(...) :
installation of package ‘Biostrings’ had non-zero exit status
7: In install.packages(...) :
installation of package ‘GenomicRanges’ had non-zero exit status
8: In install.packages(...) :
installation of package ‘ggfortify’ had non-zero exit status
9: In install.packages(...) :
installation of package ‘heatmaply’ had non-zero exit status
10: In install.packages(...) :
installation of package ‘pagoo’ had non-zero exit status
I really don't understand why doesn't work even in a virtual environment.
What do you think about this approach (virtual environment), where doesn´t work too?
from pagoo.
Given that the problem is the lack of compiled binaries for that architecture, I think it is reasonable to expect it to doesn't work.
I don't have experience with Rosetta, but for what I read, it could be a good alternative, as the link I gave you above says. In this reddit thread they recommend using Rosetta also.
from pagoo.
Related Issues (20)
- Add `phylo` object as metadata HOT 5
- Re-assign genes to other clusters
- Implement $drop(hard = TRUE) HOT 1
- load_pangenomeRDS() fails with old third party objects HOT 1
- Improve internal ggplot2 functions handling
- Bug when `$add_metadata()` with missing key at the end
- Add Willenbrock et al. 2007 coregenome fit function
- panaroo_2_pagoo error HOT 6
- Remove metadata option HOT 3
- Cluster annotations do not match cluster names HOT 5
- panaroo to pagoo, support for bakta annos HOT 29
- Is there a function pagoo_2_roary ? HOT 4
- roary_2_pagoo Error: subscript contains invalid names HOT 35
- gene IDs from Panaroo (1.3.2) presence/absence matrix file do not match IDs in GFF files HOT 6
- Reading gffs: Error in (function (..., row.names = NULL, check.rows = FALSE, check.names = TRUE, : row names contain missing values HOT 3
- how to add metadata in gene_presence_absence.csv file? HOT 1
- Failing to process gene_presence_absence.csv file
- Is it possible to run panaroo_2_pagoo without removing "refound_"? HOT 2
- Change Shell and Cloud levels HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pagoo.