I need to invert a DNA text string by changing all the A’s to T’s, T’s to A’s, C->G, and G->C.
Can I elegantly handle this in sed (or other command line) without a whole chain of sed global replace commands?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
this is how you do it with sed