I am a newbie in Bioinformatics but I know perl scripting. I've written few scripts for parsing pdb files(protein crystal structure files). Now I want to run these in a web server. I have apache2 installed in my ubuntu. I have read something about the CGI and is in /usr/lib/cgi-bin/
in local web server. I need to have all my perl scripts in that directory. These scripts takes input from command line ex: perl contacts.pl pdbFile.pdb
.
Now how can I run these scripts inside a perl CGI script so that the CGI script throws html page on the fly and asks for user input (this includes PHP I guess). At the end I should have a html page able to run my perl script (contacts.pl
) upon user input.
If its not possible to run my perl script in html
web page, what is the other alternative?
Any help will be greatly appreciated.