I am fairly new to this language. Anyway, I am making a program that takes a text input of a DNA codon sequence and returns the amino acids. Basically I need to somehow take a string (say "ATC"), and convert it to "UAG. Any help?
Take a look to the string function replace https://msdn.microsoft.com/es-es/library/fk49wtc1(v=vs.110).aspx
Basically you can do something like:
string dnaamino = dnacodon.Replace("ATC","UAG");
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.