Dear PyMOL Users,

I've been using fetch and fetchlocal (from the wiki) for working with multiple 
datasets of structures, but have a nagging issue that I have not found an 
efficient way to solve. I typically download the first biological unit, which 
works for X-ray structures. The trouble is (for good reason), NMR structures 
don't have a .pdb1 file. Does anyone have a script to do, or have a good idea 
about how to implement, the following? (It's really my lack of familiarity with 
catching the value from functions like cmd.get_names (rather than it just being 
printed) in python that's my barrier...)

Attempt to fetch 2yrq.pdb1
If fetch fails, try fetching 2yrq.pdb
If successful and we have >1 state, save the first state

Thanks!

Michael T. Zimmermann
Ph. D. in Bioinformatics | Health Sciences Research | Division of Biomedical 
Statistics and Informatics
Mayo Clinic | 200 First Street SW | Rochester, MN 55905 | 
mayoclinic.org<http://www.mayoclinic.org>

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to