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
"tools/cfgs/git@developer.sourcefind.cn:OpenDAS/openpcdet.git" did not exist on "c7f6de362a2f5aa914a567c55922d56c8850bcfe"
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:
...
@@ -10,11 +10,10 @@ dependencies:
-
pip
-
pip
-
openmm=7.7
-
openmm=7.7
-
pdbfixer
-
pdbfixer
-
cudatoolkit==11.3.*
-
pytorch-lightning
-
pytorch-lightning==2.0.9
-
biopython
-
biopython==1.79
-
numpy
-
numpy==1.21
-
pandas
-
pandas==2.0
-
PyYAML==5.4.1
-
PyYAML==5.4.1
-
requests
-
requests
-
scipy==1.7
-
scipy==1.7
...
...
openfold/data/mmcif_parsing.py
View file @
02cb7711
...
@@ -24,7 +24,7 @@ import os
...
@@ -24,7 +24,7 @@ import os
from
typing
import
Any
,
Mapping
,
Optional
,
Sequence
,
Tuple
from
typing
import
Any
,
Mapping
,
Optional
,
Sequence
,
Tuple
from
Bio
import
PDB
from
Bio
import
PDB
from
Bio.Data
import
SCOP
Data
from
Bio.Data
import
PDB
Data
import
numpy
as
np
import
numpy
as
np
from
openfold.data.errors
import
MultipleChainsError
from
openfold.data.errors
import
MultipleChainsError
...
@@ -283,7 +283,7 @@ def parse(
...
@@ -283,7 +283,7 @@ def parse(
author_chain
=
mmcif_to_author_chain_id
[
chain_id
]
author_chain
=
mmcif_to_author_chain_id
[
chain_id
]
seq
=
[]
seq
=
[]
for
monomer
in
seq_info
:
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
.
append
(
code
if
len
(
code
)
==
1
else
"X"
)
seq
=
""
.
join
(
seq
)
seq
=
""
.
join
(
seq
)
author_chain_to_sequence
[
author_chain
]
=
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