-
Notifications
You must be signed in to change notification settings - Fork 80
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
xcms on conda #775
Comments
installing the bioconda-xcms: conda create -n xcms bioconductor-xcms This works, but this installs a version of R from before COVID! And i can't actually load XCMS:
Loading required package: mzR
Error: package or namespace load failed for ‘mzR’ in dyn.load(file, DLLpath = DLLpath, ...):
|
Hi, thanks for reporting. Can you link to the conda recipe that needs fixing ? And open an issue there as well, and cross-link the two ? I am not familiar with the update policy of BioC packages in Conda, so we might need external help. |
I will do my best to report appropriately: but here is the link to the recipe: https://github.com/bioconda/bioconda-recipes/tree/master/recipes/bioconductor-xcms I didn't look closely at this prior to your reply, but it appears the recipe is actually calling for R 4.0.0.
|
Not asking for R-4.0.0, but instead it wants to install xcms-4.0.0 from BioC-3.18: |
Try to create a clean conda env
This installs a R 4.x for me and |
That was magical. it worked the first try. So it was pulling an older bioconda-xcms from one of the other channels? Thanks @bernt-matthias. |
You can check which channels have been used with Just in case, if you are working for an institution with more then 200 people you might want to avoid the default channel and switch to miniforge. See https://www.fz-juelich.de/en/rse/the_latest/the-anaconda-is-squeezing-us |
Hi, |
thanks @JohanLassen - i will certainly take a look at this and learn from it! |
just a quick heads up for current development we're doing: we're also working on a xcms result object that stores all data in a HDF5 file - this will reduce the amount of required memory (at the cost of more I/O) and is tailored for very large scale experiments. |
i am trying to setup on an HPC system using conda. I have tried R 4.4.1, as well as R 4.3.1, and in each case i cannot seem to get xcms to load for various reasons - usually due to some compatibility issue or another. i was wondering if there is a guide out there in the world to get one started down this path?
I am running conda 24.7.1 via miniconda3.
https://anaconda.org/bioconda/bioconductor-xcms - this site has multiple commands available for installation, which makes me think i am not the only one struggling with this.
BELOW IS CODE to install xcms, and the progress and output:
(r441) bash-4.4$ conda install bioconda::bioconductor-xcms
Collecting package metadata (current_repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Solving environment: unsuccessful attempt using repodata from current_repodata.json, retrying with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Solving environment: -
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
Package libgcc-ng conflicts for:
python=3.12 -> libgcc-ng[version='>=11.2.0']
python=3.12 -> bzip2[version='>=1.0.8,<2.0a0'] -> libgcc-ng[version='>=7.3.0|>=7.5.0']
Package zlib conflicts for:
python=3.12 -> zlib[version='>=1.2.13,<1.3.0a0']
python=3.12 -> sqlite[version='>=3.45.3,<4.0a0'] -> zlib[version='>=1.2.12,<1.3.0a0|>=1.2.13,<2.0a0']
Package xz conflicts for:
python=3.12 -> xz[version='>=5.4.2,<6.0a0|>=5.4.5,<6.0a0|>=5.4.6,<6.0a0']
bioconda::bioconductor-xcms -> r-base[version='>=4.3,<4.4.0a0'] -> xz[version='5.2.*|>=5.2.4,<6.0a0|>=5.2.5,<6.0a0|>=5.4.2,<6.0a0']
Package ncurses conflicts for:
python=3.12 -> ncurses[version='>=6.4,<7.0a0']
python=3.12 -> readline[version='>=8.1.2,<9.0a0'] -> ncurses[version='>=6.1,<7.0a0|>=6.2,<7.0a0|>=6.3,<7.0a0']The following specifications were found to be incompatible with your system:
Your installed version is: 2.28
R version 4.3.1 (2023-06-16) -- "Beagle Scouts"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: x86_64-conda-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
The text was updated successfully, but these errors were encountered: