Skip to content

Commit

Permalink
Merge pull request #379 from lilab-bcb/upgrade-starsolo
Browse files Browse the repository at this point in the history
Upgrade star version to 2.7.10b
  • Loading branch information
yihming authored Apr 18, 2023
2 parents dd3c48c + 67f1d47 commit a8c5107
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 6 deletions.
8 changes: 4 additions & 4 deletions docker/starsolo/2.7.10a/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.6.4.zip" -o "aw
./aws/install && \
rm awscliv2.zip

RUN wget https://github.com/alexdobin/STAR/archive/refs/tags/2.7.10a_alpha_220601.tar.gz && \
tar -xzvf 2.7.10a_alpha_220601.tar.gz && \
rm 2.7.10a_alpha_220601.tar.gz && \
RUN wget https://github.com/alexdobin/STAR/archive/refs/tags/2.7.10a_alpha_220818.tar.gz && \
tar -xzvf 2.7.10a_alpha_220818.tar.gz && \
rm 2.7.10a_alpha_220818.tar.gz && \
mkdir /software && \
mv STAR-2.7.10a_alpha_220601 /software/STAR && \
mv STAR-2.7.10a_alpha_220818 /software/STAR && \
cd /software/STAR/source && \
make STAR && \
mkdir -p /software/STAR/bin && \
Expand Down
50 changes: 50 additions & 0 deletions docker/starsolo/2.7.10b/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
FROM debian:bullseye-slim
SHELL ["/bin/bash", "-c"]

RUN apt-get -qq update && \
apt-get -qq -y install --no-install-recommends \
wget \
build-essential \
curl \
zlib1g-dev \
unzip \
gnupg \
python3 \
python3-pip

RUN pip3 install --upgrade pip --no-cache-dir && \
pip3 install numpy==1.24.2 --no-cache-dir && \
pip3 install pandas==2.0.0 --no-cache-dir && \
pip3 install h5py==3.8.0 --no-cache-dir && \
pip3 install pegasusio==0.8.0 --no-cache-dir && \
pip3 install stratocumulus==0.1.7 --no-cache-dir

RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list && \
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - && \
apt-get update -y && apt-get install -y google-cloud-cli=426.0.0-0

RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.11.13.zip" -o "awscliv2.zip" && \
unzip awscliv2.zip && \
./aws/install && \
rm awscliv2.zip

RUN wget https://github.com/alexdobin/STAR/archive/refs/tags/STAR_2.7.10b_alpha_230301.tar.gz && \
tar -xzvf STAR_2.7.10b_alpha_230301.tar.gz && \
rm STAR_2.7.10b_alpha_230301.tar.gz && \
mkdir /software && \
mv STAR-STAR_2.7.10b_alpha_230301 /software/STAR && \
cd /software/STAR/source && \
make STAR && \
mkdir -p /software/STAR/bin && \
ln -s /software/STAR/source/STAR /software/STAR/bin/STAR

RUN apt-get -qq -y remove curl gnupg wget curl && \
apt-get -qq -y autoremove && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /var/log/dpkg.log && \
ln -s /usr/bin/python3 /usr/bin/python

ADD https://raw.githubusercontent.com/lilab-bcb/cumulus/master/docker/monitor_script.sh /software
RUN chmod a+rx /software/monitor_script.sh

ENV PATH=/software:/software/STAR/bin:$PATH
4 changes: 2 additions & 2 deletions workflows/starsolo/starsolo_workflow.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ workflow starsolo_workflow {
String? soloOutFormatFeaturesGeneField3
# Number of CPUs to request per sample
Int num_cpu = 32
# STAR version to use. Currently support: 2.7.10a
String star_version = "2.7.10a"
# STAR version to use. Currently support: 2.7.10b
String star_version = "2.7.10b"
# Docker registry, default to quay.io/cumulus
String docker_registry = "quay.io/cumulus"
# Reference Index TSV
Expand Down

0 comments on commit a8c5107

Please sign in to comment.