Hi Ferdinando,
That is very cool.
First thing to know is that if you oepn your “
chimera.com” it will draw 1 frame after each of the 3800 commands in that file and the graphics limits the frame rate to 60 frames per second. You can avoid that drawing of a frame after each command by opening the script with Chimera command “read
chimera.com” instead of “open
chimera.com”. But the above limitation says it would take about 60 seconds to open and in fact it takes much longer. It seems to take minutes even with “read”. Maybe there is a recalculation of the molecule connectivity after each bond is made. I never tried making thousands of bonds, one command for each bond. There is no command to make multiple bonds at once.
One thought is that you could but CONECT records in your pdb file to specify all the bonds. These lines look like
CONECT 242 133
and specify to atom serial numbers each taking exactly 5 columns (in fixed fields as with all PDB records). But I believe Chimera will try to make other bonds based on “atom” distances and I see your coordinates seem to be in nano-meters. If you changed those to Angstroms (as is the common use for PDB files) then you could probably avoid any extra bonds.
Another approach would be to abandon the PDB format and make a Chimera XML marker file which has a simple format described here
Markers and links are really just atoms and bonds in Chimera — you can set the positions, radii, colors, and it would probably load in about 1 second.
Tom
Hi!
We often use chimera because, frankly, it makes gorgeous pictures. Since we simulate DNA as made by rigid nucleotides instead of atoms, we hijack it to make it plot various shapes instead of using atoms directly, but it takes forever to get it to load a configuration like the one attached.
Could you guys do something to make it faster/give as some advice on how to make it plot these things faster? We currently use the input files attached. (chimera.txt should be renamed
chimera.com so that it can be understood by chimera).
Best,
Ferdinando
--
Ferdinando Randisi
<chimera.txt><L-DNA2016-02-25 22:02:33.png><last_conf.dat.pdb>_______________________________________________
Chimera-users mailing list:
Chimera-users@cgl.ucsf.eduManage subscription:
http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users