Hello!

To see the file structure, click on "tree".

Note that updates take place every 10 minutes, commits may not be seen immediately.
View Ontology Changes:
authormiles <miles@localhost>
Mon, 25 Mar 2013 20:58:28 +0000 (20:58 +0000)
committermiles <miles@localhost>
Mon, 25 Mar 2013 20:58:28 +0000 (20:58 +0000)
        -evidence count is now included in the returned mysql table; not
yet included in the actual website

svn path=/; revision=441

Personnel/miles/Web Page/viewOntology.php

index fed4c2282eda4420fab7f40614a5228db94bcb97..8056cbbec9ef3f1015241cd20da32f264008e542 100644 (file)
@@ -57,7 +57,9 @@ for($i = 0; $i < sizeof($genes); $i++) {
   $logic = $logic . $toAdd;
 }
 
-$query = "select full_name,term_id,concat(acc, \": \", name) from (select full_name,term_id from gene_product left join association on association.gene_product_id=gene_product.id " . $logic . " order by full_name,term_id) as temp left join term on term.id=term_id order by full_name,acc";
+$query = "select full_name,term_id,concat(acc, \": \", name),evnum from (select full_name,term_id,count(*) as evnum from gene_product left join association on association.gene_product_id=gene_product.id " . $logic . "group by full_name,term_id order by full_name,term_id) as temp left join term on term.id=term_id order by full_name,acc";
+
+echo $query;
 $results=mysql_query($query);
 
 $t = 0;