You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to provide a docker file in order to easily use this?
I have tried one with SamTools installed, but various dependency version requirements in the cmake file makes it really impossible.
My only success was with ubuntu jammy, but when I run vntrseek.pl --HELP I get, malloc_consolidate(): unaligned fastbin chunk detected. this may be due to incorrect versions being used in building.
Any help is appreciated. Here is the Dockerfile I used.
ARG SAMTOOLS_VER="1.18"
FROM ubuntu:jammy as builder
ARG SAMTOOLS_VER
ARG DEBIAN_FRONTEND=noninteractive
# install dependencies required for compiling samtools
RUN apt-get update && apt-get install --no-install-recommends -y \
libncurses5-dev \
libbz2-dev \
liblzma-dev \
libcurl4-gnutls-dev \
zlib1g-dev \
libssl-dev \
gcc \
wget \
make \
perl \
bzip2 \
gnuplot \
ca-certificates
# download, compile, and install samtools
RUN wget https://github.com/samtools/samtools/releases/download/${SAMTOOLS_VER}/samtools-${SAMTOOLS_VER}.tar.bz2 && \
tar -xjf samtools-${SAMTOOLS_VER}.tar.bz2 && \
cd samtools-${SAMTOOLS_VER} && \
./configure && \
make && \
make install
### start of app stage ###
FROM ubuntu:jammy as app
ARG SAMTOOLS_VER
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install --no-install-recommends -y \
libncurses5-dev \
libbz2-dev \
liblzma-dev \
libcurl4-gnutls-dev \
zlib1g-dev \
libssl-dev \
build-essential \
g++ \
gcc \
glibc-source \
clang \
wget \
make \
cmake \
perl \
zlib1g \
libncurses5 \
bzip2 \
liblzma-dev \
libcurl4-gnutls-dev \
gnuplot \
sqlite3 \
libsqlite3-dev \
libdbi-perl \
libdbd-sqlite3-perl libdatetime-perl libxml-simple-perl libdigest-md5-perl \
ca-certificates git \
&& apt-get autoclean && rm -rf /var/lib/apt/lists/*
## needed by vntr make ##
RUN ln -s /lib/x86_64-linux-gnu/libc.so.6 /lib/libc.so.6
# copy in samtools executables from builder stage
COPY --from=builder /usr/local/bin/* /usr/local/bin/
ENV LC_ALL=C
RUN wget -O vntr.tar.gz https://github.com/Benson-Genomics-Lab/VNTRseek/archive/refs/tags/v2.0.3.tar.gz && tar -zxvf vntr.tar.gz && rm vntr.tar.gz && cd VNTRseek-2.0.3 && mkdir build && cd build && cmake -DCMAKE_C_COMPILER=clang .. && make install
The text was updated successfully, but these errors were encountered:
Would it be possible to provide a docker file in order to easily use this?
I have tried one with SamTools installed, but various dependency version requirements in the cmake file makes it really impossible.
My only success was with ubuntu jammy, but when I run
vntrseek.pl --HELP
I get,malloc_consolidate(): unaligned fastbin chunk detected
. this may be due to incorrect versions being used in building.Any help is appreciated. Here is the Dockerfile I used.
The text was updated successfully, but these errors were encountered: