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
8820875b
Unverified
Commit
8820875b
authored
Sep 25, 2023
by
Christina Floristean
Committed by
GitHub
Sep 25, 2023
Browse files
Merge pull request #348 from dingquanyu/fix-inference-script
Fixed inference script in multimer mode
parents
4208a761
7f12c2a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
run_pretrained_openfold.py
run_pretrained_openfold.py
+3
-4
No files found.
run_pretrained_openfold.py
View file @
8820875b
...
...
@@ -70,13 +70,11 @@ def precompute_alignments(tags, seqs, alignment_dir, args, is_multimer):
with
open
(
tmp_fasta_path
,
"w"
)
as
fp
:
fp
.
write
(
f
">
{
tag
}
\n
{
seq
}
"
)
if
is_multimer
:
local_alignment_dir
=
alignment_dir
else
:
local_alignment_dir
=
os
.
path
.
join
(
local_alignment_dir
=
os
.
path
.
join
(
alignment_dir
,
os
.
path
.
join
(
alignment_dir
,
tag
),
)
if
(
args
.
use_precomputed_alignments
is
None
and
not
os
.
path
.
isdir
(
local_alignment_dir
)):
logger
.
info
(
f
"Generating alignments for
{
tag
}
..."
)
...
...
@@ -90,6 +88,7 @@ def precompute_alignments(tags, seqs, alignment_dir, args, is_multimer):
bfd_database_path
=
args
.
bfd_database_path
,
uniref30_database_path
=
args
.
uniref30_database_path
,
uniclust30_database_path
=
args
.
uniclust30_database_path
,
uniprot_database_path
=
args
.
uniprot_database_path
,
no_cpus
=
args
.
cpus
,
)
alignment_runner
.
run
(
...
...
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