Treecodes / TABI-PB

TABI-PB (treecode-accelerated boundary integral) solves the linear Poisson-Boltzmann equation. This TABI-PB repo serves as a submodule to APBS, and also works as a standalone distribution.
Other
7 stars 1 forks source link

Working on a partial mesh #19

Closed hochshi closed 4 months ago

hochshi commented 5 months ago

Hi,

Would it be possible to solve the linearized Poisson-Boltzmann equation on a partial mesh that does not cover the entirety of the protein? I would like to solve PB in a binding site with a very high density and am not interested in the electrostatic potential outside that site.

I can change this either in NanoShaper or TABI-PB but before doing so would like to make sure the calculation would still be correct.

Thanks

leightonw-cerebras commented 5 months ago

Hi there @hochshi! This is a good question... my intuition says you might have substantial accuracy problems, since the integral equation transforms the domain onto the surface of the mesh. Solving on just a partial mesh may work better with something like a finite difference solver than a boundary element solver.

By the way, I only just notice your issue from awhile back:

I've modernized parts of NanoShaper, plus added a usable python interface. I think it make sense for you to use NanoShaper as a library instead of executing it. If you're interested, have a look at: https://github.com/hochshi/NanoShaper. If there's something I can assist with or extra features you'd like to have - drop a line.

Can't believe I missed this! Yes, integrating NanoShaper as a library would make a lot more sense, and back in my PhD I always meant to try, but never got around to it. Would definitely be interested in doing this if I can grab some free time

hochshi commented 5 months ago

@leightonw-cerebras thank you. I've reread TABI-PB papers and I think I understand your point.

Since I'm interested in the potential on the surface of the protein using finite difference or finite element solvers isn't really useful for me.

What do you think about this approach?

I'll produce a mesh of varying densities. The mesh would consist of low density outside the binding site and high density in the binding site.

From my understanding of the integral equations, there is no uniform density requirement, of course calculating energies (such as solvation or binding) this way would lead to higher errors but I'm not interested in energies, only in the electrostatic potential.

Thanks

lwwilson1 commented 5 months ago

Yes, that should absolutely work—as long as the mesh is closed, it should be fine to have a mesh with higher density close to the binding site. There’s definitely no requirement that the density of the mesh be uniform.

Leighton

On Jun 7, 2024, at 11:47 PM, hochshi @.***> wrote:

@leightonw-cerebras https://github.com/leightonw-cerebras thank you. I've reread TABI-PB papers and I think I understand your point.

Since I'm interested in the potential on the surface of the protein using finite difference or finite element solvers isn't really useful for me.

What do you think about this approach?

I'll produce a mesh of varying densities. The mesh would consist of low density outside the binding site and high density in the binding site.

From my understanding of the integral equations, there is no uniform density requirement, of course calculating energies (such as solvation or binding) this way would lead to higher errors but I'm not interested in energies, only in the electrostatic potential.

Thanks

— Reply to this email directly, view it on GitHub https://github.com/Treecodes/TABI-PB/issues/19#issuecomment-2155807384, or unsubscribe https://github.com/notifications/unsubscribe-auth/AENDM6ENVHYTIUXAIIG2Z4LZGKEHNAVCNFSM6AAAAABIX4X4GKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJVHAYDOMZYGQ. You are receiving this because you are subscribed to this thread.

hochshi commented 5 months ago

Thank you very much. If you're interested I'll send the paper once it's published.