Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
erinyoung authored Oct 25, 2023
2 parents 76c4833 + 4e7064b commit dcbd827
Show file tree
Hide file tree
Showing 5 changed files with 225 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ To learn more about the docker pull rate limits and the open source software pro
| [MultiQC](https://hub.docker.com/r/staphb/multiqc) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/multiqc)](https://hub.docker.com/r/staphb/multiqc) | <ul><li>1.7</li><li>1.8</li></ul> | https://github.com/ewels/MultiQC |
| [Mummer](https://hub.docker.com/r/staphb/mummer) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/mummer)](https://hub.docker.com/r/staphb/mummer) | <ul><li>4.0.0</li><li>4.0.0 + RGDv2</li><li>4.0.0 + RGDv2 + gnuplot</li></ul> | https://github.com/mummer4/mummer |
| [Mykrobe + Genotyphi + sonneityping](https://hub.docker.com/r/staphb/mykrobe) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/mykrobe)](https://hub.docker.com/r/staphb/mykrobe) | <ul><li>0.11.0 (Mykrobe) & 1.9.1 (Genotyphi) </li><li>0.12.1 (Mykrobe) & 1.9.1 (Genotyphi) & v20210201 (sonneityping) </li><li>0.12.1 (Mykrobe) & 2.0 (Genotyphi) & v20210201 (sonneityping) </li></ul> | https://github.com/Mykrobe-tools/mykrobe <br/> https://github.com/typhoidgenomics/genotyphi <br/> https://github.com/katholt/sonneityping |
| [NanoPlot](https://hub.docker.com/r/staphb/nanoplot) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/nanoplot)](https://hub.docker.com/r/staphb/nanoplot) | <ul><li>1.27.0</li><li>1.29.0</li><li>1.30.1</li><li>1.32.0</li><li>1.33.0</li><li>1.40.0</li></ul> | https://github.com/wdecoster/NanoPlot |
| [NanoPlot](https://hub.docker.com/r/staphb/nanoplot) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/nanoplot)](https://hub.docker.com/r/staphb/nanoplot) | <ul><li>1.27.0</li><li>1.29.0</li><li>1.30.1</li><li>1.32.0</li><li>1.33.0</li><li>1.40.0</li><li>[1.41.6](nanoplot/1.41.6/)</li></ul> | https://github.com/wdecoster/NanoPlot |
| [ngmaster](https://hub.docker.com/r/staphb/ngmaster) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/ngmaster)](https://hub.docker.com/r/staphb/ngmaster) | <ul><li>0.5.8</li><li>1.0.0</li></ul> | https://github.com/MDU-PHL/ngmaster |
| [NCBI Datasets](https://hub.docker.com/r/staphb/ncbi-datasets) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/ncbi-datasets)](https://hub.docker.com/r/staphb/ncbi-datasets) | <details><summary> Click to see all datasets versions </summary> **datasets versions** <ul><li>13.31.0</li><li>13.35.0</li><li>13.43.2</li><li>14.0.0</li><li>14.3.0</li><li>14.7.0</li><li>14.13.2</li><li>14.20.0</li><li>[14.27.0](ncbi-datasets/14.27.0/)</li><li>[15.1.0](ncbi-datasets/15.1.0/)</li><li>[15.2.0](ncbi-datasets/15.2.0/)</li><li>[15.11.0](ncbi-datasets/15.11.0/)</li></ul> | [https://github.com/ncbi/datasets](https://github.com/ncbi/datasets) <br/>[https://www.ncbi.nlm.nih.gov/datasets/docs/v1/](https://www.ncbi.nlm.nih.gov/datasets/docs/v1/) |
| [NCBI AMRFinderPlus](https://hub.docker.com/r/staphb/ncbi-amrfinderplus) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/ncbi-amrfinderplus)](https://hub.docker.com/r/staphb/ncbi-amrfinderplus) | **AMRFinderPlus & database verion** <details><summary> Click to see AMRFinderplus v3.11.4 and older versions! </summary> <ul><li>3.1.1b</li><li>3.8.4</li><li>3.8.28</li><li>3.9.3</li><li>3.9.8</li><li>3.10.1</li><li>3.10.5</li><li>3.10.16</li><li>3.10.20</li><li>3.10.24</li><li>3.10.30</li><li>3.10.36</li><li>3.10.42</li><li>3.11.2 & 2022-12-19.1</li><li>[3.11.2 & 2023-02-23.1](ncbi-amrfinderplus/3.11.2-2023-02-23.1/)</li><li>[3.11.4 & 2023-02-23.1](ncbi-amrfinderplus/3.11.4-2023-02-23.1/)</li></ul> </details> <ul><li>[3.11.8 & 2023-02-23.1](ncbi-amrfinderplus/3.11.8-2023-02-23.1/)</li><li>[3.11.11 & 2023-04-17.1](ncbi-amrfinderplus/3.11.11-2023-04-17.1)</li><li>[3.11.14 & 2023-04-17.1](ncbi-amrfinderplus/3.11.14-2023-04-17.1/)</li><li>[3.11.17 & 2023-07-13.2](ncbi-amrfinderplus/3.11.17-2023-07-13.2/)</li><li>[3.11.18 & 2023-08-08.2](ncbi-amrfinderplus/3.11.18-2023-08-08.2/)</li><li>[3.11.20 & 2023-09-26.1](ncbi-amrfinderplus/3.11.20-2023-09-26.1/)</li></ul> | [https://github.com/ncbi/amr](https://github.com/ncbi/amr) |
Expand All @@ -205,7 +205,7 @@ To learn more about the docker pull rate limits and the open source software pro
| [Porechop](https://hub.docker.com/r/staphb/porechop/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/porechop)](https://hub.docker.com/r/staphb/porechop) | <ul><li>0.2.4</li></ul> | https://github.com/rrwick/Porechop |
| [Prokka](https://hub.docker.com/r/staphb/prokka/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/prokka)](https://hub.docker.com/r/staphb/prokka) | <ul><li>1.13.4</li><li>1.14.0</li><li>1.14.5</li><li>1.14.6</li></ul> | https://github.com/tseemann/prokka |
| [pyGenomeViz](https://hub.docker.com/r/staphb/pygenomeviz/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/pygenomeviz)](https://hub.docker.com/r/staphb/pygenomeviz) | <ul><li>0.2.2</li><li>0.3.2</li><li>[0.4.2](pygenomeviz/0.4.2/)</li></ul> | https://github.com/moshi4/pyGenomeViz |
| [QUAST](https://hub.docker.com/r/staphb/quast/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/quast)](https://hub.docker.com/r/staphb/quast) | <ul><li>5.0.0</li><li>5.0.2</li></ul> | https://github.com/ablab/quast |
| [QUAST](https://hub.docker.com/r/staphb/quast/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/quast)](https://hub.docker.com/r/staphb/quast) | <ul><li>5.0.0</li><li>5.0.2</li><li>[5.2.0](./quast/5.2.0)</li></ul> | https://github.com/ablab/quast |
| [QuickSNP](https://hub.docker.com/r/staphb/quicksnp/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/quicksnp)](https://hub.docker.com/r/staphb/quicksnp) | <ul><li>1.0.1</li></ul> | https://github.com/k-florek/QuickSNP |
| [racon](https://hub.docker.com/r/staphb/racon) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/racon)](https://hub.docker.com/r/staphb/racon)| <ul><li>1.4.3</li><li>1.4.20</li></ul> | https://github.com/lbcb-sci/racon <br/> https://github.com/isovic/racon (ARCHIVED) |
| [rasusa](https://hub.docker.com/r/staphb/rasusa/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/rasusa)](https://hub.docker.com/r/staphb/rasusa) | <ul><li>0.1.0</li><li>0.2.0</li><li>0.3.0</li><li>0.6.0</li><li>0.7.0</li></ul> | https://github.com/mbhall88/rasusa |
Expand Down Expand Up @@ -314,3 +314,5 @@ Each Dockerfile lists the author(s)/maintainer(s) as a metadata `LABEL`, but the
* [@golden75](https://github.com/golden75)
* [@Kincekara](https://github.com/Kincekara)
* [@Haikelnb](https://github.com/Haikelnb)
* [@kprus](https://github.com/kprus)

56 changes: 56 additions & 0 deletions nanoplot/1.41.6/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
FROM ubuntu:focal as app

# for easy upgrade later. ARG variables only persist during image build time.
ARG NANOPLOT_VER="1.41.6"

LABEL base.image="ubuntu:focal"
LABEL dockerfile.version="1"
LABEL software="nanoplot"
LABEL software.version="${NANOPLOT_VER}"
LABEL description="Plotting suite for Oxford Nanopore sequencing data and alignments"
LABEL website="https://github.com/wdecoster/NanoPlot"
LABEL license="https://github.com/wdecoster/NanoPlot/blob/master/LICENSE"
LABEL maintainer="Curtis Kapsak"
LABEL maintainer.email="[email protected]"
LABEL maintainer2="Kate Prussing"
LABEL maintainer2.email="[email protected]"

# install dependencies via apt; cleanup apt garbage; set locale to en_US.UTF-8
RUN apt-get update && apt-get install -y zlib1g-dev \
bzip2 \
libbz2-dev \
liblzma-dev \
libcurl4-gnutls-dev \
libncurses5-dev \
libssl-dev \
python3 \
python3-pip \
python3-setuptools \
locales && \
locale-gen en_US.UTF-8 && \
apt-get autoclean && rm -rf /var/lib/apt/lists/*

# for singularity compatibility
ENV LC_ALL=C

# install NanoPlot via pypi using pip3; make /data directory
RUN pip3 install matplotlib psutil requests NanoPlot==${NANOPLOT_VER} && \
mkdir /data

WORKDIR /data

# testing layer
FROM app as test

# print help options and version
RUN NanoPlot --help && NanoPlot --version

# install wget for downloading test data
RUN apt-get update && apt-get install -y wget

# download ONT data for a Salmonella isolate, run NanoPlot on the FASTQ file
# Go here for more info: https://www.ebi.ac.uk/ena/browser/view/SRR19787768?show=reads
RUN wget https://ftp.sra.ebi.ac.uk/vol1/fastq/SRR197/068/SRR19787768/SRR19787768_1.fastq.gz && \
NanoPlot --fastq SRR19787768_1.fastq.gz --log --N50 -o /data/nanoplot-test && \
ls -lh /data/nanoplot-test && \
cat /data/nanoplot-test/NanoStats.txt
19 changes: 19 additions & 0 deletions nanoplot/1.41.6/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# NanoPlot container

Main tool : [NanoPlot](https://github.com/wdecoster/NanoPlot)

Additional tools:

- nanomath 1.3.0
- nanoget 1.19.3

Full documentation: [https://github.com/wdecoster/NanoPlot](https://github.com/wdecoster/NanoPlot)

Plotting tool for long read sequencing data and alignments.

## Example Usage

```bash
# pass in the sequencing_summary.txt file produced by Guppy/Dorado basecaller
NanoPlot --summary sequencing_summary.txt --N50 --loglength -t 4 -o nanoplot-out
```
110 changes: 110 additions & 0 deletions quast/5.2.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
ARG QUAST_VER="5.2.0"

## Builder ##
FROM ubuntu:focal as builder

ARG QUAST_VER

# define timezone to avoid build stalls
ENV TZ=America/New_York
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

RUN apt-get update && apt-get install --no-install-recommends -y \
wget \
python2 \
perl \
cpanminus \
g++ \
make \
openjdk-8-jre-headless \
r-base \
pkg-config \
libfreetype6-dev \
libpng-dev \
libboost-all-dev \
locales &&\
locale-gen en_US.UTF-8 &&\
cpanm Time::HiRes &&\
apt-get autoclean &&\
rm -rf /var/lib/apt/lists/*

# python dependencies
RUN update-alternatives --install /usr/bin/python python /usr/bin/python2 1 &&\
wget https://bootstrap.pypa.io/pip/2.7/get-pip.py && python get-pip.py &&\
pip install --no-cache matplotlib simplejson joblib

# install quast
RUN wget https://github.com/ablab/quast/releases/download/quast_${QUAST_VER}/quast-${QUAST_VER}.tar.gz && \
tar -xzf quast-${QUAST_VER}.tar.gz && \
rm -rf quast-${QUAST_VER}.tar.gz && \
cd /quast-${QUAST_VER} && \
/quast-${QUAST_VER}/setup.py install

# add GRIDSS for SV detection
ADD https://github.com/ablab/quast/raw/master/external_tools/gridss/gridss-1.4.1.jar /quast-${QUAST_VER}/quast_libs/gridss/

## App ##
FROM ubuntu:focal as app

ARG QUAST_VER

LABEL base.image="ubuntu:focal"
LABEL dockerfile.version="1"
LABEL software="QUAST"
LABEL software.version=${QUAST_VER}
LABEL description="Genome assembly evaluation tool"
LABEL website="https://github.com/ablab/quast"
LABEL license="https://github.com/ablab/quast/blob/master/LICENSE.txt"
LABEL maintainer="Curtis Kapsak"
LABEL maintainer.email="[email protected]"
LABEL maintainer2="Kutluhan Incekara"
LABEL maintainer2.email="[email protected]"

# define timezone to avoid build stalls
ENV TZ=America/New_York
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

# install only necessary programs and libraries to run quast
RUN apt-get update && apt-get install --no-install-recommends -y \
wget \
python2 \
perl \
openjdk-8-jre-headless \
r-base \
libidn11 \
locales &&\
locale-gen en_US.UTF-8 &&\
apt-get autoclean &&\
rm -rf /var/lib/apt/lists/*

# python dependencies
RUN update-alternatives --install /usr/bin/python python /usr/bin/python2 1 &&\
wget https://bootstrap.pypa.io/pip/2.7/get-pip.py && python get-pip.py &&\
pip install --no-cache matplotlib simplejson joblib
# copy quast and compiled tools
COPY --from=builder /quast-${QUAST_VER} /quast-${QUAST_VER}
# copy compiled Time::HiRes perl module
COPY --from=builder /usr/local/lib/x86_64-linux-gnu/perl/5.30.0/Time/ /usr/local/lib/x86_64-linux-gnu/perl/5.30.0/Time/

ENV LC_ALL=C
ENV PATH=$PATH:/quast-${QUAST_VER}

CMD quast.py --help && quast-lg.py --help && metaquast.py --help

WORKDIR /data

## Test ##
FROM app as test
# test quast
RUN quast.py --test-sv && mv ./quast_test_output/ ./quast_test_sv_output/
# test quast-lg
RUN quast-lg.py --test && mv ./quast_test_output/ ./quast_test_lg_output/
# test metaquast
RUN metaquast.py --test
# check logs
RUN tail -n5 ./quast_test_sv_output/quast.log &&\
tail -n5 ./quast_test_lg_output/quast.log &&\
tail -n5 ./quast_test_output/metaquast.log

# Note 1: "Warnings are GenMark license related. They disappear when a valid licence is provided."
# Note 2: "metaquast.py --test-no-ref" throws error related Krona plot (known bug of Quast 5.2.0)
36 changes: 36 additions & 0 deletions quast/5.2.0/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# QUAST container

Main tool: [QUAST](https://github.com/ablab/quast)

Code repository: https://github.com/ablab/quast

Additional tools:
- gridss: 1.4.1


Basic information on how to use this tool:
- executable: quast.py
- help: --help
- version: --version
- description: Genome assembly evaluation tool

Additional information:

You need a license key if you want to use GeneMark with Quast!<br>
The key can be downloaded from http://exon.gatech.edu/GeneMark/license_download.cgi page (GeneMark is free for non-commercial use).
You should choose GeneMarkS-T LINUX 64. Download your license key and add it to your data folder or another folder you will bind to the container. Inside the container, copy the key to your home folder.
```
cp /data/gm_key_64 ~/.gm_key
```
Full documentation: https://quast.sourceforge.net/docs/manual.html

## Example Usage

```bash
# basic statistics without reference
quast.py contigs.fasta
# genome evaluation with reference
quast.py contigs.fasta -r reference.fasta.gz -g genes.gff
# metagenomic assemblies
metaquast.py contigs_1 contigs_2 ... -r reference_1,reference_2,reference_3,...
```

0 comments on commit dcbd827

Please sign in to comment.