<?php
/*
 ANISEED, NISEED System and Database
 Copyright (C) 2007 Olivier Tassy, Fabrice Daian, Patrick Lemaire

 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.

 */
include("connection.php");
include("frames_header.php");
?>
<!-- Title remplacement to frames_header -->
<title>ANISEED - ID</title>
<font color="#D64242" size="3"><b>Batch queries</b></font>
<br />
<br />
This tool identifies, among a list of gene IDs, those that contain specific InterPro domains, Gene Ontology terms, or are expressed in anatomical territories of interest. 
<br />
<br />

<center>
<script type="text/javascript">
<!--
function pass_list_cell()
{
	var x = window.document.formulaire2.celllist.value;
	if(x.charAt(x.length-1)!=":"){
		window.document.formulaire2.celllist.value+=":";
	}
	window.document.formulaire2.action=window.document.formulaire2.redirect.value;

}

function pass_list_gene()
{
	var x = window.document.formulaire3.genelist.value;
	if(x.charAt(x.length-1)!=":"){
		window.document.formulaire3.genelist.value+=":";
	}
	window.document.formulaire3.action= window.document.formulaire3.redirect2.value;
}
//-->
</script>
<table width="99%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td align="center"><font size="2"><strong>Gene IDs*: </strong></font>
		<br />
		<form name="formulaire3" action="" method="post" target="_blank">
		<textarea name="genelist" cols="50" rows="5">
<?php
$genelist="";
if(isset($_POST["genelist"]))
$genelist=$_POST["genelist"];
if(strlen($genelist)>0){
	print $genelist;
}
?>
</textarea> <br />
		<br />
		<input name="submit2" align="middle" type="image"
			src="pictures/button-subset.jpg" onClick="pass_list_gene()"> <select
			name="redirect2" size="1">
			<option value="GO-search.php">Gene ontology</option>
			<option value="IP-search.php">Interpro</option>
			<option value="insitu-search.php">In situ</option>
			<!-- <option value="DDD-search.php">Digital Differential Display</option>-->
			<!-- <option value="MW-search.php">Molecular weight</option>-->
		</select></form>
		<div style="text-align: left;"><font size="2"> Enter your ID list as a
		single string separated with the ":" symbol.<br />
		</font></div>
		</td>
	</tr>


	<tr>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td>
		<hr size="1" color="#505F70">
		</td>
	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>



	<!--

	<tr>
		<td align="center"><br />
		<form name="formulaire1" action="insitu-search.php" method="post"
			target="_blank"><input type="hidden" name="genelist"> <input
			type="hidden" name="celllist"> <input name="submit" type="image"
			align="middle" src="pictures/button-getPics.jpg"
			onClick="javascript: window.document.formulaire1.genelist.value=window.document.formulaire3.genelist.value;  window.document.formulaire1.celllist.value=window.document.formulaire2.celllist.value;  submit;">
		</form>
		<br />
		<br />
		</td>
	</tr>

	-->

</table>


</center>


<?php
include("frames_footer.php");
?>




