package
0.15.5
Repository: https://github.com/open-science-global/poly.git
Documentation: pkg.go.dev

# Functions

AddCodonTable takes 2 CodonTables and adds them together to create a new Table.
CompromiseCodonTable takes 2 CodonTables and makes a new Table that is an equal compromise between the two tables.
GetCodingRegions is a helper function to pull coding regions out of an Sequence as input for optimizing codon tables.
GetCodonTable takes the index of desired NCBI codon table and returns it.
Optimize takes an amino acid sequence and Table and returns an optimized codon sequence.
ParseCodonJSON parses a Table JSON file.
ReadCodonJSON reads a Table JSON file.
Translate translates a codon sequence to an amino acid sequence.
WriteCodonJSON writes a Table struct out to JSON.

# Structs

AminoAcid holds information for an amino acid and related codons in a struct.
Codon holds information for a codon triplet in a struct.
Table holds information for a codon table.