-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adds el_gato #825
Merged
Merged
adds el_gato #825
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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,54 @@ | ||
FROM staphb/ispcr:33 as app | ||
|
||
ARG ELGATO_VER="1.15.2" | ||
|
||
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 &&\ | ||
mv ./el_gato/db/ /usr/local/bin/db/ | ||
|
||
# install fpd2 for pdf reports | ||
RUN pip install fpdf2 | ||
|
||
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/ |
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/ | ||
``` |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to self : The capital A comes from the documentation.