Skip to content

Commit

Permalink
update to caveman 1.15.4
Browse files Browse the repository at this point in the history
  • Loading branch information
blex-max committed Aug 27, 2024
1 parent e3ca51b commit ed62e8f
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 26 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@
/MYMETA.yml
/reports
.vstags
*.sif
9 changes: 4 additions & 5 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# CHANGES

## 1.19.2
## 1.19.0

- Update ci to include copying generateCavemanUMNormVCF into the image
- Update to caveman 1.15.4
- Update Dockerfile to include copying generateCavemanUMNormVCF into the image, and tweak CI to understand that
- Update Dockerfile to use setup.sh install method from caveman repo and ensure linasm.so is on LD PATH

## 1.19.1

- Update Dockerfile to include copying generateCavemanUMNormVCF into the image

## 1.18.3

Expand Down
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ USER root
# ALL tool versions used by opt-build.sh
ENV VER_VCFTOOLS="0.1.16"
ENV VER_CGPVCF="v2.2.1"
ENV VER_CAVEMAN="1.15.3"
ENV VER_CAVEMAN="1.15.4"
ENV VER_BEDTOOLS="2.27.1"
ENV VER_CGPCAVEPOSTPROC="1.12.0"

Expand All @@ -20,6 +20,8 @@ RUN apt-get install -yq --no-install-recommends zlib1g-dev
RUN apt-get install -yq --no-install-recommends libbz2-dev
RUN apt-get install -yq --no-install-recommends liblzma-dev
RUN apt-get install -yq --no-install-recommends libcurl4-openssl-dev
RUN apt-get install -yq --no-install-recommends wget
RUN apt-get install -yq --no-install-recommends unzip


RUN locale-gen en_US.UTF-8
Expand All @@ -45,7 +47,7 @@ FROM ubuntu:20.04

LABEL maintainer="[email protected]" \
uk.ac.sanger.cgp="Cancer, Ageing and Somatic Mutation, Wellcome Trust Sanger Institute" \
version="1.19.2" \
version="1.19.0" \
description="cgpCaVEManWrapper docker"


Expand Down
37 changes: 18 additions & 19 deletions build/opt-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,18 @@ export PERL5LIB=`echo $INST_PATH/lib/perl5:$PERL5LIB | perl -pe 's/:\$//;'`
export C_INCLUDE_PATH=`echo $INST_PATH/include/ | perl -pe 's/:\$//;'`
set -u

## linasm library required by CaVEMan core
if [ ! -e $SETUP_DIR/linasm.success ]; then
curl -sSL --retry 10 https://sourceforge.net/projects/linasm/files/linasm-1.13%28stable%29.tar.gz/download > distro.tar.gz
rm -rf distro/*
tar --strip-components 1 -C distro -xzf distro.tar.gz
cd distro
make
make install prefix=$INST_PATH
cd $SETUP_DIR
rm -rf distro.* distro/*
touch $SETUP_DIR/linasm.success.success
fi
# ## linasm library required by CaVEMan core
# if [ ! -e $SETUP_DIR/linasm.success ]; then
# curl -sSL --retry 10 https://sourceforge.net/projects/linasm/files/linasm-1.13%28stable%29.tar.gz/download > distro.tar.gz
# rm -rf distro/*
# tar --strip-components 1 -C distro -xzf distro.tar.gz
# cd distro
# make
# make install prefix=$INST_PATH
# cd $SETUP_DIR
# rm -rf distro.* distro/*
# touch $SETUP_DIR/linasm.success.success
# fi


## vcftools
Expand Down Expand Up @@ -97,13 +97,12 @@ if [ ! -e $SETUP_DIR/CaVEMan.success ]; then
rm -rf distro/*
tar --strip-components 1 -C distro -xzf distro.tar.gz
cd distro
mkdir -p c/bin

make clean
make -j$CPU prefix=$INST_PATH
cp bin/caveman $INST_PATH/bin/.
cp bin/mergeCavemanResults $INST_PATH/bin/.
cp bin/generateCavemanUMNormVCF $INST_PATH/bin/.
mkdir install
./setup.sh install/
cp install/bin/caveman $INST_PATH/bin/.
cp install/bin/mergeCavemanResults $INST_PATH/bin/.
cp install/bin/generateCavemanUMNormVCF $INST_PATH/bin/.
cp -r install/lib/* $INST_PATH/lib
cd $SETUP_DIR
rm -rf distro.* distro/*
touch $SETUP_DIR/CaVEMan.success
Expand Down

0 comments on commit ed62e8f

Please sign in to comment.