Open shenker opened 1 year ago
I didn't extensively test how much of this could be trimmed further, but I found I can drop abseil-cpp
(which is only available as an older version compared to libabseil
) when building this on mac. This allowed me to use a python3.12 env whereas the current GraphAligner conda_osx requirements can only go up to python3.9 it seems.
I got identical output when aligning some HiFi reads to a minigraph gfa from the conda installed version and the one I locally compiled with the updated deps, so presumably none of these changes affected anything.
dependencies:
- clang_osx-64=18
- jemalloc
- libboost
- libprotobuf-static
- pkg-config
- protobuf=4
- python=3.12
- sdsl-lite
- sparsehash
- zlib
- boost
- ca-certificates
- openssl
Hi,
Putting this here in case it helps anyone.
When I run
micromamba env create -f CondaEnvironment_linux.yml
(adapted from the compilation instructions, using micromamba instead of conda), I get an error:This turned out to be because I had
channel_priority: strict
in my~/.condarc
. Removing that fixed the issue. Alternatively, you can runmicromamba env create -f CondaEnvironment_linux.yml --channel-priority flexible
.I found that I could get GraphAligner to compile only pinning three versions, using the following
environment.yml
:Eventually it would be nice to get GraphAligner to compile without these version pins. It should be relatively straightforward:
#include <cstdint>
must be added, otherwise g++ gives meerror: 'uint32_t' has not been declared
.boost
maintainers to add a newlibboost-static
package or include static libraries inlibboost-devel
(https://github.com/conda-forge/boost-feedstock/issues/159). The above version pin useslibboost
from theanaconda
channel instead ofconda-forge
, which does include static libs.jemalloc
package (https://github.com/conda-forge/jemalloc-feedstock/issues/24).