You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Option 1 didn't even work - the mmCIFs provided by PDB have problems and biopython parses them strangely.
Option 2 - seems unnecessarily hacky, but in practice should be very straightforward - we just need to insert TERs at the ends of lines.
For option 3 - what PDB writer? Biopython doesn't do bonds, meaning we'd have to do CONECT records manually. RDKit doesn't accept tetravalent nitrogens, suggesting that it's not flexible enough for our use cases.
Option 4 is appealing, but probably introduces too much unnecessary confusion - users will see chains appear out of nowhere.
- Added a PDB helper that will insert TER records at the appropriate spots: moldesign.helpers.pdb.insert_ter_records
- We may want to use this by default in the future - for now, we just use it to prepare the PDB file for tleap
It appears OpenBabel doesn't write TER records in PDB files.
This can become a problem with tleap specifically, which detects terminal residues via
a) TER records or
b) the end of a chain.
So, if a chain includes a bunch of residues AND some waters or a ligand, we can't parameterize it.
Options:
The text was updated successfully, but these errors were encountered: