-
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.
add busco 5.8.0-prok-bacteria_odb10_2024-01_08
- Loading branch information
Showing
3 changed files
with
102 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,77 @@ | ||
ARG BUSCO_VER="5.8.0" | ||
|
||
FROM ubuntu:jammy AS app | ||
|
||
ARG BUSCO_VER | ||
ARG BBMAP_VER="39.10" | ||
ARG SEPP_VER="4.5.5" | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
LABEL base.image="ubuntu:jammy" | ||
LABEL dockerfile.version="1" | ||
LABEL software="BUSCO" | ||
LABEL software.version="${BUSCO_VER}" | ||
LABEL description="Slim version of BUSCO for prokaryotes only" | ||
LABEL website="https://busco.ezlab.org/" | ||
LABEL license="https://gitlab.com/ezlab/busco/-/raw/master/LICENSE" | ||
LABEL maintainer="Kutluhan Incekara" | ||
LABEL maintainer.email="[email protected]" | ||
|
||
# install dependencies | ||
RUN apt-get update && apt-get install --no-install-recommends -y \ | ||
wget \ | ||
python3-pip \ | ||
python3-setuptools \ | ||
python3-requests \ | ||
python3-pandas \ | ||
hmmer \ | ||
prodigal \ | ||
lbzip2 \ | ||
openjdk-8-jre-headless \ | ||
&& rm -rf /var/lib/apt/lists/* && apt-get autoclean \ | ||
&& ln -s /usr/bin/python3 /usr/bin/python | ||
|
||
# BioPython (python3-biopython installs 1.73. It causes python error in this version) | ||
RUN pip install --no-cache-dir biopython | ||
|
||
# bbtools | ||
RUN wget -q https://sourceforge.net/projects/bbmap/files/BBMap_${BBMAP_VER}.tar.gz &&\ | ||
tar -xvf BBMap_${BBMAP_VER}.tar.gz && rm BBMap_${BBMAP_VER}.tar.gz &&\ | ||
mv /bbmap/* /usr/local/bin/ | ||
|
||
# sepp | ||
RUN wget https://github.com/smirarab/sepp/archive/refs/tags/v${SEPP_VER}.tar.gz &&\ | ||
tar -xvf v${SEPP_VER}.tar.gz && rm v${SEPP_VER}.tar.gz &&\ | ||
cd sepp-${SEPP_VER} &&\ | ||
python setup.py config -c && python setup.py install | ||
|
||
# busco | ||
RUN wget -q https://gitlab.com/ezlab/busco/-/archive/${BUSCO_VER}/busco-${BUSCO_VER}.tar.gz &&\ | ||
tar -xvf busco-${BUSCO_VER}.tar.gz && \ | ||
rm busco-${BUSCO_VER}.tar.gz &&\ | ||
cd busco-${BUSCO_VER} && \ | ||
python3 setup.py install | ||
|
||
# download bacteria_odb10 | ||
RUN busco --download bacteria_odb10 | ||
|
||
ENV LC_ALL=C | ||
|
||
WORKDIR /data | ||
|
||
CMD busco -h | ||
|
||
## Tests ## | ||
FROM app AS test | ||
|
||
RUN busco -h | ||
|
||
# offline test | ||
RUN wget -q https://ftp.ncbi.nlm.nih.gov/genomes/all/GCA/010/941/835/GCA_010941835.1_PDT000052640.3/GCA_010941835.1_PDT000052640.3_genomic.fna.gz && \ | ||
gzip -d GCA_010941835.1_PDT000052640.3_genomic.fna.gz && \ | ||
busco --offline -l /busco_downloads/lineages/bacteria_odb10 -m genome -i GCA_010941835.1_PDT000052640.3_genomic.fna -o offline --cpu 4 && \ | ||
head offline/short_summary*.txt | ||
|
||
# auto-lineage-prok | ||
RUN busco -m genome -i GCA_010941835.1_PDT000052640.3_genomic.fna -o auto --cpu 4 --auto-lineage-prok && \ | ||
head auto/short_summary*.txt |
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 @@ | ||
# Assessing genome assembly and annotation completeness with Benchmarking Universal Single-Copy Orthologs (BUSCO) container | ||
|
||
Main tool : [BUSCO](https://gitlab.com/ezlab/busco/) | ||
|
||
Additional tools: | ||
- BBTools 39.10 | ||
- HMMER 3.3.2 | ||
- Prodigal 2.6.3 | ||
- SEPP 4.5.5 | ||
- Python 3.10.12 | ||
- BioPython 1.83 | ||
- Perl 5.34.0 | ||
- OpenJDK 1.8.0_422 | ||
|
||
Full documentation: https://busco.ezlab.org/busco_userguide.html | ||
|
||
This is a BUSCO docker image which has basic functions for prokaryotes only. This image contains bacteria_odb10 lineage dataset for offline use. | ||
## Example Usage | ||
```bash | ||
# offline usage with bacteria lineage | ||
busco --offline -i assembly.fasta -l /busco_downloads/lineages/bacteria_odb10 -o output -m genome | ||
# auto lineage selection | ||
busco -i assembly.fasta -o output -m genome --auto-lineage-prok | ||
``` |