Andreas wrote:

> just did a test with e.g. 1h4w.  it seems that getAtomSequenceCode
> returns "221", but not "221A".
> Is there a separate method to get the insertion code for a residue?

Andreas,

(Note that the syntax for insertion codes that is used within Jmol is
221^A instead of 221A. This is because '221A' is valid RasMol syntax for
221:A ... residue 221 of Chain A. Therefore, Jmol always uses the ^
character to distinguish insertion codes.)

I looked at 1H4W. I see that 221 is [ALA] and 221^A is [TRP]

It looks like to me that getAtomSequenceCode should be returning '221^A'

In the script window I type

select atomno=1532; label %r

and I see 221^A

The label code is using the same call to Atom.getSeqcodeString()


Please advise


Miguel



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to