Closed Ding-qh closed 4 weeks ago
Hi, this usually happens when the target protein has a surface that is challenging for chimera to calculate (described here), and so the generated surface can't be properly read by sphgen. This can sometimes be avoided by not calculating for any small and buried internal cavities the protein might have, so I've updated the command to use allComponents false
. The next version of blindpypr will support sphgen_cpp, which tolerates better these surface calculation errors. Hope this helps
Thank you for your help. I'll try
Use one part of your code to get receptor.sph, which is the following part: chimera_in='''from chimera import runCommand, openModels, MSMSModel runCommand("surf") surf = openModels.list(modelTypes=[MSMSModel])[0] surf = openModels.list(modelTypes=[MSMSModel])[0] writeDMS(surf, "receptor.ms")''' chimeradms = open('ms.py', 'w+'); chimeradms.write(chimera_in); chimeradms.close() os.system('chimera --nogui receptor_tmp.mol2 ms.py') sphgen_in='''receptor.ms R X 0.0 4.0 1.4 spheres.sph''' sphgen = open('INSPH', 'w+'); sphgen.write(sphgen_in); sphgen.close() os.system("sphgen") Get the following error: I guess it is caused by * appearing in the temp3.atc file. What is the solution. temp3.atc file content as