Personal tools

RB SearchResults: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
No edit summary
No edit summary
Line 2: Line 2:


<html>
<html>
<form method="get" action="/resource_browser/RB_SearchResults">


<p>Key Word:<input type="text" name="sq" value="</html>{{#urldecode:{{#urlget:sq}}}}<html>"><input type="submit" value="search"></p>
  <style type="text/css">
    .highlight { background-color: aquamarine}
  </style>
<script type="text/javascript" language="javascript" src="/resource_browser/rb_js/highlight/jquery.highlight-3.js"></script>
<script type="text/javascript" >
$(document).ready(function() {
 
var kw =  "";
 
// this block was refered to http://jquery-howto.blogspot.jp
var params= [], hash;
var rparams= window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
for(var i = 0; i < rparams.length; i++) {
hash = rparams[i].split('=');
params.push(hash[0]);
params[hash[0]] = hash[1];
}
 
kw = params.sq;
 
$('td').highlight(kw);
});
</script>
 
 
<form method="get" action="/resource_browser/User:Hisa/SemanticResults">
 
<p>Key Word:<input type="text" id="tbox" name="sq" value="</html>{{#urlget:sq}}<html>"><input type="submit" value="search"></p>


</form>
</form>
</html>
</html>
----
<!--
=== CAGE peak ===
{{#if:{{#urlget:sq}}|
{{#ask:[[Category:FFCP]][[Id::~*{{#urldecode:{{#urlget:sq}}}}*]]|?short_description|default=No results}}
}}
-->
----


=== FF Samples ===
=== FF Samples ===
<!--
{{#if:{{#urlget:sq}}|
{{#if:{{#urlget:sq}}|
{{#ask:[[Category:FF_Samples]]{{#arraymap:{{#urlget:sq}}|%20|$|[[name::~*$*]]|}}|?name|default=No results}}
{{#compound_query:[[Category:FF_Samples]][[name::~*{{#urlget:sq}}*]]; ?name
|[[Category:FF_Samples]][[sample_tissue::~*{{#urlget:sq}}*]];?sample_tissue
|[[Category:FF_Samples]][[sample_cell_type::~*{{#urlget:sq}}*]];?sample_cell_type
|[[Category:FF_Samples]][[sample_disease::~*{{#urlget:sq}}*]];?sample_disease
|default=No results
}}
}}
-->
{{#if:{{#urlget:sq}}|
<div style="float:left;padding: 10px;">
<p><b>Results from name</b></p>
{{#ask:[[Category:FF_Samples]][[name::~*{{#urlget:sq}}*]]|?name|limit=10|default=No results}}
</div>
<div style="float:left;padding: 10px;">
<p><b>Results from sample cell line</b></p>
{{#ask:[[Category:FF_Samples]][[Sample_cell_line::~*{{#urlget:sq}}*]]|?name|?Sample_cell_line|limit=10|default=No results}}
</div>
}}
}}
<div style="clear:both;"></div>
----


=== Motifs ===
=== Motifs ===
{{#if:{{#urlget:sq}}|
{{#if:{{#urlget:sq}}|
{{#ask:[[Category:SwissregulonMotif]]{{#arraymap:{{#urlget:sq}}|%20|$|[[name::~*$*]]|}}|?name|default=No results}}
{{#ask:[[Category:SwissregulonMotif]][[name::~*{{#urlget:sq}}*]]|?name|default=No results}}
}}
}}
----
 
=== Genes ===
=== EntrezGene ===
{{#if:{{#urlget:sq}}|
{{#if:{{#urlget:sq}}|
<div style="float:left;padding: 10px;">
{{#compound_query:
<p><b>Results from Symbol name</b></p>
[[EntrezGene:+]][[Symbol::~*{{#urlget:sq}}*]]; ?Symbol
{{#ask:[[Category:EntrezGene]][[Symbol::~*{{#urlget:sq}}*]]|?Symbol|limit=10|default=No results}}
|[[EntrezGene:+]][[Synonyms::~*{{#urlget:sq}}*]]; ?Synonyms
</div>
|[[EntrezGene:+]][[Description::~*{{#urlget:sq}}*]];?Description;?tax_id
<div style="float:left;padding: 10px;">
|default=No results
<p><b>Results from synonyms</b></p>
}}
{{#ask:[[Category:EntrezGene]][[Synonyms::~*{{#urlget:sq}}*]]|?Synonyms|limit=10|default=No results}}
</div>
<div style="float:left;padding: 10px;">
<p><b>Results from description</b></p>
{{#ask:[[Category:EntrezGene]][[Description::~*{{#urlget:sq}}*]]|?Description|limit=10|default=No results}}
</div>
}}
}}


<div style="clear:both;"></div>
=== Co-expression clusters ===
 
{{#if:{{#urlget:sq}}|
{{#ask:[[Category:Coexpression_clusters]][[full_id::~*{{#urlget:sq}}*]]|?full_id|?Cp_member_count|limit=10000
|default=No results}}
}}


<!--
__NOTOC__
test
{{#ask:[[Category:FF_Ontology]]{{#arraymap:{{#urlget:sq}}|%20|$|[[name::~*$*]]| OR }}|?name|default=No results}}
<table border="10"><tr><td style="vertical-align: top;">
<p><b>Results from Symbol name</b></p>
{{#ask:[[Category:EntrezGene]]{{#arraymap:{{#urlget:sq}}|%20|$|[[Symbol_from_nomenclature_authority::~*$*]]|}}|?Symbol_from_nomenclature_authority|default=No results}}
</td><td style="vertical-align: top;">
<p><b>Results from Full name</b></p>
{{#ask:[[Category:EntrezGene]]{{#arraymap:{{#urlget:sq}}|%20|$|[[Full name from nomenclature authority::~*$*]]|}}|?Full name from nomenclature authority|default=No results}}
</td></tr></table>
-->


== Full Text Search ==
== Full Text Search ==

Revision as of 17:13, 30 May 2012

Search within Sample/gene/motif names

Key Word:

FF Samples

Motifs

EntrezGene

Co-expression clusters

Full Text Search