[PyMOL] Load mmtf data

2017-06-22 Thread Gianluca Tomasello
Hi, I am using read_pdbstr function to load a strucutres into pymol. Is there a way to do the same for mmtf file formats? (I mean without using temporary files) -- Check out the vibrant tech community on one of the world's

Re: [PyMOL] Load mmtf data

2017-06-22 Thread Thomas Holder
Hi Gianluca, Yes this is possible, assuming you're using PyMOL 1.8.6. Use something like this: def read_mmtfstr(contents, oname, state=0): return cmd.load(contents, oname, state, cmd.loadable.mmtfstr) Cheers, Thomas > On Jun 21, 2017, at 12:07 PM, Gianluca Tomasello wrote: > > Hi, I am

[PyMOL] Removing unwanted molecules

2017-06-22 Thread Mohammad Goodarzi
Hello, I want to know how to delete chain B and all ligands except the one that I want ? Is there any way to know all molecules which comes with a PDB and then remove those that you dont want? Thanks Mohammad --

Re: [PyMOL] Removing unwanted molecules

2017-06-22 Thread Joel Tyndall
Hi, Select the one you want e.g. right click, chain select. Under the selection, Action > modify > invert > within object.. Or you can select using the sequence viewer Hope this helps Joel From: Mohammad Goodarzi [mailto:mohammad.goda...@gmail.com] Sent: Friday, 23 June 2017 8:20 AM To: pymol