BCCodon


Provides codon functionality.

Superclass: NSObject
Declared In: BCCodon.h

Discussion

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.



Methods

-aminoAcidSymbolString
returns the symbol string of the amino acid encoded by the receiver. Returns "*" for stop codons.
-codedAminoAcid
returns the BCAminoAcid encoded by the reciever. Returns nil for stop codons.
-copyWithZone:
returns self to keep the codon a singleton. This may be dangerous, but i don't entirely understand memory zones.
-description
returns the tripletString
-tripletString
returns a string representing the three bases of the codon.

aminoAcidSymbolString


returns the symbol string of the amino acid encoded by the receiver. Returns "*" for stop codons.

- (NSString *) aminoAcidSymbolString; 


codedAminoAcid


returns the BCAminoAcid encoded by the reciever. Returns nil for stop codons.

- (BCAminoAcid *) codedAminoAcid; 


copyWithZone:


returns self to keep the codon a singleton. This may be dangerous, but i don't entirely understand memory zones.

- (id)copyWithZone:(NSZone *)zone; 


description


returns the tripletString

- (NSString *) description; 


tripletString


returns a string representing the three bases of the codon.

- (NSString *) tripletString; 
Discussion

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