| 1 |
# This container will install Circlator from master |
| 2 |
# |
| 3 |
FROM debian:testing |
| 4 |
|
| 5 |
ENV BUILD_DIR=/opt/circlator |
| 6 |
|
| 7 |
# Install the dependancies |
| 8 |
RUN apt-get update -qq && apt-get install -y python python3-pip git wget unzip zlib1g-dev libncurses5-dev |
| 9 |
|
| 10 |
RUN apt-get install --yes libbz2-dev liblzma-dev |
| 11 |
|
| 12 |
RUN mkdir -p ${BUILD_DIR} |
| 13 |
COPY . ${BUILD_DIR} |
| 14 |
|
| 15 |
RUN cd ${BUILD_DIR} && ./install_dependencies.sh |
| 16 |
ENV PATH ${BUILD_DIR}/build/bwa-0.7.12:${BUILD_DIR}/build/canu-1.4/Linux-amd64/bin/:${BUILD_DIR}/build/prodigal-2.6.2:${BUILD_DIR}/build/samtools-1.3:${BUILD_DIR}/build/MUMmer3.23:${BUILD_DIR}/build/SPAdes-3.7.1-Linux/bin:$PATH |
| 17 |
RUN export PATH |
| 18 |
RUN cd ${BUILD_DIR} && python3 setup.py install |
| 19 |
|
| 20 |
RUN circlator progcheck |
| 21 |
|
| 22 |
CMD echo "Usage: docker run -v \`pwd\`:/var/data -it <IMAGE_NAME> bash" && \ |
| 23 |
echo "" && \ |
| 24 |
echo "This will place you in a shell with your current working directory accessible as /var/data." && \ |
| 25 |
echo "You can then run commands like:" && \ |
| 26 |
echo " circlator all /var/data/assembly.fasta /var/data/reads /var/data/<output_subdirectory>" && \ |
| 27 |
echo "For help, please go to https://github.com/sanger-pathogens/circlator/wiki, or type" && \ |
| 28 |
echo " circlator --help" |