-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
734 lines (666 loc) · 26.1 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
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
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
<!DOCTYPE html>
<html lang="en">
<! Notes to editors of this file:
- 2-column tab stops, with spaces, not tab characters.
-->
<head>
<meta
charset="utf-8">
<meta
http-equiv="X-UA-Compatible" content="IE=edge">
<meta
name="viewport"
content="minimum-scale=1,maximum-scale=1,user-scalable=no,width=device-width,initial-scale=1">
<meta
name="apple-mobile-web-app-capable"
content="yes">
<meta
name="apple-mobile-web-app-status-bar-style"
content="black">
<meta
name="description"
content="Phenopackets.org Information Site">
<meta
name="author"
content="Phenopackets.org">
<link
rel="shortcut icon"
href="favicon.ico">
<base href="/">
<title>
Phenopackets - Concepts and Technology
</title>
<link href="site/css/bootstrap.min.css" rel="stylesheet">
<link href="site/css/landing.css" rel="stylesheet">
<link href="site/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<script src="site/js/marked.min.js"></script>
<script>
function loadMarkdown(url, id) {
var oReq = new XMLHttpRequest();
oReq.addEventListener("load",
function() {
var markdownSource = this.responseText;
//
// This is a hack so that the Markdown document can have image links that work when
// viewed through GitHub (![](./content/foo.img) by default, but can also be used
// when rendered through this webpage, by removing the './'.
//
markdownSource = markdownSource.replace(/\!\[\]\(\.\//g, '![](content/');
var output = document.getElementById(id);
output.innerHTML = marked(markdownSource);
}
);
oReq.open("GET", url);
oReq.send();
}
// loadMarkdown("content/Overview.md", 'overview-detailed-markdown');
loadMarkdown("content/Vision.md", 'a-vision-detailed-markdown');
loadMarkdown("content/Technology.md", 'a-technology-detailed-markdown');
loadMarkdown("content/Community.md", 'a-community-detailed-markdown');
loadMarkdown("content/Documentation.md", 'a-documentation-detailed-markdown');
</script>
</head>
<body>
<a id="menu-toggle" href="#" class="btn btn-dark btn-lg toggle"><i class="fa fa-bars"></i></a>
<nav id="sidebar-wrapper">
<ul class="sidebar-nav">
<a id="menu-close" href="#" class="btn btn-light btn-lg pull-right toggle"><i class="fa fa-times"></i></a>
<li class="sidebar-brand">
<a href="#top" onclick=$("#menu-close").click();>
<span>
<img src="site/PhenoPackets_Logo.png" style="height:50px;">
</span>
Phenopackets
</a>
</li>
<li>
<a href="#top" onclick=$("#menu-close").click();>Home</a>
</li>
<li>
<a href="#phenopackets-are" onclick=$("#menu-close").click();>About Phenopackets</a>
<ul>
<li>
<a href="#a-vision" onclick=$("#menu-close").click();>The Vision</a>
</li>
<li>
<a href="#a-technology" onclick=$("#menu-close").click();>The Technology</a>
</li>
<li>
<a href="#a-community" onclick=$("#menu-close").click();>The Community</a>
</li>
</ul>
</li>
<li>
<a href="#documentation" onclick=$("#menu-close").click();>Documentation</a>
</li>
<li>
<a href="#contact" onclick=$("#menu-close").click();>Contact</a>
</li>
</ul>
</nav>
<header id="top" class="header">
<div class="text-vertical-center">
<img src="site/PhenoPackets_Logo.png" style="margin-top:10px;">
<br>
<br>
<h1>Phenopackets</h1>
<h3><b>Open and Computable Bioinformation</b></h3>
<br>
<br>
<a href="#phenopackets-are" class="btn btn-dark btn-lg">
Learn More
</a>
</div>
</header>
<section id="phenopackets-are" class="services bg-primary">
<div class="container">
<div class="row row-inset">
<div class="col-lg-10 col-lg-offset-1 text-center">
<h2>Phenopackets Are …</h2>
<hr class="small">
<div class="row">
<div class="col-md-4 col-sm-12">
<div class="service-item">
<span class="fa-stack fa-4x">
<a href="#a-vision" class="btn-fa">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-lightbulb-o fa-stack-1x text-primary"></i>
</a>
</span>
<h4>
<strong>A Vision</strong>
</h4>
<p>
An open standard for sharing disease and phenotype information will improve
our ability to understand, diagnose, and treat both rare and common diseases.
A Phenopacket links detailed phenotype descriptions with disease, patient, and genetic information, enabling clinicians, biologists, and disease and drug researchers to build more complete models of disease.
The standard is designed to encourage wide adoption and synergy between the people, organizations and systems that comprise the joint effort to address human disease and biological understanding.
</p>
</div>
</div>
<div class="col-md-4 col-sm-12">
<div class="service-item">
<span class="fa-stack fa-4x">
<a href="#a-technology" class="btn-fa">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-cogs fa-stack-1x text-primary"></i>
</a>
</span>
<h4>
<strong>A Technology</strong>
</h4>
<p>
Phenopackets are represented as PXF (Phenotype Exchange Format) files, which may be encoded in JSON or YAML. Each packet associates a list of phenotypic abnormalities with a disease and patient, including details about age, sex, onset, and evidence.
PXF uses standard ontologies to ensure interoperability between diverse sources and consumers, to simplify text-mining, and to enable machine reasoning.
Software libraries supporting PXF have been written for Java, Python, and Javascript, and the open standard makes it easy to adapt to other languages, systems and applications.
</p>
</div>
</div>
<div class="col-md-4 col-sm-12">
<div class="service-item">
<span class="fa-stack fa-4x">
<a href="#a-community" class="btn-fa">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-user-md fa-stack-1x text-primary"></i>
</a>
</span>
<h4>
<strong>A Community</strong>
</h4>
<p>
Phenopackets is an evolving standard jointly developed by researchers, clinicians, curators and authors. Journals, model organism databases, medical data repositories and commercial efforts are encouraged to adopt Phenopackets as a way to improve their use and publication of detailed and computable characterizations of disease. This will enable new modes of treatment and drug discovery, including translational research, precision medicine, and automated pipelines revealing knowledge in existing publications and databases.
</p>
</div>
</div>
</div>
<!--
<a href="#overview-detailed" class="btn btn-dark"
onclick=$("#overview-detailed").toggleClass('hidden');>
Details
</a>
-->
</div>
</div>
<!--
<div class="row hidden" id="overview-detailed">
<div class="col-xs-12">
<div id="overview-detailed-markdown" class="markdown">
</div>
</div>
</div>
-->
</div>
</section>
<section id="a-vision" class="services bg-secondary">
<div class="container">
<div class="row row-inset">
<div class="col-xs-12 text-center">
<span class="fa-stack fa-4x">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-lightbulb-o fa-stack-1x text-primary"></i>
</span>
<h3>The Vision of Phenopackets</h3>
</div>
<div class="col-xs-7 xtext-center">
<p class="lead">
Using Phenopackets to communicate bioinformation ensures that knowledge is liberated and useable by the existing and nascent computational pipelines, databases and journals. This enables new possibilities for research, diagnosis and treatment. Some of the features of Phenopackets are listed below.
</p>
</div>
<div class="col-xs-5 xtext-center">
<ul>
<li>
Searchability, Comparability
</li>
<li>
Accessible outside paywalls and private data sources
</li>
<li>
Attributable and Citeable
</li>
<li>
Interoperable and Computable
</li>
<li>
Exchangeable across contexts and disciplines
</li>
</ul>
</div>
<div class="col-xs-12 text-center">
<a href="#a-vision-detailed" class="btn btn-dark"
onclick=$("#a-vision-detailed").toggleClass('hidden');>
Details
</a>
</div>
</div>
<div class="row hidden" id="a-vision-detailed">
<div class="col-xs-12">
<div id="a-vision-detailed-markdown" class="markdown">
</div>
</div>
</div>
</div>
</section>
<section id="a-technology" class="services bg-primary">
<div class="container">
<div class="row row-inset">
<div class="col-xs-12 text-center">
<span class="fa-stack fa-4x bg-primary">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-cogs fa-stack-1x text-primary"></i>
</span>
<h3>The Technology of Phenopackets</h3>
<p class="lead">
Phenopackets are defined using a
<a href="https://github.com/phenopackets/phenopacket-schema" target="_blank">
protobuf schema
</a>
that allows implementations to be automatically generated for many languages. The phenopacket-schema build
process automatically produces language bindings for Java, Python and C++.
</p>
</div>
<div class="col-xs-12">
<p class="lead">
Source code and examples of Phenopackets technology may be found in the following GitHub repositories:
</p>
</div>
<div class="col-xs-12 text-center">
<div class="col-xs-4">
<ul class="list-unstyled">
<li>
<a href="https://github.com/phenopackets" target="_blank">
<i class="fa fa-github fa-fw"></i>
Phenopackets organization
</a>
</li>
</ul>
</div>
<div class="col-xs-4">
<ul class="list-unstyled">
<li>
<a href="https://github.com/phenopackets/phenopacket-schema" target="_blank">
<i class="fa fa-github fa-fw"></i>
Phenopacket schema
</a>
</li>
</ul>
</div>
<div class="col-xs-4">
<ul class="list-unstyled">
<li>
<a href="https://phenopacket-schema.readthedocs.io/en/latest/index.html" target="_blank">
<i class="fa fa-book fa-fw"></i>
Phenopacket schema documentation
</a>
</li>
</ul>
</div>
</div>
<!-- <hr class="small light">-->
<!-- <div class="col-xs-12">-->
<!-- <p class="lead">-->
<!-- A Google Summer of Code 2016 Project, the PhenoPacket Scraper, extracts ontology-linked phenopackets from published journal abstracts.-->
<!-- </p>-->
<!-- </div>-->
<!-- <div class="col-xs-6">-->
<!-- <ul class="list-unstyled">-->
<!-- <li>-->
<!-- <a href="https://github.com/monarch-initiative/phenopacket-scraper-core" target="_blank">-->
<!-- <i class="fa fa-github fa-fw"></i>-->
<!-- phenopacket-scraper-core-->
<!-- </a>-->
<!-- </li>-->
<!-- <li>-->
<!-- <a href="https://github.com/monarch-initiative/phenopacket-scraper-api" target="_blank">-->
<!-- <i class="fa fa-github fa-fw"></i>-->
<!-- phenopacket-scraper-api-->
<!-- </a>-->
<!-- </li>-->
<!-- </ul>-->
<!-- </div>-->
<!-- <div class="col-xs-6">-->
<!-- <ul class="list-unstyled">-->
<!-- <li>-->
<!-- <a href="https://github.com/monarch-initiative/phenopacket-scraper-webapp" target="_blank">-->
<!-- <i class="fa fa-github fa-fw"></i>-->
<!-- phenopacket-scraper-webapp-->
<!-- </a>-->
<!-- </li>-->
<!-- <li>-->
<!-- -->
<!-- </li>-->
<!-- </ul>-->
<!-- </div>-->
<!-- <div class="text-center">-->
<!-- <a href="#a-technology-detailed" class="btn btn-dark"-->
<!-- onclick=$("#a-technology-detailed").toggleClass('hidden');>-->
<!-- Details-->
<!-- </a>-->
<!-- </div>-->
</div>
<div class="row hidden" id="a-technology-detailed">
<div class="col-xs-12">
<div id="a-technology-detailed-markdown" class="markdown">
</div>
</div>
</div>
</div>
</section>
<section id="a-community" class="services bg-secondary">
<div class="container">
<div class="row row-inset">
<div class="col-xs-12 text-center">
<span class="fa-stack fa-4x xbg-primary">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-user-md fa-stack-1x text-primary"></i>
</span>
<h3>The Community of Phenopackets</h3>
<p class="lead">
Phenopackets were designed by, and intended to be used by, the diverse community of
researchers, data modelers, computer scientists, bioinformaticians, environmental
scientists, and clinicians dedicated to maximizing the value of existing and new data.
</p>
<a href="#a-community-detailed" class="btn btn-dark"
onclick=$("#a-community-detailed").toggleClass('hidden');>
Details
</a>
</div>
</div>
<div class="row hidden" id="a-community-detailed">
<div class="col-xs-12">
<div id="a-community-detailed-markdown" class="markdown">
</div>
</div>
</div>
</div>
<div class="col-xs-12">
<div
class="carousel slide"
data-ride="carousel"
data-type="multi"
data-interval="5000" id="myCarousel">
<div class="carousel-inner">
<div class="item active">
<div class="col-md-2 col-sm-6 col-xs-12 carousel-item">
<a href="http://www.orpha.net"class="img-responsive" target="_blank">
<img src="content/partners/logo-orphanet.png" class="img-responsive">
</a>
</div>
</div>
<div class="item">
<div class="col-md-2 col-sm-6 col-xs-12 carousel-item">
<a href="http://ga4gh.org/#/" target="_blank">
<img src="content/partners/logo-globalalliance.jpg" class="img-responsive">
</a>
</div>
</div>
<div class="item">
<div class="col-md-2 col-sm-6 col-xs-12 carousel-item">
<a href="https://monarchinitiative.org" target="_blank">
<img src="content/partners/logo-monarch.png" class="img-responsive">
</a>
</div>
</div>
<div class="item">
<div class="col-md-2 col-sm-6 col-xs-12 carousel-item">
<a href="https://mondo.monarchinitiative.org" target="_blank">
<img src="content/partners/logo-mondo.png" class="img-responsive">
</a>
</div>
</div>
<div class="item">
<div class="col-md-2 col-sm-6 col-xs-12 carousel-item">
<a href="http://human-phenotype-ontology.github.io" target="_blank">
<img src="content/partners/logo-hpo.png" class="img-responsive">
</a>
</div>
</div>
<div class="item">
<div class="col-md-2 col-sm-6 col-xs-12 carousel-item">
<a href="http://geneontology.org" target="_blank">
<img src="content/partners/logo-clingen.png" class="img-responsive">
</a>
</div>
</div>
</div>
<a class="left carousel-control" href="#myCarousel" data-slide="prev"><i class="glyphicon glyphicon-chevron-left"></i></a>
<a class="right carousel-control" href="#myCarousel" data-slide="next"><i class="glyphicon glyphicon-chevron-right"></i></a>
</div>
</div>
</section>
<section id="documentation" class="services bg-primary">
<div class="container">
<div class="row row-inset">
<div class="col-xs-12 text-center">
<span class="fa-stack fa-4x bg-primary">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-book fa-stack-1x text-primary"></i>
</span>
<h3>Documentation and References</h3>
</div>
<div class="col-xs-12 text-center">
<div class="col-xs-4">
<ul class="list-unstyled">
<li>
<a href="https://github.com/phenopackets" target="_blank">
<i class="fa fa-github fa-fw"></i>
Phenopackets organization
</a>
</li>
</ul>
</div>
<div class="col-xs-4">
<ul class="list-unstyled">
<li>
<a href="https://github.com/phenopackets/phenopacket-schema" target="_blank">
<i class="fa fa-github fa-fw"></i>
Phenopacket schema
</a>
</li>
</ul>
</div>
<div class="col-xs-4">
<ul class="list-unstyled">
<li>
<a href="https://phenopacket-schema.readthedocs.io/en/latest/index.html" target="_blank">
<i class="fa fa-book fa-fw"></i>
Phenopacket schema documentation
</a>
</li>
</ul>
</div>
</div>
<div class="col-xs-12">
<ul class="list-unstyled">
<li>
<i class="fa fa-external-link fa-fw"></i>Processing phenotype data using Phenopackets-API and PXFTools
<br>
<a href="https://www.open-bio.org/wiki/BOSC_2016" target="_blank">
BOSC 2016
</a>
<a href="https://f1000research.com/slides/5-1649" target=_blank>
Slides
</a>
<a href="https://www.youtube.com/watch?v=8UreKE1eGNY" target=_blank>
Video
</a>
</li>
<li>
<i class="fa fa-external-link fa-fw"></i>
Phenopackets: Making phenotype profiles FAIR++ for disease diagnosis and discovery
<br>
<a href="https://www.force11.org/meetings/force2016" target="_blank">
Force2016
</a>
<a href="https://figshare.com/articles/Phenopackets_Making_phenotype_profiles_FAIR_for_disease_diagnosis_and_discovery/3180898" target=_blank>
Slides
</a>
</li>
</ul>
</div>
<div class="text-center">
<a href="#a-documentation-detailed" class="btn btn-dark"
onclick=$("#a-documentation-detailed").toggleClass('hidden');>
Details
</a>
</div>
</div>
<div class="row hidden" id="a-documentation-detailed">
<div class="col-xs-12">
<div id="a-documentation-detailed-markdown" class="markdown">
</div>
</div>
</div>
</div>
</section>
<footer>
<div class="container">
<div id="contact" class="row">
<div class="col-lg-10 col-lg-offset-1 text-center">
<span class="fa-stack fa-4x" style="color: transparent;">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-comments fa-stack-1x text-primary"></i>
</span>
<h4>
<strong>Phenopackets.org</strong>
</h4>
<ul class="list-unstyled">
<li>
<i class="fa fa-link fa-fw"></i>
<a
href="http://phenopackets.org"
target="_blank">
http://phenopackets.org
</a>
</li>
<li>
<i class="fa fa-twitter fa-fw"></i>
<a
href="https://twitter.com/phenopack"
target="_blank">
@phenopack
</a>
</li>
<li>
<i class="fa fa-twitter fa-fw"></i>
<a
href="https://twitter.com/hashtag/phenopackets"
target="_blank">
#phenopackets
</a>
</li>
<li>
<i class="fa fa-envelope-o fa-fw"></i>
<a
href="mailto:phenopackets_org_email_placeholder">
phenopackets_org_email_placeholder
</a>
</li>
</ul>
<br>
<hr class="small">
<p class="text-muted">
Site © Phenopackets.org 2016
</p>
<p class="small text-muted">
Theme based on
<a href="https://github.com/BlackrockDigital/startbootstrap-stylish-portfolio/"
target="_blank">
Stylish Portfolio
</a>
© 2013-2016 Blackrock Digital LLC
<br>DNA image adapted from Wikimedia Commons
<a href="https://commons.wikimedia.org/wiki/File:DNA_com_GGN.jpg"
target="_blank">
DNA com GGN
</a>
<br>Partner Logos verbiage here
</p>
</div>
</div>
</div>
<a id="to-top" href="#top" class="btn btn-dark btn-lg">
<i class="fa fa-chevron-up fa-fw fa-1x"></i>
</a>
</footer>
<script src="site/js/jquery.js"></script>
<script src="site/js/bootstrap.min.js"></script>
<script>
// Closes the sidebar menu
$("#menu-close").click(function(e) {
e.preventDefault();
$("#sidebar-wrapper").toggleClass("active");
});
// Opens the sidebar menu
$("#menu-toggle").click(function(e) {
e.preventDefault();
$("#sidebar-wrapper").toggleClass("active");
});
// Scrolls to the selected menu item on the page
$(function() {
$('a[href*=#]:not([href=#],[data-toggle],[data-target],[data-slide])').click(function() {
if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') || location.hostname == this.hostname) {
var target = $(this.hash);
target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
if (target.length) {
$('html,body').animate({
scrollTop: target.offset().top
}, 1000);
return false;
}
}
});
});
//#to-top button appears after scrolling
var fixed = false;
$(document).scroll(function() {
if ($(this).scrollTop() > 250) {
if (!fixed) {
fixed = true;
// $('#to-top').css({position:'fixed', display:'block'});
$('#to-top').show("slow", function() {
$('#to-top').css({
position: 'fixed',
display: 'block'
});
});
}
} else {
if (fixed) {
fixed = false;
$('#to-top').hide("slow", function() {
$('#to-top').css({
display: 'none'
});
});
}
}
});
</script>
<script>
$('.carousel[data-type="multi"] .item').each(function(){
var next = $(this).next();
if (!next.length) {
next = $(this).siblings(':first');
}
next.children(':first-child').clone().appendTo($(this));
for (var i=0;i<4;i++) {
next=next.next();
if (!next.length) {
next = $(this).siblings(':first');
}
next.children(':first-child').clone().appendTo($(this));
}
});
</script>
</body>
</html>