Skip to content

Commit 9d877d3

Browse files
committed
Tests for 5t35
1 parent 59bb83a commit 9d877d3

12 files changed

+11220
-0
lines changed

README.md

+38
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,41 @@
5959

6060
![2uuy/2uuy_1.png](2uuy/2uuy_1.png)
6161

62+
63+
64+
## 5t35
65+
66+
### Default 1 restraint
67+
68+
```bash
69+
./run.sh 1
70+
```
71+
72+
![protacs/5t35/5t35_1.png](protacs/5t35/5t35_1.png)
73+
74+
75+
### Dense sampling enabled, 1 restraint
76+
77+
```bash
78+
./run.sh 1 20 -ds
79+
```
80+
81+
![protacs/5t35/5t35_1_20_ds.png](protacs/5t35/5t35_1_20_ds.png)
82+
83+
84+
### 50 swarms per restraint, 2 restraints
85+
86+
```bash
87+
./run.sh 2 50
88+
```
89+
90+
![protacs/5t35/5t35_2_50.png](protacs/5t35/5t35_2_50.png)
91+
92+
93+
### Dense sampling enabled, 2 restraint
94+
95+
```bash
96+
./run.sh 2 20 -ds
97+
```
98+
99+
![protacs/5t35/5t35_2_20_ds.png](protacs/5t35/5t35_2_20_ds.png)

protacs/5t35/1_restraints.list

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
R D.759.301

protacs/5t35/2_restraints.list

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
R D.ARG.69
2+
R D.759.301

protacs/5t35/5t35_1.png

280 KB
Loading

protacs/5t35/5t35_1_20_ds.png

321 KB
Loading

protacs/5t35/5t35_2_20_ds.png

345 KB
Loading

protacs/5t35/5t35_2_50.png

278 KB
Loading

protacs/5t35/ligand.pdb

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

protacs/5t35/receptor.pdb

+5,641
Large diffs are not rendered by default.

protacs/5t35/reference.pdb

+3,746
Large diffs are not rendered by default.

protacs/5t35/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 receptor.pdb ligand.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_receptor.pdb init/swarm_centers.pdb -d "select lightdock_receptor; color white, sele; show surface, sele; select swarm_centers; color red, sele; show spheres, sele; select all and ${residues}; color blue, sele; z vis;";

protacs/5t35/test.py

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env python3
2+
3+
from prody import parsePDB
4+
import sys
5+
6+
7+
pdb_file = sys.argv[1]
8+
molecule = parsePDB(pdb_file)
9+
10+
selection = molecule.select("within 10 of (chain D and resnum 301 or chain D and resnum 69) and surface or (chain D and resnum 301 or chain D and resnum 69)")
11+
for a in selection:
12+
print(f"{a.getChid()}.{a.getResname()}.{a.getResnum()} {a.getName()}")

0 commit comments

Comments
 (0)