Skip to content

Commit

Permalink
docker dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
explodecomputer committed Nov 18, 2024
1 parent 94ea1c5 commit 0e758b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 18 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rocker/r-ver:latest as renv_base
FROM rocker/r-ver:latest AS renv_base

WORKDIR /usr/local/src/myscripts
RUN apt-get update && \
Expand All @@ -13,7 +13,8 @@ RUN apt-get update && \
libxt-dev \
libharfbuzz-dev \
libtiff-dev \
libzstd-dev
libzstd-dev \
libtiff5

# Wait until MRCIEU R-Universe has built latest version of the TwoSampleMR binary
# Should be 1 hour or maybe overnight
Expand Down
17 changes: 1 addition & 16 deletions utils/check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,6 @@ else
cat $tf
fi

echo "Checking regenie..."
if ./bin/regenie_v3.6.gz_x86_64_Linux_mkl --version > $tf 2>&1; then
echo "All good!"
else
cat $tf
fi

echo "Checking bgenix..."
if ./bin/bgenix -help > $tf 2>&1; then
echo "All good!"
else
cat $tf
fi


echo "Checking cohort name..."
if [[ ! $cohort_name =~ ^[a-zA-Z0-9_]+$ ]]; then
echo "Error: Please check your config.env. The variable cohort_name must be alphanumeric with no spaces. It will be used to generate your results files."
Expand All @@ -55,7 +40,7 @@ fi


# check build = hg19 or hg38
if [[ $build != "hg19" && $build != "hg38" ]]; then
if [[ $genome_build != "hg19" && $genome_build != "hg38" ]]; then
echo "Error: build specified in config.env must be 'hg19' or 'hg38'"
exit 1
fi
Expand Down

0 comments on commit 0e758b6

Please sign in to comment.