Skip to content

Commit b9302df

Browse files
committed
removing all non-apt installs
1 parent 1c01bae commit b9302df

1 file changed

Lines changed: 70 additions & 70 deletions

File tree

docker/Dockerfile

Lines changed: 70 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -71,76 +71,76 @@ RUN git clone https://github.com/nesi/training-environment-k8s-utils.git /opt/oo
7171
RUN echo "#!/bin/bash" > /bin/module \
7272
&& chmod +x /bin/module
7373

74-
# Install Python-based tools in a virtual environment
75-
RUN python3 -m venv /opt/venv && \
76-
/opt/venv/bin/pip install --upgrade pip && \
77-
/opt/venv/bin/pip install \
78-
multiqc \
79-
cutadapt && \
80-
# Create symlinks to the venv binaries
81-
ln -s /opt/venv/bin/multiqc /usr/local/bin/ && \
82-
ln -s /opt/venv/bin/cutadapt /usr/local/bin/
83-
84-
# Install FastQC
85-
RUN wget https://www.bioinformatics.babraham.ac.uk/projects/fastqc/fastqc_v0.12.1.zip && \
86-
unzip fastqc_v0.12.1.zip && \
87-
mv FastQC /opt/ && \
88-
chmod +x /opt/FastQC/fastqc && \
89-
ln -s /opt/FastQC/fastqc /usr/local/bin/fastqc && \
90-
rm fastqc_v0.12.1.zip
91-
92-
# Install samtools
93-
RUN wget https://github.com/samtools/samtools/releases/download/1.18/samtools-1.18.tar.bz2 && \
94-
tar -xjf samtools-1.18.tar.bz2 && \
95-
cd samtools-1.18 && \
96-
./configure --prefix=/usr/local && \
97-
make && \
98-
make install && \
99-
cd .. && \
100-
rm -rf samtools-1.18*
101-
102-
# Install hisat2
103-
RUN wget https://cloud.biohpc.swmed.edu/index.php/s/fE9QCsX3NH4QwBi/download -O hisat2-2.2.1-Linux_x86_64.zip && \
104-
unzip hisat2-2.2.1-Linux_x86_64.zip && \
105-
cd hisat2-2.2.1/ && \
106-
make && \
107-
cd .. && \
108-
mv hisat2-2.2.1/hisat2* /usr/local/bin/ && \
109-
mv hisat2-2.2.1/extract_exons* /usr/local/bin/ && \
110-
rm -rf hisat2-2.2.1*
111-
112-
# Install subread
113-
RUN wget https://sourceforge.net/projects/subread/files/subread-2.0.3/subread-2.0.3-Linux-x86_64.tar.gz/download -O subread-2.0.3-Linux-x86_64.tar.gz && \
114-
tar -xzf subread-2.0.3-Linux-x86_64.tar.gz && \
115-
cp -r subread-2.0.3-Linux-x86_64/bin/* /usr/local/bin/ && \
116-
rm -rf subread-2.0.3*
117-
118-
# Install bamtools
119-
RUN apt-get update && apt-get install -y cmake && \
120-
git clone https://github.com/pezmaster31/bamtools.git && \
121-
cd bamtools && \
122-
mkdir build && \
123-
cd build && \
124-
cmake -DCMAKE_INSTALL_PREFIX=/usr/local .. && \
125-
make && \
126-
make install && \
127-
cd ../.. && \
128-
rm -rf bamtools && \
129-
apt-get clean && rm -rf /var/lib/apt/lists/*
130-
131-
# Install salmon
132-
RUN wget https://github.com/COMBINE-lab/salmon/releases/download/v1.10.0/salmon-1.10.0_linux_x86_64.tar.gz && \
133-
tar -xzf salmon-1.10.0_linux_x86_64.tar.gz && \
134-
cp -r salmon-latest_linux_x86_64/bin/* /usr/local/bin/ && \
135-
cp -r salmon-latest_linux_x86_64/lib/* /usr/local/lib/ && \
136-
rm -rf salmon-1.10.1*
137-
138-
139-
# Install STAR with required dependencies
140-
RUN wget https://github.com/alexdobin/STAR/releases/download/2.7.11b/STAR_2.7.11b.zip && \
141-
unzip STAR_2.7.11b.zip && \
142-
cp STAR_2.7.11b/Linux_x86_64/STAR* /usr/local/bin/ && \
143-
rm -rf STAR_2.7.11b*
74+
# # Install Python-based tools in a virtual environment
75+
# RUN python3 -m venv /opt/venv && \
76+
# /opt/venv/bin/pip install --upgrade pip && \
77+
# /opt/venv/bin/pip install \
78+
# multiqc \
79+
# cutadapt && \
80+
# # Create symlinks to the venv binaries
81+
# ln -s /opt/venv/bin/multiqc /usr/local/bin/ && \
82+
# ln -s /opt/venv/bin/cutadapt /usr/local/bin/
83+
84+
# # Install FastQC
85+
# RUN wget https://www.bioinformatics.babraham.ac.uk/projects/fastqc/fastqc_v0.12.1.zip && \
86+
# unzip fastqc_v0.12.1.zip && \
87+
# mv FastQC /opt/ && \
88+
# chmod +x /opt/FastQC/fastqc && \
89+
# ln -s /opt/FastQC/fastqc /usr/local/bin/fastqc && \
90+
# rm fastqc_v0.12.1.zip
91+
92+
# # Install samtools
93+
# RUN wget https://github.com/samtools/samtools/releases/download/1.18/samtools-1.18.tar.bz2 && \
94+
# tar -xjf samtools-1.18.tar.bz2 && \
95+
# cd samtools-1.18 && \
96+
# ./configure --prefix=/usr/local && \
97+
# make && \
98+
# make install && \
99+
# cd .. && \
100+
# rm -rf samtools-1.18*
101+
102+
# # Install hisat2
103+
# RUN wget https://cloud.biohpc.swmed.edu/index.php/s/fE9QCsX3NH4QwBi/download -O hisat2-2.2.1-Linux_x86_64.zip && \
104+
# unzip hisat2-2.2.1-Linux_x86_64.zip && \
105+
# cd hisat2-2.2.1/ && \
106+
# make && \
107+
# cd .. && \
108+
# mv hisat2-2.2.1/hisat2* /usr/local/bin/ && \
109+
# mv hisat2-2.2.1/extract_exons* /usr/local/bin/ && \
110+
# rm -rf hisat2-2.2.1*
111+
112+
# # Install subread
113+
# RUN wget https://sourceforge.net/projects/subread/files/subread-2.0.3/subread-2.0.3-Linux-x86_64.tar.gz/download -O subread-2.0.3-Linux-x86_64.tar.gz && \
114+
# tar -xzf subread-2.0.3-Linux-x86_64.tar.gz && \
115+
# cp -r subread-2.0.3-Linux-x86_64/bin/* /usr/local/bin/ && \
116+
# rm -rf subread-2.0.3*
117+
118+
# # Install bamtools
119+
# RUN apt-get update && apt-get install -y cmake && \
120+
# git clone https://github.com/pezmaster31/bamtools.git && \
121+
# cd bamtools && \
122+
# mkdir build && \
123+
# cd build && \
124+
# cmake -DCMAKE_INSTALL_PREFIX=/usr/local .. && \
125+
# make && \
126+
# make install && \
127+
# cd ../.. && \
128+
# rm -rf bamtools && \
129+
# apt-get clean && rm -rf /var/lib/apt/lists/*
130+
131+
# # Install salmon
132+
# RUN wget https://github.com/COMBINE-lab/salmon/releases/download/v1.10.0/salmon-1.10.0_linux_x86_64.tar.gz && \
133+
# tar -xzf salmon-1.10.0_linux_x86_64.tar.gz && \
134+
# cp -r salmon-latest_linux_x86_64/bin/* /usr/local/bin/ && \
135+
# cp -r salmon-latest_linux_x86_64/lib/* /usr/local/lib/ && \
136+
# rm -rf salmon-1.10.1*
137+
138+
139+
# # Install STAR with required dependencies
140+
# RUN wget https://github.com/alexdobin/STAR/releases/download/2.7.11b/STAR_2.7.11b.zip && \
141+
# unzip STAR_2.7.11b.zip && \
142+
# cp STAR_2.7.11b/Linux_x86_64/STAR* /usr/local/bin/ && \
143+
# rm -rf STAR_2.7.11b*
144144

145145
# # Install QualiMap (resilient)
146146
# RUN set -eux; \

0 commit comments

Comments
 (0)