Closed maggieweng closed 1 year ago
Dear Maggie,
I have being using MacOS version of CoverM. By default, it iss not supported/tested on MacOS via conda. You have to compile from source yourself. You need to install Rust first and then clone the repo to compile yourself. Other dependencies such as bwa samtools and fastANI should also be installed. Ben correct me if something is not clear.
Jianshu
Thanks so much for your help! Did it used to be supported on MacOS? I was able to compile from source though, so it is working now.
On Fri, Jul 8, 2022 at 12:22 PM Jianshu_Zhao @.***> wrote:
Dear Maggie,
I have being using MacOS version of CoverM. By default, it iss not supported/tested on MacOS via conda. You have to compile from source yourself. You need to install Rust first and then clone the repo to compile yourself. Other dependencies such as bwa samtools and fastANI should also be installed. Ben correct me if something is not clear.
Jianshu
— Reply to this email directly, view it on GitHub https://github.com/wwood/CoverM/issues/123#issuecomment-1179165311, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUWUGN4GCH646KF5UYQS7UDVTBIUJANCNFSM53BG444Q . You are receiving this because you authored the thread.Message ID: @.***>
Hi both, yes that's right it should work on OSX but I haven't tested specficially. If you compile from source and then run cargo test
that should allay most fears.
I've attempted to run the CI on macosx now that GitHub actions seems to support this - will see how it goes.
The CI now works on OSX, so I'm going to close this. On the conda side, I guess an osx package can be made that is the same sans bwa_mem2 (when the next version of coverm is released).
For anyone that gets here before then, in order to get it to work on osx you have to download from source, use the coverm-osx.yml environment file to create the conda env, and then it should work except for bwa_mem2-based mapping.
Thanks, ben
Hello Ben,
Thanks for the update and yes next release when both bwa mem and mem2 are supported, a conda package for macOS can be made and added to the anaconda coverm website for those want want to use it on macOS via conda.
Jianshu
I am unable to install CoverM both through bioconda and the precompiled binary (my macos says it "cannot execute binary file"). When I try to install with bioconda, it fails to collect package metadata. Is anyone else having this issue? (ETA: this is the error report from bioconda):
Collecting package metadata (current_repodata.json): failed
>>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
$ /Users/jbl/miniconda3/bin/conda install -c bioconda coverm
environment variables: CIO_TEST=populated config files : /Users/jbl/.condarc conda version : 4.10.3 conda-build version : not installed python version : 3.9.5.final.0 virtual packages : osx=10.14.6=0 unix=0=0 __archspec=1=x86_64 base environment : /Users/jbl/miniconda3 (writable) conda av data dir : /Users/jbl/miniconda3/etc/conda conda av metadata url : None channel URLs : https://conda.anaconda.org/bioconda/osx-64 https://conda.anaconda.org/bioconda/noarch https://conda.anaconda.org/conda-forge/osx-64 https://conda.anaconda.org/conda-forge/noarch https://repo.anaconda.com/pkgs/main/osx-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/osx-64 https://repo.anaconda.com/pkgs/r/noarch package cache : /Users/jbl/miniconda3/pkgs /Users/jbl/.conda/pkgs envs directories : /Users/jbl/miniconda3/envs /Users/jbl/.conda/envs platform : osx-64 user-agent : conda/4.10.3 requests/2.25.1 CPython/3.9.5 Darwin/18.7.0 OSX/10.14.6 UID:GID : 502:20 netrc file : None offline mode : False
An unexpected error has occurred. Conda has prepared the above report.