-
Notifications
You must be signed in to change notification settings - Fork 37
/
POSIX.pm
496 lines (310 loc) · 12.4 KB
/
POSIX.pm
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
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
# do not remove the { } from the top and bottom of this page!!!
{
CHARSET => 'ISO-8859-1',
#----------
# MAIN PAGE
#----------
PAGE_TITLE => 'Genome browser',
SEARCH_INSTRUCTIONS => <<END,
<b>Search</b> using a sequence name, gene name,
locus%s, or other landmark. The wildcard
character * is allowed.
END
NAVIGATION_INSTRUCTIONS => <<END,
<br><b>Navigate</b> by clicking one of the rulers to center on a location, or click and drag to
select a region. Use the Scroll/Zoom buttons to change magnification
and position.
END
EDIT_INSTRUCTIONS => <<END,
Edit your uploaded annotation data here.
You may use tabs or spaces to separate fields,
but fields that contain whitespace must be contained in
double or single quotes.
END
SHOWING_FROM_TO => '%s from %s:%s..%s',
INSTRUCTIONS => 'Instructions',
HIDE => 'Hide',
SHOW => 'Show',
SHOW_INSTRUCTIONS => 'Show instructions',
HIDE_INSTRUCTIONS => 'Hide instructions',
SHOW_HEADER => 'Show banner',
HIDE_HEADER => 'Hide banner',
LANDMARK => 'Landmark or Region',
BOOKMARK => 'Bookmark this',
IMAGE_LINK => 'Link to Image',
SVG_LINK => 'High-res Image',
PDF_LINK => 'Download PDF',
SVG_DESCRIPTION => <<END,
<p>
The following link will generate this image in Scalable Vector
Graphic (SVG) format. SVG images offer several advantages over
raster based images such as jpeg or png.
</p>
<ul>
<li>fully resizable with no loss in resolution
<li>editable feature-by-feature in common vector-based graphics applications
<li>if necessary, can be converted to EPS for publication submission
</ul>
<p>
To view SVG images, you will need an SVG capable browser, the
Adobe SVG browser plugin, or an SVG viewing or editing application such
as Adobe Illustrator.
</p>
<p>
Adobe's SVG browser plugin: <a
href="http://www.adobe.com/support/downloads/product.jsp?product=46&platform=Macintosh">Macintosh</a>
| <a
href="http://www.adobe.com/support/downloads/product.jsp?product=46&platform=Windows">Windows</a>
<br />
Linux users may wish to explore the <a href="http://xml.apache.org/batik/">Batik SVG Viewer</a>.
</p>
<p>
<a href="%s" target="_blank">View SVG image in a new browser window</a></p>
<p>
To save this image to your disk, control-click (Macintosh) or
right-click (Windows) and select the option to save link to disk.
</p>
END
IMAGE_DESCRIPTION => <<END,
<p>
To create an embedded image of this view, cut and paste this
URL into an HTML page:
</p>
<pre>
<IMAGE src="%s" />
</pre>
<p>
The image will look like this:
</p>
<p>
<img src="%s" />
</p>
<p>
If only the overview (chromosome or contig view) is showing, try
reducing the size of the region.
</p>
END
TIMEOUT => <<'END',
Your request timed out. You may have selected a region that is too large to display.
Either turn off some tracks or try a smaller region. If you are experiencing persistent
timeouts, please press the red "Reset" button.
END
GO => 'Go',
FIND => 'Find',
SEARCH => 'Search',
DUMP => 'Download',
HIGHLIGHT => 'Highlight',
ANNOTATE => 'Annotate',
SCROLL => 'Scroll/Zoom',
RESET => 'Reset',
FLIP => 'Flip',
DOWNLOAD_FILE => 'Download File',
DOWNLOAD_DATA => 'Download Data',
DOWNLOAD => 'Download',
DISPLAY_SETTINGS => 'Display Settings',
TRACKS => 'Tracks',
TRACK_SELECT => 'Search for Specific Tracks',
TRACK_NAME => 'Track name',
EXTERNAL_TRACKS => '<i>External tracks italicized</i>',
OVERVIEW_TRACKS => '<sup>*</sup>Overview track',
REGION_TRACKS => '<sup>**</sup>Region track',
EXAMPLES => 'Examples',
REGION_SIZE => 'Region Size (bp)',
HELP => 'Help',
HELP_FORMAT => 'Help with File Format',
CANCEL => 'Cancel',
ABOUT => 'About...',
REDISPLAY => 'Redisplay',
CONFIGURE => 'Configure...',
CONFIGURE_TRACKS => 'Configure tracks...',
EDIT => 'Edit File...',
DELETE => 'Delete File',
EDIT_TITLE => 'Enter/Edit Annotation data',
IMAGE_WIDTH => 'Image Width',
BETWEEN => 'Between',
BENEATH => 'Beneath',
LEFT => 'Left',
RIGHT => 'Right',
TRACK_NAMES => 'Track Name Table',
ALPHABETIC => 'Alphabetic',
VARYING => 'Varying',
SHOW_GRID => 'Show grid',
SET_OPTIONS => 'Configure tracks...',
CLEAR_HIGHLIGHTING => 'Clear highlighting',
CLEAR => 'Clear',
UPDATE => 'Update',
UPDATE_TRACKS => 'Update Tracks',
UPDATE_SETTINGS => 'Update Appearance',
DUMPS => 'Reports & Analysis',
DATA_SOURCE => 'Data Source',
UPLOAD_TRACKS=>'Add custom tracks',
UPLOAD_TITLE=> 'Upload your own data',
UPLOAD_FILE => 'Upload a file',
KEY_POSITION => 'Key position',
BROWSE => 'Browse...',
UPLOAD => 'Upload',
NEW => 'New...',
REMOTE_TITLE => 'Add remote annotations',
REMOTE_URL => 'Enter remote track URL',
REMOTE_URL_HELP => 'Enter the URL of a remote DAS track, GBrowse track, or internet-accessible track definition file.',
UPDATE_URLS => 'Update',
PRESETS => '--Choose Preset URL--',
FEATURES_TO_HIGHLIGHT => 'Highlight feature(s) (feature1 feature2...)',
REGIONS_TO_HIGHLIGHT => 'Highlight regions (region1:start..end region2:start..end)',
FEATURES_TO_HIGHLIGHT_HINT => 'Hint: use feature@color to select the color, as in \'NUT21@lightblue\'',
REGIONS_TO_HIGHLIGHT_HINT => 'Hint: use region@color to select the color, as in \'Chr1:10000..20000@lightblue\'',
NO_TRACKS => '*none*',
FILE_INFO => 'Last modified %s. Annotated landmarks: %s',
FOOTER_1 => <<END,
Note: This page uses cookies to save and restore preference information.
No information is shared.
END
FOOTER_2 => 'Generic genome browser version %s',
#----------------------
# MULTIPLE MATCHES PAGE
#----------------------
HIT_COUNT => 'The following %d regions match your request.',
POSSIBLE_TRUNCATION => 'Search results are limited to %d hits; list may be incomplete.',
MATCHES_ON_REF => 'Matches on %s',
SEQUENCE => 'sequence',
SCORE => 'score=%s',
NOT_APPLICABLE => 'n/a',
BP => 'bp',
NAME => 'Name',
TYPE => 'Type',
DESCRIPTION => 'Description',
POSITION => 'Position',
SCORE => 'Match Score',
#--------------
# SETTINGS PAGE
#--------------
SETTINGS => 'Settings for %s',
UNDO => 'Undo Changes',
REVERT => 'Revert to Defaults',
REFRESH => 'Refresh',
CANCEL_RETURN => 'Cancel Changes and Return...',
ACCEPT_RETURN => 'Accept Changes and Return...',
OPTIONS_TITLE => 'Track Options',
SETTINGS_INSTRUCTIONS => <<END,
The <i>Show</i> checkbox turns the track on and off. The
<i>Compact</i> option forces the track to be condensed so that
annotations will overlap. The <i>Expand</i> and <i>Hyperexpand</i>
options turn on collision control using slower and faster layout
algorithms. The <i>Expand</i> & <i>label</i> and <i>Hyperexpand
& label</i> options force annotations to be labeled. If
<i>Auto</i> is selected, the collision control and label options will
be set automatically if space permits. To change the track order use
the <i>Change Track Order</i> popup menu to assign an annotation to a
track. To limit the number of annotations of this type shown, change
the value of the <i>Limit</i> menu.
END
TRACK => 'Track',
TRACK_TYPE => 'Track Type',
SHOW => 'Show',
FORMAT => 'Format',
LIMIT => 'Limit',
ADJUST_ORDER => 'Adjust Order',
CHANGE_ORDER => 'Change Track Order',
AUTO => 'Auto',
COMPACT => 'Compact',
EXPAND => 'Expand',
EXPAND_LABEL => 'Expand & Label',
HYPEREXPAND => 'Hyperexpand',
HYPEREXPAND_LABEL =>'Hyperexpand & label',
NO_LIMIT => 'No limit',
OVERVIEW => 'Overview',
EXTERNAL => 'External',
ANALYSIS => 'Analysis',
GENERAL => 'General',
DETAILS => 'Details',
REGION => 'Region',
ALL_ON => 'All on',
ALL_OFF => 'All off',
#--------------
# HELP PAGES
#--------------
OK => 'OK',
CLOSE_WINDOW => 'Close this window',
TRACK_DESCRIPTIONS => 'Track Descriptions & Citations',
BUILT_IN => 'Tracks Built into this Server',
EXTERNAL => 'External Annotation Tracks',
ACTIVATE => 'Please activate this track in order to view its information.',
NO_EXTERNAL => 'No external features loaded.',
#--------------
# PLUGIN PAGES
#--------------
ABOUT_PLUGIN => 'About %s',
BACK_TO_BROWSER => 'Back to Browser',
PLUGIN_SEARCH_1 => '%s (via %s search)',
PLUGIN_SEARCH_2 => '<%s search>',
CONFIGURE_PLUGIN => 'Configure',
BORING_PLUGIN => 'This plugin has no extra configuration settings.',
#--------------
# ERROR MESSAGES
#--------------
NOT_FOUND => 'The landmark named <i>%s</i> is not recognized. See the help pages for suggestions.',
TOO_BIG => 'Detailed view is limited to %s. Click and drag on one of the scalebars to make a smaller selection.',
PURGED => "Can't find the file named %s. Perhaps it has been purged?.",
NO_LWP => "This server is not configured to fetch external URLs.",
FETCH_FAILED => "Could not fetch %s: %s.",
TOO_MANY_LANDMARKS => '%d landmarks. Too many to list.',
SMALL_INTERVAL => 'Resizing small interval to %s bp',
NO_SOURCES => 'There are no readable data sources configured. Perhaps you do not have permission to view them.',
ADD_YOUR_OWN_TRACKS => 'Add custom tracks',
INVALID_SOURCE => 'The source named %s is invalid.',
NO_SEGMENT => 'No genomic region selected.',
BACKGROUND_COLOR => 'Fill color',
FG_COLOR => 'Line color',
HEIGHT => 'Height',
PACKING => 'Packing',
GLYPH => 'Shape',
LINEWIDTH => 'Line width',
DEFAULT => '(default)',
DYNAMIC_VALUE => 'Dynamically calculated',
CHANGE => 'Change',
DRAGGABLE_TRACKS => 'Draggable tracks',
CACHE_TRACKS => 'Cache tracks',
SHOW_TOOLTIPS => 'Show tooltips',
OPTIONS_RESET => 'All page settings have been reset to their default values',
OPTIONS_UPDATED => 'A new site configuration is in effect; all page settings have been reset to their defaults',
SEND_TO_GALAXY => 'Send to Galaxy',
NO_DAS => 'Installation error: Bio::Das module must be installed for DAS URLs to work. Please inform this site\'s webmaster.',
SHOW_OR_HIDE_TRACK => '<b>Show or hide this track</b>',
CONFIGURE_THIS_TRACK => '<b class="error">Click to configure.</b>',
SUBTRACKS_SHOWN => '<b>Showing:</b> %s<br><b>Hidden:</b> %s',
SHOW_SUBTRACKS => '<b>Show subtracks</b>',
SHARE_THIS_TRACK => '<b>Share this track</b>',
SHARE_ALL => 'Share these tracks',
SHARE => 'Share %s',
SHARE_INSTRUCTIONS_ONE_TRACK => <<END,
To share this track with another GBrowse genome browser,
first copy the URL below, then go to the other GBrowse and
paste the URL into the "Enter remote track URL" field at
the bottom of the page. If this track is from an uploaded file,
then be aware that sharing this URL with another user potentially
allows <b>all</b> your uploaded data to be viewable by that user.
END
SHARE_INSTRUCTIONS_ALL_TRACKS => <<END,
To share all currently selected tracks with another GBrowse genome
browser, first copy the URL below, then go to the other GBrowse and
paste the URL into the "Enter remote track URL" field at
the bottom of the page. If any of the selected tracks are from an uploaded file,
then be aware that sharing this URL with another user potentially
allows <b>all</b> your uploaded data to be viewable by that user.
END
SHARE_DAS_INSTRUCTIONS_ONE_TRACK => <<END,
To share this track with another genome browser using
the <a href="http://www.biodas.org" target="_new">
Distributed Annotation System (DAS)</a> first copy the URL below,
then go to the other browser and enter it as a new DAS source.
<i>Quantitative tracks ("wiggle" files) and uploaded files can not
be shared using DAS.</i>
END
SHARE_DAS_INSTRUCTIONS_ALL_TRACKS => <<END,
To share all currently selected tracks with another genome browser
using the <a href="http://www.biodas.org" target="_new"> Distributed
Annotation System (DAS)</a> first copy the URL below, then go to the
other browser and enter it as a new DAS source. <i>Quantitative tracks
("wiggle" files) and uploaded files can not be shared using DAS.</i>
END
};