Acellera / moleculekit

MoleculeKit: Your favorite molecule manipulation kit
Other
198 stars 37 forks source link

Finding difference between voxels of two different protein #104

Closed wdorji closed 2 years ago

wdorji commented 2 years ago

Hello,

I wanted to ask if there is any way to find the difference between the voxels of two proteins and see how much similar they are?

stefdoerr commented 2 years ago

Hi. You can implement any metric you want since they are just numerical arrays. I guess the simplest is just the absolute of the difference. Something like:

np.abs(x[:, 0] - y[:, 0])

which would get the absolute difference per voxel for channel 0 etc.