opening file in extension.

I am developing an extension for the newest version of chimera. At the moment, my extension takes several .pdb files as input and opens them in the viewer. Currently, I am using the chimera.openmodels.open() to display these pdb files. This was not a problem until I started using .pdb files that consisted of hundreds of points. Because I am opening multiple .pdb files, the call to "setCategory()" does not execute fast enough and the root will have changed. In summary, what will I have to do in code to open multiple .pdb files made up of hundreds of points? -- Devin Haslam Old Dominion University, Norfolk, Virginia

Hi Devin, Without seeing your PDB files I can’t say for sure, but if your “points” are in ATOM records all in the same residue, then Chimera is using an N-squared algorithm to try to find the connectivity between the “atoms” in your “residue". You can circumvent this computation by putting all your points in HETATM records, and use a different residue number (combined with chain ID if necessary) for each point. —Eric Eric Pettersen UCSF Computer Graphics Lab
On Jan 13, 2017, at 1:02 PM, Devin Haslam <dhasl002@odu.edu> wrote:
I am developing an extension for the newest version of chimera. At the moment, my extension takes several .pdb files as input and opens them in the viewer. Currently, I am using the chimera.openmodels.open() to display these pdb files. This was not a problem until I started using .pdb files that consisted of hundreds of points. Because I am opening multiple .pdb files, the call to "setCategory()" does not execute fast enough and the root will have changed.
In summary, what will I have to do in code to open multiple .pdb files made up of hundreds of points?
-- Devin Haslam Old Dominion University, Norfolk, Virginia _______________________________________________ Chimera-dev mailing list Chimera-dev@cgl.ucsf.edu http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-dev
participants (2)
-
Devin Haslam
-
Eric Pettersen