[chimerax-users] Saving PDB file as a string
Sophie Liu
sophiel2 at andrew.cmu.edu
Tue Jun 7 15:20:18 PDT 2022
Hi,
My organization has some extra information at the end of a PDB file that I
would like to be printed onto the Log Console of ChimeraX.
I am currently writing a bundle to do so by adding a command (however if
this is best implemented by overriding the open command for PDB files then
I would switch to that).
I am wondering how I can have the bundle work like so:
1. the user types a command call it, "showdata"
2. the bundle would read all Models (that are pdb files) that are being
displayed
3. for each model it would read the PDB text file, and say go to indices
200-251 of the string and display that in the Log console
I hope this makes sense. I am mainly struggling on how to access the
original PDB text of the model.
Best,
Sophie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rbvi.ucsf.edu/pipermail/chimerax-users/attachments/20220607/c533aa74/attachment.html>
More information about the ChimeraX-users
mailing list