Skip to content

Commit

Permalink
draft dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
d-callan committed Jan 3, 2025
1 parent 8407012 commit 276be4b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM alpine:3.21.0

# Install build dependencies
RUN apk add --no-cache build-base cmake

# Create a directory for the project
WORKDIR /hyphy

# Copy project files
COPY . /hyphy

# Install project
RUN cmake . && make install
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ HyPhy is an open-source software package for the analysis of genetic sequences u
#### Install
`conda install -c bioconda hyphy`

#### Running with Docker
You can also run HyPhy without having to install it on your system using the provided Dockerfile. Following the below instructions starts an interactive Docker container where HyPhy is already available.

```
git clone https://github.com/veg/hyphy.git
cd hyphy
docker build -t hyphy:latest .
docker run --rm -it hyphy:latest
```

#### Run with Command Line Arguments
`hyphy <method_name> --alignment <path_to_alignment_file> <additional_method_specific_arguments>`
+ _`<method_name>` is the name of the analysis you wish to run (can be: absrel, bgm, busted, fade, fel, fubar, gard, meme, relax or slac)_
Expand Down

0 comments on commit 276be4b

Please sign in to comment.