-
Notifications
You must be signed in to change notification settings - Fork 38
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
Interactive rescoring and reclustering #769
Conversation
Interactive rescoring reviewed
Not all examples have their clustr params renamed completely. For example
Is there a test or command to check that the recipes in examples directory are valid? |
good catch, thanks! they should be OK now. They were mainly coming from a merging of another branch we don't have that validation yet, but it would be a very nice integration test..let me think about it! |
Great idea ! |
Re-Rerunning does not seem to work correctly. When I run docking-antibody-antigen-ranairCDR-full.cfg and then
and then run haddock3-re with different arguments.
I expected |
re-re-running clustrmsd, using docking-protein-glycan-test.cfg example, also goes out of sync
|
@sverhoeven I think I fixed your problem, can you check if your examples work now? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my opinion, good to go 🚀
Yep it works, running clustfcc a second time has updated the tsv file. |
You are about to submit a new Pull Request. Before continuing make sure you read the contributing guidelines and that you comply with the following criteria:
tox
tests pass. Runtox
command inside the repository folder-test.cfg
examples execute without errors. Insideexamples/
runpython run_tests.py -b
Closes #739
Closes #686
Closes #786
Closes #631
Briefly, this PR solves the following:
score
,clustfcc
, andclustrmsd
As an example, the rescoring CLI can be applied to a caprieval step as follows:
haddock3-re score run1-ranairCDR-test/02_caprieval/ -e 0.3
this will change the weight of the electrostatic component to 0.3, keeping the other weights to the ones that were originally used by haddock3. A new directory will be created in the workflow, named
02_caprieval_interactive
in this case, that will be used by the haddock3 webapp to allow for interactive rescoring in the browser.The same logic applies to the two reclustering subcommands. They have the feature that they can trace back the closest caprieval folder and update it, thus allowing to rerun the analysis with the modified clusters. If a CNS module is found in between, the search is interrupted.
As an example, take a workflow with
0_topoaa
1_rigidbody
2_caprieval
3_clustfcc
running
haddock3-re clustfcc workflow/3_clustfcc
will create a folder named3_clustfcc_interactive
, that contains the data present in 2_caprieval with the new clustering information. if there was a flexref folder between 2_caprieval and 3_clustfcc the caprieval data would not be touched.@sverhoeven cannot add you as a reviewer, but please have a look at this PR.