Skip to content

Commit 2639041

Browse files
committed
add samtools and hisat2
1 parent aa20660 commit 2639041

2 files changed

Lines changed: 21 additions & 0 deletions

File tree

docker/Dockerfile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,26 @@ RUN wget https://www.bioinformatics.babraham.ac.uk/projects/fastqc/fastqc_v0.12.
8888
ln -s /opt/FastQC/fastqc /usr/local/bin/fastqc && \
8989
rm fastqc_v0.12.1.zip
9090

91+
# Install samtools
92+
RUN wget https://github.com/samtools/samtools/releases/download/1.18/samtools-1.18.tar.bz2 && \
93+
tar -xjf samtools-1.18.tar.bz2 && \
94+
cd samtools-1.18 && \
95+
./configure --prefix=/usr/local && \
96+
make && \
97+
make install && \
98+
cd .. && \
99+
rm -rf samtools-1.18*
100+
101+
# Install hisat2
102+
RUN wget https://cloud.biohpc.swmed.edu/index.php/s/fE9QCsX3NH4QwBi/download -O hisat2-2.2.1-Linux_x86_64.zip && \
103+
unzip hisat2-2.2.1-Linux_x86_64.zip && \
104+
cd hisat2-2.2.1/ && \
105+
make && \
106+
cd .. && \
107+
mv hisat2-2.2.1/hisat2* /usr/local/bin/ && \
108+
mv hisat2-2.2.1/extract_exons* /usr/local/bin/ && \
109+
rm -rf hisat2-2.2.1*
110+
91111
# install R packages
92112
RUN Rscript -e 'install.packages("BiocManager", repos = "https://cloud.r-project.org")' \
93113
&& Rscript -e 'BiocManager::install("limma")' \

submit.yml.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ script:
1414
container:
1515
name: "rnaseq"
1616
image: "ghcr.io/nesi/training-environment-rstudio-rnaseq-app:jen"
17+
image_pull_policy: Always
1718
command: ["/bin/bash","-l","<%= staged_root %>/job_script_content.sh"]
1819
restart_policy: 'OnFailure'
1920
env:

0 commit comments

Comments
 (0)