CodonPattern:
Filter:
ProteinBioSynthesis/Classes (extension) | Streams-Patterns-Events | Sonification

CodonPattern
ExtensionExtension

A pattern that translates a genome string to a stream of aminoacid triplets (codons).

Class Methods

.new

Return a new pattern from a genome that returns a stream of aminoacid triplets (codons).

Arguments:

genome

The genome data, a string containing the characters representing the four nucleic acids: $a, $g, $t, $c.