DGL4C4DUZAVAMMIDDDRSICMD37K3VGAMOQUP7CGS6QLONEFNJBZQC
/*
Package strand handles DNA and RNA strands.
*/
package strand
var toRNA = map[string]string{
"G": "C",
"C": "G",
"T": "A",
"A": "U",
}
// ToRNA converts DNA string to RNA string.
func ToRNA(dna string) (rna string) {
for _, v := range dna {
rna += toRNA[string(v)]
}
return
}