[Biojava-l] Symbol to Token?

Thorsten thorsten at photono-software.de
Sat Jun 12 15:52:53 EDT 2004


Hello,

I simply want to have the textual one letter code of a Protein Symbol.
How can I do this?

Example
Symbol ala = ProteinTools.ala();
//Now I want to print out the one letter code of Alanin:

The desired result should be "A".
Any solutions?

-Th

P.S.:
I need it for  calculating the hydrophobicity of a lot of sequences using a
hydrophobicty scale.



More information about the Biojava-l mailing list