#!/usr/bin/perl ############################################## ############################################## # SCRIPT NAME: Page_MINE.cgi # FUNCTION: A HOME page ############################################## # MINE: Molecular INformation Explorer # Copyright 2000 Dawn Field. All rights reserved. # The CGI-PERL scripts belonging to MINE # may be used and modified freely, but I do # request that this copyright notice remain attached # to this file/source code. If you make modifications # please do not distribute unless # you fully document the modifications. # file was edited from another directory use CGI; require "CGI-MINE.pl"; ################# # START EACH MINE CGI SCRIPT ################# # this redirects the error messages to the user's screen # and is useful for debugging CGI scripts! open (STDERR, ">&STDOUT"); # print errors to screen $| = 1; # flush the print buffer continuously # make a new query object using CGI.pm module $query = new CGI; # print the required header and start the web page print $query->header; print $query->start_html(-title=>'MINE Welcome page', -BGCOLOR=>'white' ); # Each time a script is invoked for the first time (or $action undef), # log the visit in the custom MINE server log (see CGI-MINE.pl) # (put this after the header incase an error message is printed) # check value of $action $action = $query->param('action'); if ($action eq undef) {&log();} if (!-e "MINE_Customization_File") { &table_top(); print "
NOTE: You are currently using the \"MINE_Customization_File.default\" file. You should copy this file to \"MINE_Customization_File\" and customize the global variables found within it to suit your database. Go to the FAQ, if you need help setting up this file."; &table_bottom(); } ####### # START THE WEBPAGE ####### &menu; # print the MINE menu # &footer; # start the basic gray table used for formatting MINE pages &table_top(); # put the main title of your page here print "
Here are a few of the things you can do using the MINE options in the above MINE navigation menu:
Directly View all the primary sequence files and related analysis files (i.e. blast reports).
Select Data Log and then click on a file
($demo_file or
$demo_blast_report).
Do a blast search against the $database_name:
Select Blast and the "SELF_blast_database" option which contains all sequences
in the $database_name.
Use the search engine to search all entries and to create lists of subsets of
sequences that match particular criteria (e.g. G+C or sequence length). Or use the display function to see a
particular subset of stored
information about all files in the database, for example the top blast matches for each entry.
If you select "MORE Search Parameters" you can concatenate searches to generate progressively complex and refined searches.
Select Search, pick a display format, and then fill in the search options.