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

Weird behaviour when PDB input files have no chainID #138

Closed
amjjbonvin opened this issue Nov 23, 2021 · 11 comments
Closed

Weird behaviour when PDB input files have no chainID #138

amjjbonvin opened this issue Nov 23, 2021 · 11 comments
Labels
bug Something isn't working

Comments

@amjjbonvin
Copy link
Member

In the topoaa module, when an input PDB file has no chainID/segID defined the module puts $PRO as segid which causes problems downstream. No segIDs were defined in the config files since those are in principle defined in the default.cfg file of the module.

This does not happen when a PDB input has the chainID present.

In default.cfg there are default segIDs defined for each molecule. Those should be used.

@amjjbonvin amjjbonvin added the bug Something isn't working label Nov 23, 2021
@joaomcteixeira
Copy link
Member

Is it correct to say that each input PDB file must have a single chain?

@joaomcteixeira joaomcteixeira self-assigned this Nov 24, 2021
@joaomcteixeira joaomcteixeira added the enhancement Enhancing an existing feature of adding a new one label Nov 24, 2021
@joaomcteixeira joaomcteixeira added this to Needs triage in Bugs via automation Nov 24, 2021
@joaomcteixeira joaomcteixeira added this to To do in Enhancements via automation Nov 24, 2021
@joaomcteixeira joaomcteixeira moved this from Needs triage to In progress in Bugs Nov 24, 2021
@joaomcteixeira joaomcteixeira added this to the v3.0.0 stable release milestone Nov 24, 2021
@joaomcteixeira
Copy link
Member

I am working on this right now.
If we have two input structures. One with chainID A and the other without chainID/segID (bugged). Which letter should we assign to the second structure? A or B? In other words, should the chainID/segID added to the structures with this information missing follow the IDs of the ones which have, or can they be independent?

@rvhonorato
Copy link
Member

Since I was assigned first, I already fixed this :)

@rvhonorato
Copy link
Member

I am working on this right now. If we have two input structures. One with chainID A and the other without chainID/segID (bugged). Which letter should we assign to the second structure? A or B? In other words, should the chainID/segID added to the structures with this information missing follow the IDs of the ones which have, or can they be independent?

Basically needs to be the same as for 2.x

@rvhonorato
Copy link
Member

I won't have any more time this week to clean and PR this one, so probably better if you go ahead @joaomcteixeira

@rvhonorato rvhonorato removed their assignment Nov 24, 2021
@rvhonorato rvhonorato removed the enhancement Enhancing an existing feature of adding a new one label Nov 24, 2021
@amjjbonvin
Copy link
Member Author

amjjbonvin commented Nov 24, 2021 via email

@joaomcteixeira
Copy link
Member

Will address this as part of a sanitization process for all PDBs entering the haddock3 pipeline.

@rvhonorato
Copy link
Member

Would be nice to have this PDBHandler part as an independent library so we could also use it in the webserver; check what it does now.

@rvhonorato
Copy link
Member

Is this one still relevant?

@joaomcteixeira
Copy link
Member

Yes, it's relevant. It's solved in #144. But I need to finish that PR.

@rvhonorato
Copy link
Member

Apparently it was fixed in #144

Bugs automation moved this from In progress to Closed Jun 1, 2023
Enhancements automation moved this from In progress to Done Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Bugs
  
Closed
Enhancements
  
Done
Development

Successfully merging a pull request may close this issue.

3 participants