Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
OpenFold
Commits
299f8948
Commit
299f8948
authored
Mar 06, 2023
by
josemduarte
Browse files
Cleanup
parent
8847fb69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
openfold/np/protein.py
openfold/np/protein.py
+0
-16
No files found.
openfold/np/protein.py
View file @
299f8948
...
...
@@ -571,19 +571,3 @@ def from_prediction(
parents
=
parents
,
parents_chain_index
=
parents_chain_index
,
)
if
__name__
==
"__main__"
:
# pdb_file = '/Users/jose/Downloads/171l.pdb'
# pdb_file = '/home/jose/Downloads/2trx.pdb'
pdb_file
=
'/Users/jose/Downloads/1bwd.pdb'
cif_file
=
'/Users/jose/test2.cif'
with
open
(
pdb_file
,
'r'
)
as
file
:
pdbstr
=
file
.
read
()
prot
=
from_pdb_string
(
pdbstr
)
cifstr
=
to_modelcif
(
prot
)
print
(
cifstr
)
with
open
(
cif_file
,
'w'
)
as
fw
:
fw
.
write
(
cifstr
)
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