Dear all, For several reasons I have been printing the residue numbers from selections. This could be just the loops, or interface residues defined with the script from Jason Vertrees.
I use iterate for this and it works well enough, however I would like to be able to make: 1. a non-redundant list (e.g. residue 12 will only appear once) 2. adjacent numbers into ranges (e.g. residues 1, 2, 4, 5, 6, 10, 11, 12 would become 1:2, 4:6, 10:12 or something similar) Any ideas on how to do this best? Ideally this should of course be possible from within PyMOL, but any kind of script that will work on your normal linux distribution would make me happy. Best regards, Folmer Fredslund ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ 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