update script
Browse files- README.md +2 -0
- pdbbind.ipynb +1 -1
- pdbbind.py +1 -1
- pdbbind.slurm +3 -1
README.md
CHANGED
@@ -17,6 +17,8 @@ It can be used for fine-tuning a language model.
|
|
17 |
|
18 |
The data solely uses data from PDBind-cn.
|
19 |
|
|
|
|
|
20 |
### Use the already preprocessed data
|
21 |
|
22 |
Load a test/train split using
|
|
|
17 |
|
18 |
The data solely uses data from PDBind-cn.
|
19 |
|
20 |
+
Contacts are calculated at three cut-off distances: 5, 8 and 11A.
|
21 |
+
|
22 |
### Use the already preprocessed data
|
23 |
|
24 |
Load a test/train split using
|
pdbbind.ipynb
CHANGED
@@ -579,7 +579,7 @@
|
|
579 |
{
|
580 |
"cell_type": "code",
|
581 |
"execution_count": null,
|
582 |
-
"id": "
|
583 |
"metadata": {},
|
584 |
"outputs": [],
|
585 |
"source": []
|
|
|
579 |
{
|
580 |
"cell_type": "code",
|
581 |
"execution_count": null,
|
582 |
+
"id": "02addbaf-094d-4e40-8904-4fe306647298",
|
583 |
"metadata": {},
|
584 |
"outputs": [],
|
585 |
"source": []
|
pdbbind.py
CHANGED
@@ -20,7 +20,7 @@ punctuation_regex = r"""(\(|\)|\.|=|#|-|\+|\\|\/|:|~|@|\?|>>?|\*|\$|\%[0-9]{2}|
|
|
20 |
# tokenization regex (Schwaller)
|
21 |
molecule_regex = r"""(\[[^\]]+]|Br?|Cl?|N|O|S|P|F|I|b|c|n|o|s|p|\(|\)|\.|=|#|-|\+|\\|\/|:|~|@|\?|>>?|\*|\$|\%[0-9]{2}|[0-9])"""
|
22 |
|
23 |
-
cutoff =
|
24 |
max_seq = 2046 # = 2048 - 2 (accounting for [CLS] and [SEP])
|
25 |
max_smiles = 510 # = 512 - 2
|
26 |
chunk_size = '1G'
|
|
|
20 |
# tokenization regex (Schwaller)
|
21 |
molecule_regex = r"""(\[[^\]]+]|Br?|Cl?|N|O|S|P|F|I|b|c|n|o|s|p|\(|\)|\.|=|#|-|\+|\\|\/|:|~|@|\?|>>?|\*|\$|\%[0-9]{2}|[0-9])"""
|
22 |
|
23 |
+
cutoff = int(sys.argv[1])
|
24 |
max_seq = 2046 # = 2048 - 2 (accounting for [CLS] and [SEP])
|
25 |
max_smiles = 510 # = 512 - 2
|
26 |
chunk_size = '1G'
|
pdbbind.slurm
CHANGED
@@ -6,4 +6,6 @@
|
|
6 |
#SBATCH -N 2
|
7 |
#SBATCH --ntasks-per-node=16
|
8 |
|
9 |
-
srun python pdbbind.py
|
|
|
|
|
|
6 |
#SBATCH -N 2
|
7 |
#SBATCH --ntasks-per-node=16
|
8 |
|
9 |
+
srun python pdbbind.py 5
|
10 |
+
srun python pdbbind.py 8
|
11 |
+
srun python pdbbind.py 11
|