openmm / pdbfixer

PDBFixer fixes problems in PDB files
Other
498 stars 117 forks source link

Fixing out a very long chain with pdbfixer #290

Closed stan1233 closed 7 months ago

stan1233 commented 7 months ago
    fixer = pdbfixer.PDBFixer(filename=str(input_pdb_file))
    fixer.removeHeterogens(keepWater=False)
    fixer.findMissingResidues()
    fixer.findNonstandardResidues()
    fixer.replaceNonstandardResidues()
    fixer.findMissingAtoms()
    fixer.addMissingAtoms(seed=seed)
    fixer.addMissingHydrogens(7.4)

When I use these codes to process 5FWS, the processed protein appears with two very long chains. How should I deal with this situation? image

peastman commented 7 months ago

When the protein has terminal loops that weren't resolved in the crystal structure, PDBFixer doesn't try to do anything smart with them. It just adds them pointing outward in a direction that is unlikely to clash with anything else. If you run a short simulation, they should collapse inward fairly quickly. But also consider whether you really want to include them in your simulation. You have no information about their conformation. It might be better to omit them.

Another possibility would be to start from the structure predicted by AlphaFold for that protein. It doesn't look a lot better though. It just shows them as long flexible tails.

image

stan1233 commented 7 months ago

When the protein has terminal loops that weren't resolved in the crystal structure, PDBFixer doesn't try to do anything smart with them. It just adds them pointing outward in a direction that is unlikely to clash with anything else. If you run a short simulation, they should collapse inward fairly quickly. But also consider whether you really want to include them in your simulation. You have no information about their conformation. It might be better to omit them.

Another possibility would be to start from the structure predicted by AlphaFold for that protein. It doesn't look a lot better though. It just shows them as long flexible tails.

image

I understand, you've made it very clear, thank you for your response.