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
ad34fc3c
Commit
ad34fc3c
authored
Apr 22, 2024
by
Jennifer
Browse files
updates Bio.PDBData call and environment.yml
parent
793eb966
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
environment.yml
environment.yml
+3
-3
openfold/data/mmcif_parsing.py
openfold/data/mmcif_parsing.py
+2
-2
No files found.
environment.yml
View file @
ad34fc3c
...
...
@@ -12,7 +12,7 @@ dependencies:
-
openmm=7.7
-
pdbfixer
-
pytorch-lightning
-
biopython
==1.79
-
biopython
-
numpy
-
pandas
-
PyYAML==5.4.1
...
...
@@ -24,13 +24,13 @@ dependencies:
-
modelcif==0.7
-
awscli
-
ml-collections
-
mkl=202
4.0
-
mkl=202
2.1
-
aria2
-
git
-
bioconda::hmmer==3.3.2
-
bioconda::hhsuite==3.3.0
-
bioconda::kalign2==2.04
-
pytorch::pytorch=2.
2
-
pytorch::pytorch=2.
1
-
pytorch::pytorch-cuda=12.1
-
pip
:
-
deepspeed==0.12.4
...
...
openfold/data/mmcif_parsing.py
View file @
ad34fc3c
...
...
@@ -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