File size: 1,330 Bytes
2cb890e
 
 
 
 
 
 
 
 
 
 
ecaeb18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
da1abf5
 
 
 
 
 
 
7164947
 
12761b6
da1abf5
7164947
da1abf5
 
 
 
 
 
7164947
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
41
42
43
44
45
46
47
48
49
50
51
---
title: GET
app_file: app/main.py
colorFrom: gray
colorTo: red
sdk: docker
license: cc-by-nc-4.0
pinned: false
---


# 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 7860:7860 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:7860, 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 7860:7860 getdemo
```