-
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 light * adding light to README * Rename Dockerfile to Dockerfile * Rename README.md to README.md * Update README.md to reflect directory change
- Loading branch information
Showing
3 changed files
with
79 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,54 @@ | ||
FROM mambaorg/micromamba:1.4.9 as app | ||
|
||
ARG BAKTA_VER="1.9.2" | ||
ARG DIAMOND_VER="2.1.8" | ||
|
||
# 'LABEL' instructions tag the image with metadata that might be important to the user | ||
LABEL base.image="mambaorg/micromamba:1.4.9" | ||
LABEL dockerfile.version="1" | ||
LABEL software="Bakta" | ||
LABEL software.version="${BAKTA_VER}" | ||
LABEL description="rapid & standardized annotation of bacterial genomes, MAGs & plasmids" | ||
LABEL website="https://github.com/oschwengers/bakta" | ||
LABEL license="https://github.com/oschwengers/bakta/blob/main/LICENSE" | ||
LABEL maintainer="Erin Young" | ||
LABEL maintainer.email="[email protected]" | ||
|
||
USER root | ||
|
||
WORKDIR / | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
wget \ | ||
procps \ | ||
ca-certificates && \ | ||
apt-get autoclean && rm -rf /var/lib/apt/lists/* | ||
|
||
RUN micromamba install --name base -c conda-forge -c bioconda -c defaults bakta=${BAKTA_VER} diamond=${DIAMOND_VER} && \ | ||
micromamba clean -a -y && \ | ||
mkdir /data | ||
|
||
ENV PATH="/opt/conda/bin/:$PATH" \ | ||
LC_ALL=C \ | ||
BAKTA_DB=/db/db-light | ||
|
||
WORKDIR /db | ||
|
||
RUN bakta_db download --type light | ||
|
||
CMD bakta --help | ||
|
||
WORKDIR /data | ||
|
||
FROM app as test | ||
|
||
WORKDIR /test | ||
|
||
RUN bakta --help && \ | ||
bakta_db --help && \ | ||
bakta --version | ||
|
||
RUN wget -q https://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/000/195/815/GCF_000195815.1_ASM19581v1/GCF_000195815.1_ASM19581v1_genomic.fna.gz && \ | ||
gunzip GCF_000195815.1_ASM19581v1_genomic.fna.gz && \ | ||
bakta GCF_000195815.1_ASM19581v1_genomic.fna && \ | ||
head GCF_000195815.1_ASM19581v1_genomic.gbff |
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,24 @@ | ||
# bakta container | ||
|
||
Main tool: [bakta](https://github.com/oschwengers/bakta) | ||
|
||
Code repository: https://github.com/oschwengers/bakta | ||
|
||
Basic information on how to use this tool: | ||
- executable: bakta | ||
- help: -h | ||
- version: -v | ||
- description: Annotates bacterial genomes | ||
|
||
> Bakta is a tool for the rapid & standardized annotation of bacterial genomes and plasmids from both isolates and MAGs. It provides dbxref-rich, sORF-including and taxon-independent annotations in machine-readable JSON & bioinformatics standard file formats for automated downstream analysis. | ||
Additional information: | ||
|
||
This image contains the version 5.1 light database. It is located in /db/db-light and set as BAKTA_DB so that --db doesn't have to be used. | ||
|
||
Full documentation: https://github.com/oschwengers/bakta/ | ||
|
||
Example Usage | ||
```bash | ||
bakta sample.fasta --threads 20 --prefix sample | ||
``` |