File size: 1,208 Bytes
ecaeb18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
da1abf5
 
 
 
 
 
 
 
12761b6
 
da1abf5
 
 
 
 
 
 
 
 
12761b6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Data preparation
Put the data in the following structure in the root directory of the project.
```bash
data
β”œβ”€β”€ sequences
β”‚   └── causal
β”‚       β”œβ”€β”€ MECP2_TFAP2A
β”‚       β”œβ”€β”€ PRDM1_SMAD2
β”‚       └── TAF1_ZFX
└── structures
    β”œβ”€β”€ causal
    β”‚   β”œβ”€β”€ MECP2_TFAP2A
    β”‚   β”œβ”€β”€ PRDM1_SMAD2
    β”‚   └── TAF1_ZFX
    └── homodimer
        β”œβ”€β”€ PRDM1
        β”œβ”€β”€ SMAD2
        β”œβ”€β”€ TAF1
        └── ZFX
```

# Installation
```bash
git clone --recursive git@github.com:fuxialexander/getdemo.git
cd getdemo
docker pull fuxialexander/getdemo:latest
docker run -it -v "/path/to/data:/data" --rm -p 7681:7681 fuxialexander/getdemo
or
singularity run  -w --bind /manitou/pmg/users/xf2217/getdemo:/app --bind /manitou/pmg/users/xf2217/demo_data:/data --bind /pmglocal/xf2217/tmp:/tmp --no-home --pwd /app getdemo
```
The gradio interface will be available at http://127.0.0.1:7681, a sharable link will be printed in the terminal.

# Build
```bash
git clone --recursive git@github.com:fuxialexander/getdemo.git
cd getdemo
docker build -t getdemo .
docker run -it -v "/path/to/data:/data" --rm -p 7681:7681 getdemo
```