-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
50 lines (34 loc) · 1.93 KB
/
Dockerfile
File metadata and controls
50 lines (34 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
FROM ubuntu:noble
# set environment variables
ENV TABIX_VERSION=0.2.6
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y git ant build-essential wget unzip bcftools python3 tabix samtools perl default-jre unzip cpanminus bioperl emacs libjson-perl libmodule-install-rdf-perl libxml-parser-perl libdate-manip-perl libtext-csv-perl libstatistics-descriptive-perl libtree-dagnode-perl libxml-simple-perl bwa trimmomatic openjdk-21-jre-headless sqlite3 && apt-get clean && apt-get purge && rm -rf /var/lib/apt/lists/* /tmp/*
ENV JULIA_VERSION=1.10.10
RUN wget -q https://julialang-s3.julialang.org/bin/linux/x64/1.10/julia-${JULIA_VERSION}-linux-x86_64.tar.gz \
&& tar xzf julia-${JULIA_VERSION}-linux-x86_64.tar.gz \
&& mv julia-${JULIA_VERSION} /opt/julia \
&& rm julia-${JULIA_VERSION}-linux-x86_64.tar.gz
ENV PATH=/opt/julia/bin:$PATH
ENV JULIA_DEPOT_PATH=/opt/julia_depot
RUN mkdir -p /opt/julia_depot \
&& julia -e 'using Pkg; Pkg.add("SQLite"); Pkg.precompile()'
ENV JULIA_PROJECT=@v1.10
WORKDIR /gusApp/gus_home/lib/perl
ADD /lib/perl/ /gusApp/gus_home/lib/perl/
ENV PERL5LIB=/gusApp/gus_home/lib/perl
# Install Perl modules (no database modules needed)
WORKDIR /usr/local/
RUN cpanm --verbose Bio::Coordinate::GeneMapper Bio::Coordinate::Pair VCF Set::CrossProduct Test2::V0
WORKDIR /usr/bin/
RUN wget https://github.com/freebayes/freebayes/releases/download/v1.3.10/freebayes-1.3.10-linux-amd64-static.gz \
&& gunzip freebayes-1.3.10-linux-amd64-static.gz \
&& chmod +x freebayes-1.3.10-linux-amd64-static \
&& mv freebayes-1.3.10-linux-amd64-static /usr/local/bin/freebayes
RUN wget https://snpeff-public.s3.amazonaws.com/versions/snpEff_latest_core.zip \
&& unzip snpEff_latest_core.zip \
&& cd snpEff \
&& rm snpEff.config
ADD /bin/snpEff.config /usr/bin/snpEff/snpEff.config
ADD /testing/lib/*.pm /usr/lib/x86_64-linux-gnu/perl5/5.30/VEuPath/
ADD /bin/All_adaptors* /usr/local/bin/
WORKDIR /work