I'm trying to integrate a residue depth calculation in my python script pipeline using MacOS Big Sur. Biopython's Bio.PDB.ResidueDepth module uses MGLtool's MSMS, which is a 32 bit app and thus I get the hateful "Bad CPU type in executable" error when trying to execute it separately.
"RuntimeError: Failed to generate surface file using command: msms -probe_radius 1.5 -if"
pops if called from biopython using the Bio.PDB.ResidueDepth test code.
I've been using the Depth web application, which is not handy for script integration. I've tried the local installation, but the CMake install fails with:
clang: error: unsupported option '-fopenmp'
And none of this (or any other in stackoverflow) worked, even not adding the -Xpreprocessor flag before the -fopenmp one in depth_source/bin/makefile, which gives the error:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Any workarounds to solve any of these issues? Of course I'd prefer using biopython not being forced to switch OS, although being able to call Depth locally would also do.