Provides codon functionality.
Declared In: BCCodon.h
A codon is a composite object, consisting of three bases and a corresponding amino acid. This class provides the equivalent functionality in code form. You will typically not create these items, but rather access them via methods in BCGeneticCode.
returns the symbol string of the amino acid encoded by the receiver. Returns "*" for stop codons.
- (NSString *) aminoAcidSymbolString;
returns the BCAminoAcid encoded by the reciever. Returns nil for stop codons.
- (BCAminoAcid *) codedAminoAcid;
returns self to keep the codon a singleton. This may be dangerous, but i don't entirely understand memory zones.
- (id)copyWithZone:(NSZone *)zone;
returns the tripletString
- (NSString *) description;
returns a string representing the three bases of the codon.
- (NSString *) tripletString;
calls "symbolString" on each base of the codon, appending the results to generate a single string
© 2008 The BioCocoa Project.
Last Updated: Wednesday, October 01, 2008