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:

[PyMOL] Selection of chains based on PDB header

2017-06-12 Thread Julian Reitz
Dear all, I have a pdb-file with multiple chains (5N61). Is there an easy way to create selections for all the chains that are defined in the pdb-header (A to U) without doing it manually for every chain (select A, chain A)? Is it also possible to use the MOLECULE information from the header to