Feature Requests item #1833203, was opened at 2007-11-16 15:21
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379136&aid=1833203&group_id=23629

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Rolf Huehne (rhuehne)
Assigned to: Nobody/Anonymous (nobody)
Summary: substring function

Initial Comment:
A lot of information contained in PDB format files is available now in Jmol 
11.3.44 for scripting purposes.

But of course not every bit of information is parsed out by Jmol. Since the PDB 
format is a fixed-column format the most secure way to parse out a specific 
information would be a 'substring' function, e.g:

het_ID   = x.substr(12,3);
het_name = x.substr(16,55);

This would provide columns 12 to 14 as 'het_id' and columns 16 to 70 as 
'het_name'.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379136&aid=1833203&group_id=23629

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to