Skip to content

Commit

Permalink
Merge pull request #3 from SouthernMethodistUniversity/biostats_mcgee
Browse files Browse the repository at this point in the history
Biostats mcgee
  • Loading branch information
rkalescky authored Feb 10, 2023
2 parents d8ad56a + c9b63da commit c8f44eb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
8 changes: 4 additions & 4 deletions biostats_mcgee/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,6 @@ RUN git clone --depth 1 --branch v1.3.3\
make -j install &&\
rm -rf /opt/RSEM

# Install R Packages
COPY install_packages.R /
RUN Rscript /install_packages.R

# GATK4
RUN git clone --depth 1 --branch 4.2.6.1\
https://github.com/broadinstitute/gatk.git /opt/gatk &&\
Expand All @@ -87,3 +83,7 @@ RUN git clone --depth 1 --branch v1.9.0\
cmake .. &&\
make install

# Install R Packages
COPY install_packages.R /
RUN Rscript /install_packages.R

1 change: 1 addition & 0 deletions biostats_mcgee/build_images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ docker build --no-cache --progress=plain\
docker run -v /var/run/docker.sock:/var/run/docker.sock\
-v $PWD:/output --privileged -t --rm singularityware/docker2singularity\
-n ${img} ${name}:${version} |& tee -a build.log
mv ${img%.sif}.simg ${img}

# Change Singularity image permissions
if [[ $(uname -s) == "Linux" ]]; then
Expand Down
7 changes: 6 additions & 1 deletion biostats_mcgee/install_packages.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
cran = list(
packages = c(
"BiocManager")
"BiocManager",
"ade4",
"vcfR",
"adegenet",
"reshape2",
"ggplot2")
)

bioc = list(
Expand Down

0 comments on commit c8f44eb

Please sign in to comment.