-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabout.html
More file actions
119 lines (96 loc) · 6.67 KB
/
about.html
File metadata and controls
119 lines (96 loc) · 6.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!doctype html>
<html lang="en">
<head>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PXS68WH');</script>
<!-- End Google Tag Manager -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="pmtest.css" rel="stylesheet" type="text/css">
<title>About PubMed Search Tester</title>
<!-- Bootstrap core CSS -->
<link href="https://getbootstrap.com/docs/4.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<!-- Custom styles for this template -->
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PXS68WH"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<main role="main">
<!-- Main jumbotron for a primary marketing message or call to action -->
<div class="jumbotron" id="topbanner">
<div class="container">
<a id="about" class="btn btn-outline-secondary" href="index.html">Home</a>
<h1 class="display-3">PubMed Mapping Tester</h1>
</div>
</div>
<div class="container">
<!-- Example row of columns -->
<div class="row">
<div class="col-md-7 mr-5 ">
<h2>Why PubMed Mapping Tester?</h2>
<p>With <a href="https://www.youtube.com/watch?v=MQ-ttxlkN2U">Automatic Term Mapping</a>, a simple text
query is translated to a more complex one, often composed of <a href="https://www.nlm.nih.gov/mesh/meshhome.html">MeSH headings</a> as well as
different text fields. The algorithm for doing so is maintained by the National Library of Medicine, and the final translation for a given
search is viewable by selecting the "Advanced" tab in PubMed. To take one completely random example, the
mapping for the term "covid-19" becomes this:</p>
<div class="card mb-3">
<div class="card-body">
<p class="card-text">
"covid 19"[All Fields] OR "covid 19"[MeSH Terms] OR "covid 19 vaccines"[All Fields] OR "covid 19 vaccines"[MeSH Terms] OR "covid 19 serotherapy"[All Fields] OR "covid 19 serotherapy"[Supplementary Concept] OR "covid 19 nucleic acid testing"[All Fields] OR "covid 19 nucleic acid testing"[MeSH Terms] OR "covid 19 serological testing"[All Fields] OR "covid 19 serological testing"[MeSH Terms] OR "covid 19 testing"[All Fields] OR "covid 19 testing"[MeSH Terms] OR "sars cov 2"[All Fields] OR "sars cov 2"[MeSH Terms] OR "severe acute respiratory syndrome coronavirus 2"[All Fields] OR "ncov"[All Fields] OR "2019 ncov"[All Fields] OR (("coronavirus"[MeSH Terms] OR "coronavirus"[All Fields] OR "cov"[All Fields]) AND 2019/11/01:3000/12/31[Date - Publication])</p>
</div>
</div>
<p>The other way to see the results of a search (and the mapping from which it is derived)
is by using the API maintained by the NCBI. While the new version of PubMed has been in
production for some months, the public API still points to the old search interface (and thus, the
older iteration of ATM).</p>
<h2>How does it work?</h2>
<p>Happily, there is now a test instance of the API that points to the new search interface, allowing
us to directly compare one version to the other (for at least the next several weeks before the old
API is retired). It is these two different APIs that PubMed Mapping Tester uses to retrieve the two sets
of results for comparison.</p>
<p>Once you enter your search, you'll see the number of results returned by both 'old' PubMed and the
current version. You'll also see the ATM translation used by each. Any terms that are newly included in
the new mapping will be highlighted in yellow. For example, here is the mapping for 'influenza' compared
in each system:
</p>
<div class="card mb-3">
<div class="card-body">
<div class="card-title">'Old' PubMed Results</div>
<p class="card-text"><span class="counts">Count: </span><span id="oldcount"><span class="totals">121778<span></span></span></span></p>
<p class="card-text"><span class="mapping">Mapping:</span></p>
<p><span id="oldmapping">"influenza, human"[MeSH Terms] OR ("influenza"[All Fields] AND "human"[All Fields]) OR "human influenza"[All Fields] OR "influenza"[All Fields]</span></p>
</div>
</div>
<div class="card mb-3">
<div class="card-body">
<div class="card-title">'New' PubMed Results</div>
<p class="card-text"><span class="counts">Count: </span><span id="newcount"><span class="totals">148033</span> <span class="percentdiff">(21.56% more)</span></span></p>
<p class="card-text"><span class="mapping">Mapping:</span></p>
<p><span id="newmapping"><span class="hilite">"influenza</span> <span class="hilite">s"[All Fields]</span> OR "influenza, human"[MeSH Terms] OR ("influenza"[All Fields] AND "human"[All Fields]) OR "human influenza"[All Fields] OR "influenza"[All Fields] OR <span class="hilite">"influenzas"[All Fields]</span> OR <span class="hilite">"influenzae"[All Fields]</span></span></p>
</div>
</div>
</div>
<div class="col-md-3">
<h3>Technology and Credits</h3>
<p>This application is made with <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript">JavaScript</a> and runs in your browser.</p>
<p>PubMed is queried (and results are retrieved) using the <a href="https://www.ncbi.nlm.nih.gov/">National Center for Biotechnology Information's</a> publicly accessible
<a href="https://dataguide.nlm.nih.gov/eutilities/utilities.html">E-utilities API</a>.</p>
<p>Responsive design made less painful with <a href="https://getbootstrap.com/">Bootstrap</a>.</p>
</div>
</div>
<hr>
</div> <!-- /container -->
</main>
<footer class="container">
<span class="text-muted">Design and contruction by <a href="https://esperr.github.io/about/">Ed Sperr, M.L.I.S.</a> |
Data from <a href="http://www.ncbi.nlm.nih.gov/">NCBI</a>
| See the code at <a href="https://github.com/esperr/mapping-tester">GitHub</a></span>
</footer>
</body>
</html>