[Biococoa-dev] BCCodon bug (?)
Koen van der Drift
kvddrift at earthlink.net
Sun Sep 5 07:43:18 EDT 2004
John,
The method AminoAcidSymbolString in BCCodon returns the symbol '*'
when theAminoAcid is nil. However, if you pass that in an NSString to
BCSequenceProtein the code crashes, because '*' is not an entry in the
amino acids plist. For gaps the entry in the plist is a hyphen. Maybe
there is a specific reason to use the asterisk, in that case I will add
a line to BCSequenceProtein to skip that symbol. Otherwise, can you
change AminoAcidSymbolString to return an hyphen?
Also, change the name of the method to aminoAcidSymbolString (first
letter should be lowercase).
thanks,
- Koen.
More information about the Biococoa-dev
mailing list