1 # Copyright (C) The Lightning Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
6 # docker build -t dockername --file=/path/to/lightning/docker/lightning/Dockerfile /path/to/lightning
8 FROM python:3.11-buster
14 RUN apt-get install -qy build-essential wget cmake zlib1g-dev git
16 # Seting up gvcf_regions
17 COPY ./gvcf_regions /gvcf_regions
19 # Installing cgatools 1.8.0
21 RUN wget https://sourceforge.net/projects/cgatools/files/1.8.0/cgatools-1.8.0.1-linux_binary-x86_64.tar.gz && \
22 tar -xzvf cgatools-1.8.0.1-linux_binary-x86_64.tar.gz && \
23 cp cgatools-1.8.0.1-linux_binary-x86_64/bin/cgatools /usr/local/bin
27 # Getting HTSLIB for tabix/bgzip
29 RUN wget https://github.com/samtools/htslib/releases/download/1.3.1/htslib-1.3.1.tar.bz2 && \
30 tar -xjvf htslib-1.3.1.tar.bz2 && \
31 cd htslib-1.3.1 && ./configure && make && make install
35 # Installing bedtools v2.25.0 and dependencies
37 RUN wget https://github.com/arq5x/bedtools2/releases/download/v2.25.0/bedtools-2.25.0.tar.gz && \
38 tar -xzvf bedtools-2.25.0.tar.gz && \
39 cd bedtools2/ && make && cp /bedtools2/bin/bedtools /usr/local/bin