Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
af2-at-scicore
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
af2-at-scicore
Commits
b9126661
Commit
b9126661
authored
1 year ago
by
Ninjani
Browse files
Options
Downloads
Patches
Plain Diff
remove --no-run-relax
parent
5d6c10de
Branches
Branches containing commit
Tags
4.0.2
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
run_af2/src/run_af2/_shared.py
+0
-8
0 additions, 8 deletions
run_af2/src/run_af2/_shared.py
run_af2/src/run_af2/run_singularity.py
+0
-10
0 additions, 10 deletions
run_af2/src/run_af2/run_singularity.py
with
0 additions
and
18 deletions
run_af2/src/run_af2/_shared.py
+
0
−
8
View file @
b9126661
...
...
@@ -116,14 +116,6 @@ def parse_af2_arguments(parser):
help
=
"
Use existing MSAs from current working directory.
"
,
default
=
False
,
)
af2_group
.
add_argument
(
"
--no-run-relax
"
,
action
=
"
store_true
"
,
help
=
"
Don
'
t Run relaxation on models after prediction. That is
"
+
"
inverted of alphafold
'
s own --run_relax, and meant to replace
"
+
"'
--run_relax=False
'"
,
default
=
False
,
)
af2_group
.
add_argument
(
"
--use-gpu-relax
"
,
action
=
"
store_true
"
,
...
...
This diff is collapsed.
Click to expand it.
run_af2/src/run_af2/run_singularity.py
+
0
−
10
View file @
b9126661
...
...
@@ -117,7 +117,6 @@ def _assemble_singularity_call( # pylint: disable=too-many-arguments
db_preset
,
model_preset
,
use_precomputed_msas
,
no_run_relax
,
use_gpu_relax
,
num_multimer_predictions_per_model
,
data_paths
,
...
...
@@ -161,7 +160,6 @@ def _assemble_singularity_call( # pylint: disable=too-many-arguments
bool_args
=
{
"
use_precomputed_msas
"
:
use_precomputed_msas
,
"
run_relax
"
:
not
no_run_relax
,
"
use_gpu_relax
"
:
use_gpu_relax
,
}
for
arg
,
val
in
bool_args
.
items
():
...
...
@@ -213,7 +211,6 @@ def run_af2_singularity_image( # pylint: disable=too-many-arguments
db_preset
=
"
full_dbs
"
,
model_preset
=
"
monomer
"
,
use_precomputed_msas
=
False
,
no_run_relax
=
False
,
use_gpu_relax
=
False
,
num_multimer_predictions_per_model
=
5
,
af2_image_file
=
None
,
...
...
@@ -280,11 +277,6 @@ def run_af2_singularity_image( # pylint: disable=too-many-arguments
:param use_precomputed_msas: Use existing MSAs from cwd. Corresponds to the
use_precomputed_msas parameter in AF2.
:type use_precomputed_msas: :class:`bool`
:param no_run_relax: Disable relaxation at the end of modelling.
Corresponds to AF2
'
s no_run_relax parameter but works
oppositely, True means no relaxation, False means
relaxation.
:type no_run_relax: :class:`bool`
:param use_gpu_relax: Run relaxation on GPU. Corresponds to the
use_gpu_relax parameter in AF2.
:type use_gpu_relax: :class:`bool`
...
...
@@ -422,7 +414,6 @@ def run_af2_singularity_image( # pylint: disable=too-many-arguments
db_preset
,
model_preset
,
use_precomputed_msas
,
no_run_relax
,
use_gpu_relax
,
num_multimer_predictions_per_model
,
data_paths
,
...
...
@@ -494,7 +485,6 @@ def main():
opts
.
db_preset
,
opts
.
model_preset
,
opts
.
use_precomputed_msas
,
opts
.
no_run_relax
,
opts
.
use_gpu_relax
,
opts
.
num_multimer_predictions_per_model
,
opts
.
singularity_image
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment