Basic Blast 2.0
Help Description of the BLAST 2.0 BLAST FAQs Advanced BLAST 2.0
DataBases
Protein DataBases
[blastp or blastx]
Nucleotide DataBases including EST
[blastn, tblastn or tblastx]
PROGRAM
MATRIX
YOUR EMAIL

The query sequence is filtered for low complexity regions by default.
Enter or Paste here your sequence in FASTA format
Dear BLAST-user
You forgot input or paste the Sequence
"; exit;} if( ( $program == "blastp" || $program == "blastx" ) ) $database = $Pdatabase; else $database = $Ndatabase; if( ( ( $program == "blastp" || $program == "blastx" ) && ( $database != "swiss-40" && $database != "swisstrembl" )) || ( ( $program != "blastp" && $program != "blastx" ) && ( $database == "swiss-40" || $database == "swisstrembl" ) ) ) { echo "
Dear BLAST-user
You select incompatible combination
database $database and program $program:
Please look at the description
"; exit; } if ($program == "blastn" & ( $database == "swiss-40" || $database == "swisstrembl" ) ) {echo "Invalid combination:
protein database $database
AND nucleotide program $program\n"; exit;} if ($program != "blastn") $use_matrix = "-M ".$matrix; $seq_file = tempnam("/tmp","blast"); $fp = fopen($seq_file,"w"); if (!$fp) {echo " Unable to create tmp file - check permissions\n"; exit;} if ($emailaddress != ""){$opt_email = "-b -B ".$emailaddress;} if (!fputs($fp, $seq)) {echo " Unable to write into tmp file - check permissions\n"; system ("rm ".$seq_file); exit;} fclose ($fp); # echo "$opt_email $program $database $seq_file $use_matrix\n
"; echo "
The request is sent, PLEASE wait...
"; flush(); #........add to database......... //require("/www/db/connect.php3"); $TaskID=12; $SenderMail=$emailaddress; //insert_message_to_db($TaskID, $SenderMail); #............................... echo "
\n";
      #echo "./blastall $opt_email -p $program -d $database -i $seq_file -a 2 $use_matrix";
      passthru ("./blastall $opt_email -p $program $database $seq_file -a 2 $use_matrix");
      echo "
\n"; # system ("rm ".$seq_file); } ?>