MCPcopy Create free account
hub / github.com/bebop/poly / ExampleReadCodonJSON

Function ExampleReadCodonJSON

synthesis/codon/example_test.go:114–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112}
113
114func ExampleReadCodonJSON() {
115 codontable := codon.ReadCodonJSON("../../data/bsub_codon_test.json")
116
117 fmt.Println(codontable.GetWeightedAminoAcids()[0].Codons[0].Weight)
118 //output: 28327
119}
120
121func ExampleParseCodonJSON() {
122 file, _ := os.ReadFile("../../data/bsub_codon_test.json")

Callers

nothing calls this directly

Calls 2

ReadCodonJSONFunction · 0.92
GetWeightedAminoAcidsMethod · 0.65

Tested by

no test coverage detected