Skip to content

Commit

Permalink
fix unpackdb process in use_templates
Browse files Browse the repository at this point in the history
  • Loading branch information
YoshitakaMo authored Aug 16, 2024
1 parent 1ccca5a commit 61ef8eb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions colabfold/mmseqs/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,9 @@ def mmseqs_search_monomer(
run_mmseqs(mmseqs, ["rmdb", base.joinpath("final.a3m")])

if use_templates:
run_mmseqs(mmseqs, ["unpackdb", base.joinpath("res_pdb.m8"), base.joinpath("."), "--unpack-name-mode", "0", "--unpack-suffix", ".m8"])
run_mmseqs(mmseqs, ["rmdb", base.joinpath("res_pdb.m8")])
run_mmseqs(mmseqs, ["unpackdb", base.joinpath("res_pdb"), base.joinpath("."), "--unpack-name-mode", "0", "--unpack-suffix", ".m8"])
if base.joinpath("res_pdb").exists():
run_mmseqs(mmseqs, ["rmdb", base.joinpath("res_pdb")])

run_mmseqs(mmseqs, ["rmdb", base.joinpath("prof_res")])
run_mmseqs(mmseqs, ["rmdb", base.joinpath("prof_res_h")])
Expand Down

0 comments on commit 61ef8eb

Please sign in to comment.