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
9617306a
"lib/runtime/tests/common/mod.rs" did not exist on "4017bd18d0e84b8463bfe381279d4c5a6fd0c6e0"
Commit
9617306a
authored
Jul 08, 2022
by
Gustaf Ahdritz
Browse files
Add option to subtract pLDDT from 100
parent
d2cf0f50
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
run_pretrained_openfold.py
run_pretrained_openfold.py
+8
-0
No files found.
run_pretrained_openfold.py
View file @
9617306a
...
...
@@ -130,6 +130,9 @@ def prep_output(out, batch, feature_dict, feature_processor, args):
plddt
[...,
None
],
residue_constants
.
atom_type_num
,
axis
=-
1
)
if
(
args
.
subtract_plddt
):
plddt_b_factors
=
100
-
plddt_b_factors
# Prep protein metadata
template_domain_names
=
[]
template_chain_index
=
None
...
...
@@ -563,6 +566,11 @@ if __name__ == "__main__":
Significantly improves runtime at the cost of lengthy
'compilation.' Useful for large batch jobs."""
)
parser
.
add_argument
(
"--subtract_plddt"
,
action
=
"store_true"
,
default
=
False
,
help
=
""""Whether to output (100 - pLDDT) in the B-factor column instead
of the pLDDT itself"""
)
add_data_args
(
parser
)
args
=
parser
.
parse_args
()
...
...
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