Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
DLA-Ranker
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DLA-Ranker
DLA-Ranker
Commits
d6b71fcb
Commit
d6b71fcb
authored
Apr 20, 2022
by
Yasser Mohseni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates
parent
cd58bd5e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
generate_cubes.py
Representation/generate_cubes.py
+3
-3
tools.py
lib/tools.py
+0
-1
No files found.
Representation/generate_cubes.py
View file @
d6b71fcb
...
...
@@ -49,7 +49,7 @@ if not path.exists(map_dir):
mkdir
(
map_dir
)
bin_path
=
"./maps
Generator/build/maps
_generator"
bin_path
=
"./maps_generator"
v_dim
=
24
def
mapcomplex
(
file
,
pose_class
,
ch1
,
ch2
,
pair
,
pose
):
...
...
@@ -172,10 +172,10 @@ def process_targetcomplex(targetcomplex, comp_dir, report_dict):
bad_poses
=
confom_dict
.
loc
[(
confom_dict
.
Comp
==
targetcomplex
)
&
(
confom_dict
.
Class
==
0
)]
.
Conf
.
to_list
()
ch1
,
ch2
=
confom_dict
.
loc
[
confom_dict
.
Comp
==
targetcomplex
][[
'ch1'
,
'ch2'
]]
.
iloc
[
0
]
for
pose
in
good_poses
:
file
=
path
.
join
(
comp_dir
,
pose
+
'.pdb'
)
file
=
path
.
join
(
comp_dir
,
targetcomplex
,
pose
+
'.pdb'
)
mapcomplex
(
file
,
'1'
,
ch1
,
ch2
,
targetcomplex
,
path
.
basename
(
pose
))
for
pose
in
bad_poses
:
file
=
path
.
join
(
comp_dir
,
pose
)
file
=
path
.
join
(
comp_dir
,
targetcomplex
,
pose
+
'.pdb'
)
mapcomplex
(
file
,
'0'
,
ch1
,
ch2
,
targetcomplex
,
path
.
basename
(
pose
))
except
Exception
as
e
:
...
...
lib/tools.py
View file @
d6b71fcb
...
...
@@ -12,7 +12,6 @@ import pickle
import
shutil
import
pypdb
import
pandas
as
pd
import
protein
as
pr
from
prody
import
*
from
os
import
path
,
mkdir
,
remove
,
getenv
,
listdir
,
system
from
io
import
StringIO
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment