-
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 #888 from Kincekara/hmmer
adds hmmer 3.4
- Loading branch information
Showing
3 changed files
with
98 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,53 @@ | ||
ARG HMMER_VER="3.4" | ||
|
||
## Builder ## | ||
FROM ubuntu:jammy as builder | ||
|
||
ARG HMMER_VER | ||
|
||
RUN apt-get update && apt-get install --no-install-recommends -y \ | ||
wget \ | ||
build-essential &&\ | ||
apt-get autoclean && rm -rf /var/lib/apt/lists/* | ||
|
||
RUN wget http://eddylab.org/software/hmmer/hmmer-${HMMER_VER}.tar.gz &&\ | ||
tar -xvf hmmer-${HMMER_VER}.tar.gz &&\ | ||
cd hmmer-${HMMER_VER} &&\ | ||
./configure &&\ | ||
make && make install | ||
|
||
## App ## | ||
FROM ubuntu:jammy as app | ||
|
||
ARG HMMER_VER | ||
|
||
LABEL base.image="ubuntu:jammy" | ||
LABEL dockerfile.version="1" | ||
LABEL software="HMMER" | ||
LABEL software.version="${HMMER_VER}" | ||
LABEL description="Biological sequence analysis using profile hidden Markov models" | ||
LABEL website="http://hmmer.org/" | ||
LABEL license="https://github.com/EddyRivasLab/hmmer/blob/master/LICENSE" | ||
LABEL maintainer="Kutluhan Incekara" | ||
LABEL maintainer.email="[email protected]" | ||
|
||
# get compiled binaries from builder | ||
COPY --from=builder /usr/local/bin/ /usr/local/bin/ | ||
|
||
ENV LC_ALL=C | ||
|
||
CMD hmmbuild -h && hmmsearch -h | ||
|
||
WORKDIR /data | ||
|
||
## Test ## | ||
FROM app as test | ||
|
||
ARG HMMER_VER | ||
|
||
# get test data from source package | ||
COPY --from=builder /hmmer-${HMMER_VER}/tutorial/* . | ||
|
||
RUN hmmbuild globins4.hmm globins4.sto &&\ | ||
hmmsearch globins4.hmm globins45.fa | tee test.out | ||
|
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,44 @@ | ||
# HMMER container | ||
|
||
Main tool : [HMMER](http://hmmer.org/) | ||
|
||
Code repository: https://github.com/EddyRivasLab/hmmer | ||
|
||
Basic information on how to use this tool: | ||
- executables: | ||
- alimask | ||
- hmmalign | ||
- hmmbuild | ||
- hmmconvert | ||
- hmmemit | ||
- hmmfetch | ||
- hmmlogo | ||
- hmmpgmd | ||
- hmmpgmd_shard | ||
- hmmpress | ||
- hmmscan | ||
- hmmsearch | ||
- hmmsim | ||
- hmmstat | ||
- jackhmmer | ||
- makehmmerdb | ||
- nhmmer | ||
- nhmmscan | ||
- phmmer | ||
|
||
- help: -h | ||
- version: -v | ||
- description: | ||
>HMMER searches biological sequence databases for homologous sequences, using either single sequences or multiple sequence alignments as queries. HMMER implements a technology called "profile hidden Markov models" (profile HMMs). | ||
Full documentation: http://eddylab.org/software/hmmer/Userguide.pdf | ||
|
||
# Example commands | ||
|
||
```bash | ||
# build a profile from an alignment | ||
hmmbuild hmm_file msa_file | ||
|
||
# search profile against a sequence database | ||
hmmsearch hmm_file seqs.fa | ||
``` |