Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed inference script in multimer mode #348

Merged
merged 4 commits into from Sep 25, 2023

Conversation

dingquanyu
Copy link
Contributor

  1. Added uniprot data base path for multimer mode otherwise it crashes the programme
  2. Fixed local_alignment_dir for multimer otherwise it reports alignment not found error even though alignments are already calculated.

@@ -71,7 +71,10 @@ def precompute_alignments(tags, seqs, alignment_dir, args, is_multimer):
fp.write(f">{tag}\n{seq}")

if is_multimer:
local_alignment_dir = alignment_dir
local_alignment_dir = os.path.join(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yeah you're right, I've only run this with precomputed alignments. However, can you remove this conditional entirely and just make one statement since they are the same for both conditions

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure I've updated this part @christinaflo

@christinaflo christinaflo merged commit 8820875 into aqlaboratory:multimer Sep 25, 2023
1 check passed
@dingquanyu dingquanyu deleted the fix-inference-script branch January 19, 2024 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants