Skip to content

Commit

Permalink
Docker file update + header in result file
Browse files Browse the repository at this point in the history
  • Loading branch information
ClovisG committed Apr 13, 2017
1 parent d5a4152 commit 43ce556
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM ubuntu:14.04

RUN "sh" "-c" "echo nameserver 8.8.8.8 >> /etc/resolv.conf"
RUN apt-get update
RUN apt-get install -y\
g++\
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,19 @@ WIsH is licensed under the General Public License (see the LICENSE file). Copyri

#### Installation: ####

##### Docker: #####
Build the docker container:
```
#!bash
cd /path/to/repository/of/WiSH
docker build -t wish .
```

To run WIsH from the container:
```
docker run -v /some/host/folder:/data wish <some WiSH commands>
```

##### Linux: #####
```
#!bash
Expand Down
13 changes: 13 additions & 0 deletions README.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,19 @@ WIsH is licensed under the General Public License (see the LICENSE file). Copyri

#### Installation: ####

##### Docker: #####
Build the docker container:
```
#!bash
cd /path/to/repository/of/WiSH
docker build -t wish .
```

To run WIsH from the container:
```
docker run -v /some/host/folder:/data wish <some WiSH commands>
```

##### Linux: #####
```
#!bash
Expand Down
3 changes: 2 additions & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ void predict(std::string genomeDir, std::string modelDir,std::string resultDir,

if (!fout.good())
die("Cannot open ",resultDir);

fout << "\"Phage\"\t\"Best hit among provided hosts\"\t\"LogLikelihood\"\t\"p-value if null parameters provided\"\n";

for (size_t j = 0 ; j < genomeNames.size() ; j++)
{
maxLL = -DBL_MAX;
Expand Down

0 comments on commit 43ce556

Please sign in to comment.