-
Notifications
You must be signed in to change notification settings - Fork 126
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 #1078 from Kincekara/checkv
adds checkv
- Loading branch information
Showing
4 changed files
with
92 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,52 @@ | ||
FROM ubuntu:jammy AS app | ||
|
||
ARG CHECKV_VER="1.0.3" | ||
ARG DIAMOND_VER="2.1.8" | ||
ARG PRODIGALGV_VER="2.11.0" | ||
|
||
LABEL base.image="ubuntu:jammy" | ||
LABEL dockerfile.version="1" | ||
LABEL software="CheckV" | ||
LABEL software.version="${CHECKV_VER}" | ||
LABEL description="CheckV is a fully automated command-line pipeline for assessing the quality of single-contig viral genomes" | ||
LABEL website="https://bitbucket.org/berkeleylab/checkv/" | ||
LABEL license="https://bitbucket.org/berkeleylab/checkv/src/master/LICENSE.txt" | ||
LABEL maintainer="Kutluhan Incekara" | ||
LABEL maintainer.email="[email protected]" | ||
|
||
RUN apt-get update && apt-get install --no-install-recommends -y \ | ||
wget \ | ||
hmmer \ | ||
ncbi-blast+ \ | ||
python3-pip && \ | ||
apt-get autoclean && rm -rf /var/lib/apt/lists/* | ||
|
||
# install diamond | ||
RUN wget -q https://github.com/bbuchfink/diamond/releases/download/v${DIAMOND_VER}/diamond-linux64.tar.gz &&\ | ||
tar -C /usr/local/bin/ -xvf diamond-linux64.tar.gz &&\ | ||
rm diamond-linux64.tar.gz | ||
# install prodigal-gv | ||
RUN wget -q https://github.com/apcamargo/prodigal-gv/releases/download/${PRODIGALGV_VER}/prodigal-gv-linux &&\ | ||
chmod +x prodigal-gv-linux &&\ | ||
mv prodigal-gv-linux /usr/local/bin/prodigal-gv | ||
# install checkv | ||
RUN pip3 install --no-cache-dir checkv==${CHECKV_VER} | ||
|
||
ENV LC_ALL=C | ||
|
||
CMD [ "checkv", "--help" ] | ||
|
||
WORKDIR /data | ||
|
||
|
||
## Test ## | ||
FROM app AS test | ||
|
||
# download database (current v1.5) | ||
RUN checkv download_database /db | ||
|
||
# download test fna and run checkv | ||
RUN wget -q https://bitbucket.org/berkeleylab/checkv/raw/51a5293f75da04c5d9a938c9af9e2b879fa47bd8/test/test_sequences.fna &&\ | ||
checkv end_to_end -d /db/checkv-db-v1.5 test_sequences.fna test_out -t 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,38 @@ | ||
# CheckV container | ||
|
||
Main tool: [checkv](https://jgi.doe.gov/data-and-tools/software-tools/checkv/) | ||
|
||
Code repository: https://bitbucket.org/berkeleylab/checkv/ | ||
|
||
Additional tools: | ||
- diamond: 2.1.8 | ||
- prodigal-gv: 2.11.0 | ||
- hmmer: 3.3.2 | ||
- blast: 2.12.0+ | ||
|
||
Basic information on how to use this tool: | ||
- executable: checkv | ||
- help: -h | ||
- version: | ||
- description: | ||
>CheckV is the first fully automated, command-line tool for assessing the quality of metagenome-assembled viral genomes | ||
Additional information: | ||
|
||
This container does not include any database. You can use `checkv download_database` command or https://portal.nersc.gov/CheckV/ address to download it manually | ||
|
||
Full documentation: https://bitbucket.org/berkeleylab/checkv/src/master/ | ||
|
||
## Example Usage | ||
|
||
```bash | ||
# Using a single command to run the full pipeline (recommended) | ||
checkv end_to_end input_file.fna output_directory -t 16 | ||
|
||
# Using individual commands for each step in the pipeline | ||
checkv contamination input_file.fna output_directory -t 16 | ||
checkv completeness input_file.fna output_directory -t 16 | ||
checkv complete_genomes input_file.fna output_directory | ||
checkv quality_summary input_file.fna output_directory | ||
``` | ||
|