File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -142,15 +142,19 @@ RUN wget https://github.com/alexdobin/STAR/releases/download/2.7.11b/STAR_2.7.11
142142 cp STAR_2.7.11b/Linux_x86_64/STAR* /usr/local/bin/ && \
143143 rm -rf STAR_2.7.11b*
144144
145- # Install QualiMap
146- # RUN wget https://bitbucket.org/kokonech/qualimap/downloads/qualimap_v2.3.zip && \
147- # the above would not download, so switched to the dropbox link provided by MattB
148- RUN wget https://www.dropbox.com/scl/fi/99rhz8q113vwi403bv6ys/qualimap_v2.3.zip \
149- unzip qualimap_v2.3.zip && \
150- mv qualimap_v2.3 /opt/qualimap && \
151- echo '#!/bin/bash\n java -Xms32m -Xmx2g -jar /opt/qualimap/qualimap.jar "$@"' > /usr/local/bin/qualimap && \
152- chmod +x /usr/local/bin/qualimap && \
153- rm qualimap_v2.3.zip
145+ # Install QualiMap (resilient)
146+ RUN set -eux; \
147+ curl -fSL --retry 5 --retry-connrefused --retry-delay 3 \
148+ -o qualimap_v2.3.zip \
149+ https://bitbucket.org/kokonech/qualimap/downloads/qualimap_v2.3.zip \
150+ || curl -fSL --retry 5 --retry-connrefused --retry-delay 3 \
151+ -o qualimap_v2.3.zip \
152+ http://qualimap.conesalab.org/qualimap_v2.3.zip; \
153+ unzip -q qualimap_v2.3.zip; \
154+ mv qualimap_v2.3 /opt/qualimap; \
155+ printf '%s\n ' '#!/bin/bash' 'exec java -Xms32m -Xmx2g -jar /opt/qualimap/qualimap.jar "$@"' > /usr/local/bin/qualimap; \
156+ chmod +x /usr/local/bin/qualimap; \
157+ rm -f qualimap_v2.3.zip
154158
155159# create a symlink for python as hisat2 hashbangs are set for python and not python3
156160RUN ln -s /usr/bin/python3 /usr/bin/python
You can’t perform that action at this time.
0 commit comments