$output"; if( $Windows ) { system( "e:\kvi\projects\dh\debug\dh.exe $PARMFILE >dhm.txt" ); } else { system( "$DHM_PROGRAM $PARMFILE > $DHM_PROTOCOL" ); } //- exec( 'dir *.* >mmap_dir.txt'); /**/ # ----------------------------------------------------------- # Output results. # ----------------------------------------------------------- #_________________________ Banner //echo "
2. Brodsky L.I., Ivanov V.V., Ya.L. Kalaydzidis,Leontovich A.M., Nikolaev V.K., "; 
 echo "Feranchuk S.I.,Drachev V.A., GeneBee-NET:Internet-based server for analyzing ";
 echo "biopolymers structure, 1995, Biochemistry, 60,8,923-928.
";
 #_________________________ Content
 echo "
| ";
 echo  " 
 | 
| Name"; echo " | Value"; if( $TITLE != "" ) { printPar("Title","",$TITLE); } if( $EMAIL != "" ) { printPar("User Email Address","",$EMAIL); } printPar("Motif's power threshold - DotHelix","help.html#power0",$MP_THRESH_MINOR); //+printPar("Motif's power threshold - significant", "help.html#powerS", //+ $MP_THRESH_SIGNI); printPar("Motif's power threshold - noise upper bound", "help.html#power", $MP_THRESH_BASIC); printPar( "Motif's length threshold","help.html#length",$ML_THRESH ); //? printPar( "Coincidence ratio","hlp/req1hlp.html#TAG51",$C_RATIO ); printPar( "Maximum number of motifs to plot","help.html#nplot",$MN_PLOT ); printPar( "Maximum number of motifs to output","help.html#ntext",$MN_PRINT ); //$Strand = ( $TRANS == "Y" ) ? "Both" : "Only forward"; //$Cluster = ( $CLUSTER == "f" ) ? "Each frame separately" : "Codirectional joinly"; //printPar( "Strand","hlp/req1hlp.html#TAG65", $Strand ); //printPar( "Clusterization type","hlp/req1hlp.html#TAG67", $Cluster ); printPar( "Threshold of motif's homology percentage_","help.html#homology",$MHP_THRESH ); //+printPar( "Accurate Dothelix","help.html#accurate",$DH_ACCURATE ); printPar( "Accurate Dothelix","help.html#accurate",( $DH_ACCURATE == 1) ? "ON" : "OFF" ); printPar( "Motif frequences recalc","help.html#mfr",( $MFR == 1 ) ? "ON" : "OFF" ); printPar( "Normalize weight matrix","help.html#mfr",( $NORM == 1 ) ? "ON" : "OFF" ); printPar( "Weight matrices","help.html#type",$WM_LINE ); echo " | 
", substr($seq1,0, $iP), "\n
"; echo "
"; /** test green text echo "", substr($seq1,0, $iP), "\n
"; echo substr( $seq1, $iP ),"
"; echo "", substr($seq1,0, $iP), "\n
"; echo substr( $seq1, $iP ),"
"; echo "", substr($seq1,0, $iP), "\n
"; echo substr( $seq1, $iP ),"
"; echo "", substr($seq1,0, $iP), "\n
"; echo substr( $seq1, $iP ),"
"; **/ $iP = strpos( $seq2, "\n" ); // TODO: check iP ? //echo "", substr($seq1,0, $iP), "\n
"; echo substr( $seq1, $iP ),"
", substr($seq2,0, $iP), "\n
"; echo "
"; // -------------------------------------------------------- // List of the mouse sensitive msgs - maps' polygons, etc. // -------------------------------------------------------- $fmsg = fopen( $MAP_MSGS, "r" ); while( $buf = fgets( $fmsg, 128 ) ) { echo $buf; } fclose( $fmsg ); //echo ""; //echo ""; $fmot = fopen( $MOT_LIST, "r" ); #_________________________ Loop on Matrices. for( $i = 0; $i < $numMatr; $i++ ) { $wm_ = strToUpper( f_fileBase( $wmList[$i] ) ); $wmFile = $wmList[$i]; echo "", substr($seq2,0, $iP), "\n
"; echo substr( $seq2, $iP ),"
Weight Matrix of $wm_
"; echo "
| Aminoacid matrix"; // ********* //echo " | "; echo " | 
//} ?>
";
 //+$fmot = fopen( $MOT_LIST, "r" );
 while( $buf = fgets( $fmot, 128 ) )    {
    //-if( !( $buf = fgets( $fmot, 128 ) ) ) break;
    if( substr($buf,0,5) == "*next" ) 
      //echo "***Next motif collection";
      break;
    else
      echo $buf;
 }
 //+fclose( $fmot );
 //echo "";
?>
 
 
 | Top"; echo " | Parameters"; echo " | Sequences"; echo " | Matrix of $wm_"; echo " | Collection Map"; echo " | Motifs"; echo " |