-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1080 from Kincekara/checkm2
adds checkm2
- Loading branch information
Showing
4 changed files
with
67 additions
and
0 deletions.
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,37 @@ | ||
FROM mambaorg/micromamba:1.5.8 AS app | ||
|
||
ARG CHECKM2_VERSION="1.0.2" | ||
|
||
USER root | ||
|
||
WORKDIR / | ||
|
||
LABEL base.image="mambaorg/micromamba:1.5.8" | ||
LABEL dockerfile.version="1" | ||
LABEL software="CHECKM2" | ||
LABEL software.version="${CHECKM2_VERSION}" | ||
LABEL description="Rapid assessment of genome bin quality using machine learning." | ||
LABEL website="https://github.com/chklovski/CheckM2" | ||
LABEL license="https://github.com/chklovski/CheckM2/blob/main/LICENSE" | ||
LABEL maintainer="Kutluhan Incekara" | ||
LABEL maintainer.email="[email protected]" | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
procps && \ | ||
apt-get autoclean && rm -rf /var/lib/apt/lists/* | ||
|
||
RUN micromamba install --name base -c conda-forge -c bioconda checkm2=${CHECKM2_VERSION} && \ | ||
micromamba clean -a -f -y | ||
|
||
ENV PATH="/opt/conda/bin/:${PATH}" \ | ||
LC_ALL=C.UTF-8 | ||
|
||
CMD [ "checkm2", "--help" ] | ||
|
||
WORKDIR /data | ||
|
||
## Test ## | ||
FROM app AS test | ||
|
||
RUN checkm2 database --download &&\ | ||
checkm2 testrun --threads 4 |
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,28 @@ | ||
# CheckM2 container | ||
|
||
Main tool: [checkm2](https://github.com/chklovski/CheckM2) | ||
|
||
Code repository: https://github.com/chklovski/CheckM2 | ||
|
||
Additional tools: | ||
- diamond: 2.0.4 | ||
- prodigal 2.6.3 | ||
|
||
Basic information on how to use this tool: | ||
- executable: checkm2 | ||
- help: -h, --help | ||
- version: --version | ||
- description: Rapid assessment of genome bin quality using machine learning. | ||
|
||
Additional information: | ||
|
||
CheckM2 relies on a external diamond database (~1.7 GB) for rapid annotation. the database can be downloaded via `checkm2 database --download` command or obtained directly from: https://zenodo.org/api/records/5571251/files/checkm2_database.tar.gz/content | ||
|
||
|
||
Full documentation: https://github.com/chklovski/CheckM2 | ||
|
||
## Example Usage | ||
|
||
```bash | ||
checkm2 predict --threads 8 fasta --input ./input_folder --output-directory ./output_folder --database_path /path/to/database/CheckM2_database/uniref100.KO.1.dmnd | ||
``` |