-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding elgato version 1.20.1 (#1088)
- Loading branch information
Showing
3 changed files
with
89 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
FROM staphb/ispcr:33 as app | ||
|
||
ARG ELGATO_VER="1.20.1" | ||
|
||
LABEL base.image="ubuntu:jammy" | ||
LABEL dockerfile.version="1" | ||
LABEL software="el_gato" | ||
LABEL software.version="${ELGATO_VER}" | ||
LABEL description="Epidemiology of Legionella : Genome-bAsed Typing" | ||
LABEL website="https://github.com/appliedbinf/el_gato" | ||
LABEL license="https://github.com/appliedbinf/el_gato/blob/main/LICENSE" | ||
LABEL maintainer="Kutluhan Incekara" | ||
LABEL maintainer.email="[email protected]" | ||
|
||
WORKDIR / | ||
|
||
# dependencies | ||
RUN apt-get update && apt-get install --no-install-recommends -y \ | ||
wget \ | ||
python3-pip \ | ||
minimap2 \ | ||
samtools \ | ||
ncbi-blast+ && \ | ||
apt-get autoclean && rm -rf /var/lib/apt/lists/* | ||
|
||
# install el_gato | ||
RUN wget --no-check-certificate https://github.com/appliedbinf/el_gato/archive/refs/tags/${ELGATO_VER}.tar.gz &&\ | ||
tar -xvf ${ELGATO_VER}.tar.gz && rm ${ELGATO_VER}.tar.gz &&\ | ||
cd el_gato-${ELGATO_VER} &&\ | ||
python3 -m pip install . -vv --no-cache-dir &&\ | ||
mv ./el_gato/db/ /usr/local/bin/db/ | ||
|
||
# install fpd2 for pdf reports | ||
RUN pip install --no-cache-dir fpdf2 packaging | ||
|
||
ENV LC_ALL=C | ||
|
||
CMD el_gato.py -h | ||
|
||
WORKDIR /data | ||
|
||
## Test ## | ||
FROM app as test | ||
|
||
RUN apt-get update && apt-get install unzip | ||
|
||
# download Legionella pneumophila ST62 genome | ||
RUN wget -P /usr/local/bin/ https://ftp.ncbi.nlm.nih.gov/pub/datasets/command-line/v2/linux-amd64/datasets &&\ | ||
chmod 755 /usr/local/bin/datasets &&\ | ||
datasets download genome accession GCF_900119765.1 --include genome &&\ | ||
unzip -j ncbi_dataset.zip ncbi_dataset/data/GCF_900119765.1/GCF_900119765.1_2532STDY5467631_genomic.fna -d . | ||
|
||
# test el_gato | ||
RUN el_gato.py --assembly GCF_900119765.1_2532STDY5467631_genomic.fna --out test/ &&\ | ||
cat test/run.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# el_gato container | ||
|
||
Main tool: [el_gato](https://github.com/appliedbinf/el_gato) | ||
|
||
Code repository: https://github.com/appliedbinf/el_gato | ||
|
||
Additional tools: | ||
- minimap2: 2.24-r1122 | ||
- samtools: 1.13 | ||
- ncbi-blast+: 2.12.0+ | ||
- isPCR: v33x2 | ||
|
||
Basic information on how to use this tool: | ||
- executable: el_gato.py | ||
- help: -h | ||
- version: -v | ||
- description: Epidemiology of Legionella : Genome-bAsed Typing | ||
|
||
Additional information: | ||
|
||
Container contains necessary database of Legionella sequence types | ||
|
||
Full documentation: https://github.com/appliedbinf/el_gato | ||
|
||
## Example Usage | ||
|
||
```bash | ||
# Paired-end: | ||
el_gato.py --read1 read1.fastq.gz --read2 read2.fastq.gz --out output_folder/ | ||
|
||
# Assembly: | ||
el_gato.py --assembly assembly_file.fna --out output_folder/ | ||
``` |