MO640 - Exercises - Informatics Concepts, Setubal and Meidanis 1997 - chapter 2

Exercises marked with (*) require further reading/search beyond the suggested texts.

2. Write a computer program using your favorite programming language that accepts as input a DNA sequence of any size and returns its reverse complement.

Answer:

A program in Javascript can be found in the source code of this page. The program reads the DNA sequence, transform it to lower case, discards anything that is not a valid base, computes the reverse complement, and show it in the correspondong field. To see it in action, use the form below.

Insert the original DNA sequence below:



Reverse Complement:


MO640 Home

© 2015 Joao Meidanis