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

AminoacidPattern
ExtensionExtension

A pattern that translates a genome string to a stream of aminoacid indices.
-1stop, // stopcodon
0methionin // startcodon
1phenylalanin
2leucin
3serin
4tyrosin
5cystein
6tryptophan
7prolin
8histidin
9glutamin
10arginin
11isoleucin
12threonin
13asparagin
14lysin
15valin
16alanin
17asparaginacid
18glutaminacid
19glycin

Class Methods

.new

Return a new pattern from a genome that returns a stream of aminoacid ids.

Arguments:

genome

The genome data, a string containing the characters representing the four nucleic acids: guanine (G), adenine (A), thymine (T), or cytosine (C).

Mutation

Because the chains of aminoacids that constitute proteins are encoded by nucleic acids (three for one aminoacid), the modification of a single element causes characteristic shifts. This is the simplest, most trivial level of what is called "mutation".