This repository has been archived by the owner on Sep 8, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
222 lines (212 loc) · 12.3 KB
/
index.html
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
<!DOCTYPE html>
<html>
<head>
<title>Pathway Commons API Console</title>
<meta name="viewport" content="initial-scale=0.6, maximum-scale=0.6, minimum-scale=0.6, width=device-width, user-scalable=no" />
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico" />
<link rel="stylesheet" type="text/css" href="css/index2.css">
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/font-awesome-4.3.0/css/font-awesome.min.css">
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/ZeroClipboard.js"></script>
<script type="text/javascript" src="js/examples.js"></script>
<script type="text/javascript" src="js/index2.js"></script>
</head>
<body>
<script id="menu-template" type="text/x-handlebars-template">
{{#api}}
<li>
<a href="#{{name}}">{{name}}</a>
</li>
{{/api}}
</script>
<script id="example-template" type="text/x-handlebars-template">
{{#examples}}
<li>
<a href="#{{id}}" id="{{id}}" class="example">{{description}}</a>
<!--<button class="btn btn-primary bestHtml" id="{{id}}" type="button">{{description}}</button>-->
</li>
{{/examples}}
</script>
<script id="middle-template" type="text/x-handlebars-template">
{{#api}}
<section id="{{name}}" class="group panel panel-default">
<div class="panel-heading">{{name}}</div>
<div class="panel-body">
<div class="subgroup">
<h4>Description</h4>
<p>{{description}}</p>
</div>
<div class="subgroup">
<h4>Output</h4>
<p>{{output}}</p>
</div>
<div class="subgroup">
<h4>Parameters</h4>
<p>{{description}}</p>
<form id="form-{{toLowerCase name}}" class="form-horizontal">
<table class="table table-bordered">
<thead>
<tr>
<th>Parameter</th>
<th>Value</th>
<th>Description</th>
</tr>
</thead>
<tbody>
{{#params}}
<tr>
{{#if required}}
<td class="required">{{param}}</td>
{{else}}
<td>{{param}}</td>
{{/if}}
{{#if options}}
<td>
<select id="param-{{toLowerCase ../../name}}-{{param}}" class="form-control">
{{#each options}}
<option>{{this}}</option>
{{/each}}
</select>
</td>
{{else}}
<td><input type="text" id="param-{{toLowerCase ../../name}}-{{param}}" class="form-control" value="{{example}}"/></td>
{{/if}}
<td>{{description}}</td>
</tr>
{{/params}}
</tbody>
</table>
<button class="btn btn-primary execBtn" id="executeButton" type="button">Try It</button>
</form>
</div>
<div class="subgroup">
<h4>Examples</h4>
{{> exampleTmpl this}}
</div>
</div>
</section>
{{/api}}
</script>
<div id="content" class="container-fluid">
<div class="row no-gutter">
<nav id="navBar" class="col-xs-2 bs-docs-sidebar">
<ul id="sidebar" class="nav nav-stacked fixed">
<li>
<a class="pc-url" href="pc2/" target="_blank">PC2</a>
</li>
<li>
<a href="#overview">Overview</a>
</li>
</ul>
</nav>
<div id="middle" class="col-xs-6">
<section id="overview" class="group panel panel-default">
<div class="panel-heading">Overview</div>
<div class="panel-body">
<div class="subgroup">
<p>Pathway Commons (PC) integrates a number of biological pathway and molecular interaction
<a class="pc-url" href="pc2/datasources" target="_blank">databases</a> into one large
<a href="http://www.biopax.org">BioPAX</a> model.
The PC Web API described below can be used by computational
biologists to download subsets of Pathway Commons for analysis, or
to incorporate powerful biological pathway and network information retrieval
and query functionality into websites and other software.</p>
</div>
<div class="subgroup">
<p>This tutorial has some limitations:</p>
<ul>
<li>It provides less information than can be found
on the <a class="pc-url" href="pc2/" target="_blank">PC web service</a> home page.</li>
<li>Queries timeout after 10 seconds; opening a request URL in a new tab overcomes this limitation.</li>
<li>It does not cover all available API functions or parameters.</li>
<li>Only one parameter value is supported for functions that can accept an array for given parameter.</li>
</ul>
</div>
<div class="subgroup">
<p>Useful PC and BioPAX tools that we support:</p>
<ul>
<li>The <a href="https://github.com/PathwayCommons/cpath2/wiki/PC2Client" target="_blank">Java client</a> library.</li>
<li>The <a href="http://biopax.github.io/Paxtools/" target="_blank">Paxtools</a> library (official BioPAX Java API and data model).</li>
<li>The <a href="https://github.com/PathwayCommons/cpath2-client" target="_blank">Javascript client</a> library.</li>
<li>The <a href="http://bioconductor.org/packages/release/bioc/html/paxtoolsr.html" target="_blank">Paxtoolsr</a>
R package provides added functionality for interacting with data retrieved via the PC web service.</li>
</ul>
</div>
</div>
</section>
</div>
<div id="responseSidebar" class="col-xs-4">
<div class="responseSidebar fixed">
<div id="top" class="window top">
<div id="something">
<h3 class="outputCol">Request URL</h3>
<a id="requestLink" class="codeLink" href="#" target="_blank">Open in New Tab</a>
<pre id="requestUrl">Nothing yet</pre>
<h3>Response</h3>
<div id="clip" class="codeLink">Copy To Clipboard (Double-Click)</div>
</div>
<div id="response">
<pre id="responseCodePre"><code id="responseCode" class="scrollingCode">Nothing yet</code></pre>
</div>
</div>
<div id="div_right" class="handler_horizontal"></div>
<div id="bottom" class="window bottom">
<h3 class="outputCol">Code</h3>
<!-- Nav tabs -->
<ul class="nav nav-tabs" role="tablist">
<li class="active">
<a href="#curlDiv" role="tab" data-toggle="tab">Curl</a>
</li>
<li>
<a href="#rDiv" role="tab" data-toggle="tab">R</a>
</li>
<li>
<a href="#pythonDiv" role="tab" data-toggle="tab">Python</a>
</li>
<li>
<a href="#groovyDiv" role="tab" data-toggle="tab">Groovy</a>
</li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div class="tab-pane active in" id="curlDiv">
<div id="curlClip" class="codeLink">Copy To Clipboard (Double-Click)</div>
<pre id="curlCode" class="scrollingCode">Nothing yet</pre>
</div>
<div class="tab-pane" id="rDiv">
<div id="rClip" class="codeLink">Copy To Clipboard (Double-Click)</div>
<pre id="rCode" class="scrollingCode">Nothing yet</pre>
</div>
<div class="tab-pane" id="pythonDiv">
<div id="pythonClip" class="codeLink">Copy To Clipboard (Double-Click)</div>
<pre id="pythonCode" class="scrollingCode">Nothing yet</pre>
</div>
<div class="tab-pane" id="groovyDiv">
<div id="groovyClip" class="codeLink">Copy To Clipboard (Double-Click)</div>
<pre id="groovyCode" class="scrollingCode">Nothing yet</pre>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<link rel="stylesheet" type="text/css" href="css/defaultHljs.css">
<script type="text/javascript" src="js/underscore-min.js"></script>
<script type="text/javascript" src="js/handlebars-v3.0.3.js"></script>
<script type="text/javascript" src="js/highlight.pack.js"></script>
<script type="text/javascript" src="js/waitingDialog.js"></script>
<script type="text/javascript" src="js/vkbeautify.0.99.00.beta.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-43341809-1', 'auto');
ga('send', 'pageview');
window.ga = ga;
</script>
</body>
</html>