<?php
include("connection.php");
include("frames_header.php");
?>
<h2><strong><em> GO annotation from best blast hits:</em></strong> </h2> 
<center>
<form target="_blank" action="best-blast-GO2.php" method="post" name="formulaire" onsubmit="this.filepath.value=this._filepath.value">
<table width="99%" border="0" cellspacing="0" background="pictures/barre.jpg">
	<tr bgcolor="#990000">
    	<td></td><td></td><td></td><td align="right" background="pictures/barre-red.jpg"><em><strong>GO from BLAST.</strong></em></td>
	
	</TR><TR>
		<td>&nbsp;</td>
	</TR><TR>
		<td><input type="checkbox" name="test" value="y" checked > <strong> Perform read test whithout recording data.</strong></td>
	</TR><TR>
		<td><br><br><strong>Species: </strong>
          <select name="species" size="1">
        		<?php
            	$requete="select \"NAME\" from \"SPECIES\" ";
                $stmt0 = pg_query($c,$requete) or die("<strong>Error</strong> ".pg_last_error($c));
                while($row0=pg_fetch_array($stmt0))
                {
              		$species=$row0["NAME"];
					echo "<option value=\"$species\">$species</option>";
				}
				?>
           </select>
           </td>
                    
       </TR><TR>
		<td>&nbsp;</td>
	</TR><TR>
		<td><input type="checkbox" name="del" value="y" unchecked > <strong> Delete previous records.</strong> </td>
	</TR><TR>
		<td>&nbsp;</td>
	</TR><TR>
		<td><strong>"GO to Swissprot" file:&nbsp;<input type="file" name="_filepath" enabled>
			<input type="hidden" name="filepath"> <a target="_blank" href="http://www.geneontology.org/cgi-bin/downloadGOGA.pl/gene_association.goa_uniprot.gz">Download</a>
		</strong></td>
	</TR><TR>
		<td>&nbsp;</td>
	</TR><TR>
		<td>&nbsp;</td>
 	  <td>&nbsp;</td>
 	  <td>&nbsp;</td>
    <td align="right">
    <br><br>
    <input name="submit" type="image" src="pictures/button-submit.jpg" onClick="submit">&nbsp;&nbsp;&nbsp;
    <br>
    </td>
  </tr>
</table>
</form>
<br><br><br>
    
<?php
    include("frames_footer.php");
?>