Sha256: ce8423df80667c0026a2e7b557f3814716f9126af2a2227d8fb42d55e74352ea
Contents?: true
Size: 664 Bytes
Versions: 69
Compression:
Stored size: 664 Bytes
Contents
defmodule ProteinTranslation do @doc """ Given an RNA string, return a list of proteins specified by codons, in order. """ @spec of_rna(String.t()) :: {atom, list(String.t())} def of_rna(rna) do end @doc """ Given a codon, return the corresponding protein UGU -> Cysteine UGC -> Cysteine UUA -> Leucine UUG -> Leucine AUG -> Methionine UUU -> Phenylalanine UUC -> Phenylalanine UCU -> Serine UCC -> Serine UCA -> Serine UCG -> Serine UGG -> Tryptophan UAU -> Tyrosine UAC -> Tyrosine UAA -> STOP UAG -> STOP UGA -> STOP """ @spec of_codon(String.t()) :: {atom, String.t()} def of_codon(codon) do end end
Version data entries
69 entries across 69 versions & 1 rubygems