MSc Bioinformatics

Writing CGI scripts

In this practical you will write a web page containing a form and a CGI script to receive data from the form and print it to a new page.

We will imagine that you have created some sort of server able to take a protein or DNA sequence and perform different types of analysis on the data. The form you create will allow the user to enter a sequence, specify whether it is DNA or protein, and select the types of analysis to be performed.

Rather than perform any analysis, you will simply echo the user's choices back to the web browser.