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

Scenarios #29

Closed
sverhoeven opened this issue Mar 13, 2023 · 6 comments
Closed

Scenarios #29

sverhoeven opened this issue Mar 13, 2023 · 6 comments

Comments

@sverhoeven
Copy link
Member

Haddock can be used in different scenarios like the examples and tutorials. It would be nice if the web application gave an overview of scenarios.

When an user picks a scenario it would be great to show the workflow builder with everything already filled in.

The scenario could include some instructions how to use it on the users own data, for example which files to upload.

@sverhoeven
Copy link
Member Author

Would be nice to have an scenario which was quick and gave multiple clusters to make the caprieval analyis report interesting.

@sverhoeven
Copy link
Member Author

In #87 the protein-protein and antibody-antigen scenario pages where added.
localhost_3000_scenarios_antibody-antigen

These pages should be made easier to use, for example by

  • Picking chains from PDBs
  • Make first molecule have chain A and second molecule have chain B
  • Pick restraint residues from 3D viewer, 2D sequence and/or list of numbers.
  • The *.tbl files should be generated from selected residues similar to Haddock2.4 web site.

@rvhonorato can you help with this?

@rvhonorato
Copy link
Contributor

Picking chains from PDBs
The *.tbl files should be generated from selected residues similar to Haddock2.4 web site.

I'm using webassembly for this in wenmr

Could be done by calling the PDBtools webservice

I'd rather stay away from pdb-tools as much as possible, it's a great cli tool but in my experience using it for anything except that is very troublesome, since the operations it do are quite trivial its simpler to re-write the ones we need. Also its web-service is not a restapi and has a custom interface which is quite tricky to interact with.

Pick restraint residues from 3D viewer, 2D sequence and/or list of numbers.

The sequence render is useful, but not simple to do - in this case specifically people should already know what are the residues since they are one of the key information.

Make first molecule have chain A and second molecule have chain B

In the new interface i'm moving away from behind-the-scenes magic and providing a dialog with options, since this unseen data editing causes much more problems than it solves.


These steps seems to be related to data pre-processing, I'd say its best to do it in haddock3 instead of here. It could recieve a parameter that triggers a specific pre-processing based on the scenario, what you think @amjjbonvin @mgiulini ?

@mgiulini
Copy link

my opinions here are that:

  • reading the chains is crucial. Borrowing the wenmr code could be the best solution.
  • I would stick to the lists of residues to define the restraints. Of course giving also the possibility to upload the tbl file.
  • I would indeed not care too much about chains A and B as long as they are read at upload time.
  • about generating the unambig and ambig restraints, the haddock3 codebase has now all the scripts necessary to do this. once the data are read we can launch a python subprocess to generate the necessary things. Of course borrowing the wenmr code here is a (faster) possibility.

@sverhoeven
Copy link
Member Author

sverhoeven commented Mar 27, 2024

I managed to generated ambig.tbl file with #91 and haddocking/haddock3#841
This uses the new haddock3-restraints webservice uvicorn --port 5000 haddock.clis.restraints.webservice:app command for the haddock3 specific tasks and ngl to parse the chains and residues.

@sverhoeven
Copy link
Member Author

With #120 we cover the most common scenarios. Other scenarios will be done in dedicated issues.

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

No branches or pull requests

3 participants