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
02cb7711
"lib/llm/src/vscode:/vscode.git/clone" did not exist on "d99b188da6684230fe2fe43fbf91d0e3180ac3fa"
Commit
02cb7711
authored
Apr 22, 2024
by
Jennifer
Browse files
updates Bio.PDBData call and environment.yml
parent
c4cccb6b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
environment.yml
environment.yml
+4
-5
openfold/data/mmcif_parsing.py
openfold/data/mmcif_parsing.py
+2
-2
No files found.
environment.yml
View file @
02cb7711
...
...
@@ -10,11 +10,10 @@ dependencies:
-
pip
-
openmm=7.7
-
pdbfixer
-
cudatoolkit==11.3.*
-
pytorch-lightning==2.0.9
-
biopython==1.79
-
numpy==1.21
-
pandas==2.0
-
pytorch-lightning
-
biopython
-
numpy
-
pandas
-
PyYAML==5.4.1
-
requests
-
scipy==1.7
...
...
openfold/data/mmcif_parsing.py
View file @
02cb7711
...
...
@@ -24,7 +24,7 @@ import os
from
typing
import
Any
,
Mapping
,
Optional
,
Sequence
,
Tuple
from
Bio
import
PDB
from
Bio.Data
import
SCOP
Data
from
Bio.Data
import
PDB
Data
import
numpy
as
np
from
openfold.data.errors
import
MultipleChainsError
...
...
@@ -283,7 +283,7 @@ def parse(
author_chain
=
mmcif_to_author_chain_id
[
chain_id
]
seq
=
[]
for
monomer
in
seq_info
:
code
=
SCOP
Data
.
protein_letters_3to1
.
get
(
monomer
.
id
,
"X"
)
code
=
PDB
Data
.
protein_letters_3to1
.
get
(
monomer
.
id
,
"X"
)
seq
.
append
(
code
if
len
(
code
)
==
1
else
"X"
)
seq
=
""
.
join
(
seq
)
author_chain_to_sequence
[
author_chain
]
=
seq
...
...
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