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
e9bacd89
Commit
e9bacd89
authored
Mar 02, 2024
by
rostro36
Browse files
Less dependent on input sequnece, use template length instead
parent
10b68388
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
openfold/data/templates.py
openfold/data/templates.py
+1
-1
No files found.
openfold/data/templates.py
View file @
e9bacd89
...
@@ -975,7 +975,7 @@ def get_custom_template_features(
...
@@ -975,7 +975,7 @@ def get_custom_template_features(
)
)
# chain_id defaults to A, should be changed?
# chain_id defaults to A, should be changed?
template_sequence
=
mmcif_parse_result
.
mmcif_object
.
chain_to_seqres
[
chain_id
]
template_sequence
=
mmcif_parse_result
.
mmcif_object
.
chain_to_seqres
[
chain_id
]
mapping
=
{
x
:
x
for
x
,
_
in
enumerate
(
query
_sequence
)}
mapping
=
{
x
:
x
for
x
,
_
in
enumerate
(
template
_sequence
)}
curr_features
,
curr_warnings
=
_extract_template_features
(
curr_features
,
curr_warnings
=
_extract_template_features
(
mmcif_object
=
mmcif_parse_result
.
mmcif_object
,
mmcif_object
=
mmcif_parse_result
.
mmcif_object
,
...
...
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