nih-gov/www.ncbi.nlm.nih.gov/IRET/PIE

229 lines
8.6 KiB
Text

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "https://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>PIE the search</title>
<link href="pie_home.css" rel="stylesheet" type="text/css">
<script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/ui/1.12.0/jquery-ui.min.js" integrity="sha256-eGE6blurk5sHj+rmkfsGYeKyZx3M4bG+ZlFyA7Kns7E=" crossorigin="anonymous"></script>
</head>
<body>
<div id="header_wrapper">
<div id="header">
<div id="header_left">
<a href="https://www.ncbi.nlm.nih.gov/guide/"><img alt="" src="images/ncbi_logo.gif"></a>
</div>
<div id="header_right">
<a href="tutorial.html">Tutorial</a> |
<a href="about.html">About</a>
</div>
</div>
</div>
<div id="main_wrapper">
<div id="main">
<div>
<span id="top_comment">Searching PubMed literature for protein interaction information</span>
</div>
<div id="search_box" class="search_bottom">
<form action="search.cgi" method="get" id="main_form">
<input type="text" style="width:420px;font:17px arial;" id="search" name=query>
<button class="button_search" onclick="if ($('#search').val().length==0) {alert('Please, enter a query');$('#search').focus();return false;} else {$('#main_form').submit();}">Search</button>
<button class="button_clear" onclick="$('#search').val('');$('#search_area').val('');$('#geneId').val('');$('#geneRecommendResult').html('');return false;">Clear</button>
</div>
<div style="width:100%;text-align:right;font-size:12px;font-family:Tahoma;">
<span style="font-size:8pt;color:#7A7A7A;">Sorted by <input type="radio" name="pflag" value="1" checked> Score <input type="radio" name="pflag" value="0"> Date</span>&nbsp;&nbsp;
<a href="#" onclick="$('#gene_recommender').hide();$('#search_builder').slideToggle();return false;">Advanced Search</a>|<a href="#" onclick="$('#search_builder').hide();$('#gene_recommender').slideToggle();return false;">Gene ID Search</a>
</form>
</div>
<div id="search_builder" style="display:none;">
<textarea id="search_area" style="background:#eee;color:#888;width:750px;font-family:Tahoma;border:1px solid #888;" rows="5" ></textarea>
Search Builder:
<select id="field">
<option value="All Fields" selected="selected">All Fields</option>
<option value="Author">Author</option>
<option value="Journal">Journal</option>
<option value="MeSH Terms">MeSH Terms</option>
<option value="Publication Date">Publication Date</option>
<option value="Title">Title</option>
<option value="Title/Abstract">Title/Abstract</option>
</select>
<span id="textinput" style="display:">
<input type="text" size="35" id="term">
</span>
<span id="dateinput" style="display: none; ">
<input type="text" id="DateFrom" size="10" maxlength="10" class="blurred">
<label for="DateTo"> to </label>
<input type="text" id="DateTo" value="present" size="10" maxlength="10" class="blurred">
</span>
<select id="opCombo">
<option value="AND">AND</option>
<option value="OR">OR</option>
<option value="NOT">NOT</option>
</select>
<input type="button" value=" Add To Search Box " id="add">
<input type="button" value=" Hide Advanced Search " onclick="$('#search_builder').slideUp();">
<div id="dateinputtext" style="display:none;">Format: YYYY/MM/DD. Month and days are optional</div>
</div>
<div id="gene_recommender" style="display:none;" class="dialog">
Gene ID <input type="text" size="30" id="geneId">
<input type="button" value=" Recommend " id="geneRecommend">
<img alt="" src="images/ajax-loader.gif" id="loading" style="display:none">
<div id="geneRecommendResult"></div>
</div>
</div>
</div>
<center>
<table width=670>
<tr><td align="left" colspan=2>
<span style="font-family:Arial;font-size:10pt;font-weight:bold;color:red;">
PIE <i>the search</i> is no longer supported and will be retired soon.
</span>
</td></tr>
<tr><td align="left" colspan=2>
<br><br>
<span style="font-family:Arial;font-size:10pt;">
See <a href="tutorial.html">Tutorial</a> for how to use PIE <i>the search</i>.<br>
Queries can be written exactly as in <a href="https://www.ncbi.nlm.nih.gov/pubmed/" target="_blank">PubMed</a>. For detailed search, use the 'Advanced Search' menu above
(See the <a href="https://www.ncbi.nlm.nih.gov/books/NBK3827/" target="_blank">PubMed</a> or <a href="https://www.ncbi.nlm.nih.gov/books/NBK3837/" target="_blank">Entrez</a> help for more searching options).
</span>
</td></tr>
<tr><td align="left" colspan=2>
<br><br>
<span style="font-family:Arial;font-size:11pt;font-weight:bold;">
PIE <i>the search</i> provides<br>
</span>
<ul>
<span style="font-family:Arial;font-size:11pt;font-weight:normal;">
<li>protein interaction information (PPI) articles for biologists: <b><i>PPI articles located first</i></b></li>
<li>baseline system performance for bio-text mining researchers: <b><i>a competition winning approach</i></b></li>
<li>a compact PubMed-search environment for PubMed users: <b><i>showing all info in one page</i></b></li>
</span>
</ul>
</td></tr>
<!--
<tr><td align="left" colspan=2>
<br>
<span style="font-size:11pt;"><b>Supplementary material: </b><span><a href="PIE_supplement.pdf"><span style="font-size:9pt;">Click Here</span></a><br>
</td></tr>
-->
<tr><td align="left" colspan=2>
<br>
<span style="font-family:Arial;font-size:9pt;color:#7A7A7A;">
<i>Current PUBMED version: May. 8, 2021</i><br>
<i>Please, contact us if you find any problems. Thank you.</i>
</span>
</td></tr>
</table>
</center>
<br><br>
<div id="footer_wrapper">
<div id="footer">
<div class="comment">
PIE <i>the search</i>: <a href="https://www.ncbi.nlm.nih.gov/IRET/PIE">https://www.ncbi.nlm.nih.gov/IRET/PIE</a> |
Contact us: <a href="mailto:sun.kim@nih.gov">sun.kim@nih.gov</a>
</div>
<div id="footer-contents-left">
<a href="https://www.ncbi.nlm.nih.gov/home/about/policies.shtml">Policies and Guidelines</a>
</div>
</div>
</div>
</body>
</html>
<script type="text/javascript">
function clearSearchBuilder()
{
$('#DateFrom').val("");
$('#DateTo').val("present");
$('#DateTo').css("color", "#999999");
$('#DateTo').focus(function() {
$('#DateTo').val("");
$('#DateTo').css("color","#000");
});
$('#term').val("");
}
$(function() {
$('#field').change(function() {
if ($('#field').val()=="Publication Date") {
$('#dateinput').show();
$('#dateinputtext').show();
$('#textinput').hide();
} else {
$('#dateinput').hide();
$('#dateinputtext').hide();
$('#textinput').show();
}
clearSearchBuilder();
});
$('#add').click(function() {
var field = $('#field').val();
var op = $('#opCombo').val();
var term;
var dateFrom, dateTo;
var searchValue = $('#search').val();
var indexTerm = $('#term').val();
var q = (field == 'Author' || field == 'First Author' || field == 'Last Author') ? '': '"';
indexTerm = indexTerm.replace(/^\s+/,'').replace(/\s+$/,'');
searchValue = searchValue.replace(/^\s+/,'').replace(/\s+$/,'');
if (field == "Publication Date") {
dateFrom = $('#DateFrom').val().replace(/^\s+/,'').replace(/\s+$/,'');
dateTo = $('#DateTo').val().replace(/^\s+/,'').replace(/\s+$/,'');
if (dateFrom == "present") dateFrom = "3000";
if (dateTo == "present") dateTo = "3000";
term = q + dateFrom + q + "[" + field + "] : " + q + dateTo + q + "[" + field + "]";
} else {
term = q + indexTerm + q + "[" + field + "]";
}
if (searchValue == "") {
searchValue = term;
} else {
searchValue = "(" + searchValue + ") " + op + " " + term;
}
$('#search').val(searchValue);
$('#search_area').val(searchValue);
});
$('#search_area').attr("readonly", "true");
$("#geneRecommend").click(function() {
$.get("gene.cgi", {geneid: $('#geneId').val()}, function(data) {
$("#geneRecommendResult").html(data);
recommendQuery();
$("#geneRecommendResult input[type='checkbox']").change(recommendQuery);
});
});
$("#loading").ajaxStart(function() {$(this).show();});
$("#loading").ajaxStop(function() {$(this).hide();});
});
function recommendQuery() {
var str = "";
$("#geneRecommendResult input[type='checkbox']:checked").each(function(){
if (str.length > 0) {
str = str + " OR ";
}
str = str + '"' + $(this).val() + '"';
});
$("#search").val(str);
}
</script>