I'm writing a script that writes a Python script that loads PDB
files and displays them in cartoon representation. The problem
is that, if the PDB file doesn't contain secondary structure
records, you get a ribbon-like representation rather than a
proper cartoon. The obvious way to fix this is to run util.ss
but this can be slow if you have a lot of structures. Is there
a way in the API to tell whether a PDB file you've loaded contains
secondary structure records, so that you can avoid an unnecessary
call to util.ss?

        Tom Walsh



Reply via email to