-
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.
adding diamond version 2.1.10 (#1089)
- Loading branch information
Showing
3 changed files
with
71 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,38 @@ | ||
FROM ubuntu:jammy as app | ||
|
||
ARG DIAMOND_VER="2.1.10" | ||
|
||
LABEL base.image="ubuntu:jammy" | ||
LABEL dockerfile.version="1" | ||
LABEL software="DIAMOND" | ||
LABEL software.version="${DIAMOND_VER}" | ||
LABEL description="Accelerated BLAST compatible local sequence aligner." | ||
LABEL website="https://github.com/bbuchfink/diamond" | ||
LABEL license="https://github.com/bbuchfink/diamond/blob/master/LICENSE" | ||
LABEL maintainer="Kutluhan Incekara" | ||
LABEL maintainer.email="[email protected]" | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
wget \ | ||
ncbi-blast+ &&\ | ||
apt-get autoclean && rm -rf /var/lib/apt/lists/* | ||
|
||
RUN wget --no-check-certificate 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 | ||
|
||
ENV LC_ALL=C | ||
|
||
CMD [ "diamond", "help" ] | ||
|
||
WORKDIR /data | ||
|
||
## Test ## | ||
FROM app as test | ||
|
||
RUN diamond test | ||
|
||
RUN wget --no-check-certificate https://scop.berkeley.edu/downloads/scopeseq-2.07/astral-scopedom-seqres-gd-sel-gs-bib-40-2.07.fa &&\ | ||
diamond makedb --in astral-scopedom-seqres-gd-sel-gs-bib-40-2.07.fa -d astral40 &&\ | ||
diamond blastp -q astral-scopedom-seqres-gd-sel-gs-bib-40-2.07.fa -d astral40 -o out.tsv --very-sensitive &&\ | ||
head out.tsv |
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,32 @@ | ||
# diamond container | ||
|
||
Main tool: [diamond](https://github.com/bbuchfink/diamond) | ||
|
||
Code repository: https://github.com/bbuchfink/diamond | ||
|
||
Additional tools: | ||
- ncbi-blast+ : 2.12.0 | ||
|
||
Basic information on how to use this tool: | ||
- executable: diamond | ||
- help: help | ||
- version: version | ||
- description: DIAMOND is a sequence aligner for protein and translated DNA searches, designed for high performance analysis of big sequence data. The key features are: | ||
|
||
- Pairwise alignment of proteins and translated DNA at 100x-10,000x speed of BLAST. | ||
- Protein clustering of up to tens of billions of proteins | ||
- Frameshift alignments for long read analysis. | ||
- Low resource requirements and suitable for running on standard desktops or laptops. | ||
- Various output formats, including BLAST pairwise, tabular and XML, as well as taxonomic classification. | ||
|
||
Full documentation: https://github.com/bbuchfink/diamond/wiki | ||
|
||
## Example Usage | ||
|
||
```bash | ||
# Protein alignment | ||
diamond makedb --in proteins.fa -d db | ||
diamond blastp -q query.fa -d db -o out.tsv --very-sensitive | ||
# Protein clustering | ||
diamond cluster -d proteins.fa -o clusters.tsv --approx-id 40 -M 12G --header | ||
``` |