forked from Reed-CompBio/spras
-
Notifications
You must be signed in to change notification settings - Fork 0
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 Reed-CompBio#103 from livj4711/domino
Add DOMINO pathway reconstruction algorithm
- Loading branch information
Showing
18 changed files
with
2,068 additions
and
732 deletions.
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
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,11 @@ | ||
# DOMINO wrapper | ||
# https://github.com/Shamir-Lab/DOMINO | ||
FROM python:3.7 | ||
|
||
RUN pip install domino-python==0.1.1 | ||
|
||
# DOMINO requires data files in hard-coded locations | ||
RUN cd /usr/local/lib/python3.7/site-packages/src/data && \ | ||
wget https://raw.githubusercontent.com/Shamir-Lab/DOMINO/master/src/data/ensg2gene_symbol.txt && \ | ||
wget https://raw.githubusercontent.com/Shamir-Lab/DOMINO/master/src/data/ensmusg2gene_symbol.txt && \ | ||
wget https://raw.githubusercontent.com/Shamir-Lab/DOMINO/master/src/data/graph.html.format |
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,22 @@ | ||
# DOMINO Docker image | ||
|
||
A Docker image for [DOMINO](https://github.com/Shamir-Lab/DOMINO) that is available on [DockerHub](https://hub.docker.com/repository/docker/reedcompbio/domino). | ||
|
||
DOMINO outputs multiple active modules, which SPRAS combines into a single pathway. | ||
It is [non-deterministic](https://github.com/Shamir-Lab/DOMINO/issues/5) and cannot be made deterministic with a seed. | ||
|
||
To create the Docker image run: | ||
``` | ||
docker build -t reedcompbio/domino -f Dockerfile . | ||
``` | ||
from this directory. | ||
|
||
To inspect the installed Python packages: | ||
``` | ||
winpty docker run reedcompbio/domino pip list | ||
``` | ||
The `winpty` prefix is only needed on Windows. | ||
|
||
## TODO | ||
- Resolve upstream ValueError with small inputs https://github.com/Shamir-Lab/DOMINO/issues/11 | ||
- Use cache or reuse slices files from previous runs on the same network |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
NODEID prize | ||
A 2 | ||
C 5.7 | ||
NODEID prize active | ||
A 2 true | ||
C 5.7 true |
Oops, something went wrong.