Skip to content

Commit 131148b

Browse files
committed
1ppe tests
1 parent 51e82fa commit 131148b

11 files changed

+1916
-0
lines changed

1ppe/1PPE_l_u.pdb

+223
Large diffs are not rendered by default.

1ppe/1PPE_r_u.pdb

+1,630
Large diffs are not rendered by default.

1ppe/1_restraints.list

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
R A.SER.214

1ppe/1ppe_1.png

293 KB
Loading

1ppe/1ppe_1_20_ds.png

351 KB
Loading

1ppe/1ppe_2_40.png

325 KB
Loading

1ppe/2_restraints.list

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
R A.SER.214
2+
R A.LYS.217

1ppe/3_restraints.list

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
R A.SER.214
2+
R A.LYS.217
3+
R A.GLN.218

1ppe/4_restraints.list

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
R A.SER.214
2+
R A.LYS.217
3+
R A.GLN.218
4+
R A.GLY.3

1ppe/run.sh

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/bin/bash
2+
3+
rm -rf init setup.json lightdock* swarm_* resi.list;
4+
5+
if [ "$#" == "3" ]; then
6+
SPR="-spr $2";
7+
DS="-ds";
8+
elif [ "$#" == "2" ]; then
9+
SPR="-spr $2";
10+
DS="";
11+
elif [ "$#" == "1" ]; then
12+
SPR="";
13+
DS="";
14+
else
15+
echo "Wrong arguments";
16+
exit 1;
17+
fi
18+
19+
lightdock3_setup.py 1PPE_r_u.pdb 1PPE_l_u.pdb --noxt --now --noh -rst ${1}_restraints.list ${SPR} ${DS};
20+
21+
for i in `cut -c 9- ${1}_restraints.list`;do echo "resi $i"; done > resi.list;
22+
23+
residues=$(paste -d' ' -s resi.list);
24+
25+
pymol lightdock_1PPE_r_u.pdb init/swarm_centers.pdb -d "select lightdock_1PPE_r_u and chain A; color white, sele; show surface, sele; select swarm_centers; color red, sele; show spheres, sele; select all and ${residues}; color blue, sele; z vis;";

README.md

+28
Original file line numberDiff line numberDiff line change
@@ -1 +1,29 @@
11
# Test Restraints
2+
3+
## 1PPE
4+
5+
### Default 1 restraint
6+
7+
```bash
8+
./run.sh 1
9+
```
10+
11+
![1ppe/1ppe_1.png](1ppe/1ppe_1.png)
12+
13+
14+
### Dense sampling enabled, 1 restraint
15+
16+
```bash
17+
./run.sh 1 20 -ds
18+
```
19+
20+
![1ppe/1ppe_1_20_ds.png](1ppe/1ppe_1_20_ds.png)
21+
22+
23+
### 40 swarms per restraint, 2 restraints
24+
25+
```bash
26+
./run.sh 2 40
27+
```
28+
29+
![1ppe/1ppe_2_40.png](1ppe/1ppe_2_40.png)

0 commit comments

Comments
 (0)