Re: [PyMOL] Selection of chains based on PDB header

2017-06-15 Thread John Berrisford
Dear Julian You can also try the PDB plugin which places each chain into a selection automatically for you. https://pymolwiki.org/index.php/PDB_plugin Regards John PDBe On 12/06/2017 17:10, Thomas Holder wrote: Hi Julian, A one-liner to create chain selections looks like this: for c

Re: [PyMOL] Selection of chains based on PDB header

2017-06-12 Thread Thomas Holder
Hi Julian, A one-liner to create chain selections looks like this: for c in cmd.get_chains(): cmd.select("chain_" + c, "chain " + c) PyMOL doesn't provide access to the PDB header fields. In principle PyMOL provides a way to access everything inside mmCIF files, see: