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
f37d0d96
Unverified
Commit
f37d0d96
authored
Jul 08, 2024
by
Jennifer Wei
Committed by
GitHub
Jul 08, 2024
Browse files
Merge pull request #464 from ljarosch/main
Fix 3-to-1 letter conversion to use extended mapping
parents
f6c875b3
d3c89fc9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
openfold/data/mmcif_parsing.py
openfold/data/mmcif_parsing.py
+1
-1
No files found.
openfold/data/mmcif_parsing.py
View file @
f37d0d96
...
...
@@ -283,7 +283,7 @@ def parse(
author_chain
=
mmcif_to_author_chain_id
[
chain_id
]
seq
=
[]
for
monomer
in
seq_info
:
code
=
PDBData
.
protein_letters_3to1
.
get
(
monomer
.
id
,
"X"
)
code
=
PDBData
.
protein_letters_3to1
_extended
.
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