-
Notifications
You must be signed in to change notification settings - Fork 42
/
icn3d.html
3065 lines (2759 loc) · 182 KB
/
icn3d.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
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html><html><head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta name="description" content="iCn3D Structure Viewer">
<meta name="keywords" content="NCBI, Structure, JavaScript, iCn3D, 3D, Viewer, WebGL, three.js, sequence, chemical">
<meta name="robots" content="index,follow,noarchive">
<meta name="ncbi_app" content="structure">
<meta name="ncbi_pdid" content="icn3d">
<meta name="ncbi_page" content="webapi">
<meta name="ncbi_pinger_xml_http_request_override" content="false"/>
<meta name="ncbi_pinger_click_ping_selector" content="button, a, input[type=submit], span[data-pinger], div[data-pinger], label[data-pinger]"/>
<title>iCn3D: Web-based 3D Structure Viewer</title>
<script type="text/javascript">
window.ncbi_startTime = new Date();
</script>
<link rel="stylesheet" href="https://www.ncbi.nlm.nih.gov/Structure/shlu/jslibs/uswds/resources/uswds-not-greedy.min.css">
<link rel="stylesheet" href="https://www.ncbi.nlm.nih.gov/Structure/shlu/jslibs/uswds/resources/header.min.css">
<link rel="stylesheet" href="lib/jquery-ui-1.13.2.min.css">
<link rel="stylesheet" href="icn3d.css">
<script src="lib/jquery-3.5.0.min.js"></script>
<script src="lib/jquery-ui-1.13.2.min.js"></script>
<!---script src="lib/three_0.151.0.min.js"></script>
<script--- src="icn3d.min.js"></script--->
<style type="text/css">
/* header */
html {font-size: 10px;}
.icn3d-main {font-size: 1.5em; color:#444444; padding: 110px 40px 0 40px;}
.anchor { position: absolute; transform: translateY(-110px); }
.icn3d-menupos {margin:4px 0 0 280px; position:absolute; z-index:999;}
@media screen and (max-device-width: 800px) {
.icn3d-main {font-size: 1.7em; padding: 150px 40px 0 40px;}
.anchor { position: absolute; transform: translateY(-150px); }
.icn3d-menupos {margin:4px 0 0 30px; position:absolute; z-index:999;}
}
.graphbutton {text-decoration: none; color: #1c94c4; width: 110px;
text-align: center; font-size: 1em; font-weight: bold;
background-color: #f6f6f6; border: 1px solid #ccc;
padding:8px; font-size:1.3em; margin-top:3px; border-radius:5px;}
.graphbutton:hover {background-color: #fdf5ce; border: 1px solid #fbcb09;;}
accordion h3 {width: 110px; font-size: 14px!important;}
pre { white-space: pre-wrap; }
A { text-decoration: none;}
.icn3d-main A:link { text-decoration: none; font-family: Verdana, Arial, Sans-serif; font-size: 100%; color:#0056CC; }
.icn3d-main A:visited { text-decoration: none; font-family: Verdana, Arial, Sans-serif; font-size: 100%; color:#00994E; }
.icn3d-main A:active { text-decoration: none; font-family: Verdana, Arial, Sans-serif; font-size: 100%; color:#00994E; }
.icn3d-main A:hover { text-decoration: none; color:black; font-family: Verdana, Arial, Sans-serif; font-size: 100%; color:#00994E;}
.top {
width: 12px;
height: 12px;
background: url(https://www.ncbi.nlm.nih.gov/Structure/IMG/arrowup_blue.gif) no-repeat;
margin-top: 6px;
}
.indent {margin-left:40px;}
.gallery {float:left; border: solid 1px #0000ff; padding: 5px; margin: 10px; text-align:center;}
body {font-family: Verdana, Arial, Helvetica, sans-serif;}
pre span {color: red;}
</style>
<script type="text/javascript">
$( document ).ready(async function() {
$("accordion").show();
/*
var cfg = {
divid: 'icn3dwrap',
width: 400,
height: 400,
resize: false,
rotate: 'right',
mobilemenu: 1,
showcommand: 0,
mmdbid: '3gvu',
usepdbnum: 0,
command: 'set chemicalbinding show; select .STI:1; color green; set fog on; set slab on; set background white'
};
var icn3dui = new icn3d.iCn3DUI(cfg);
await icn3dui.show3DStructure();
*/
// mn display
$("accordion").accordion({ collapsible: true, active: false, heightStyle: "content"});
$("accordion div").removeClass("ui-accordion-content ui-corner-all ui-corner-bottom ui-widget-content");
$(".icn3d-mn-item").menu({position: { my: "left top", at: "right top" }});
$(".icn3d-mn-item").hover(function(){},function(){$("accordion").accordion( "option", "active", "none");});
$("#icn3d-accordion1").hover( function(){ $("#icn3d-accordion1 div").css("display", "block"); }, function(){ $("#icn3d-accordion1 div").css("display", "none"); } );
$("#icn3d-accordion2").hover( function(){ $("#icn3d-accordion2 div").css("display", "block"); }, function(){ $("#icn3d-accordion2 div").css("display", "none"); } );
$("#icn3d-accordion3").hover( function(){ $("#icn3d-accordion3 div").css("display", "block"); }, function(){ $("#icn3d-accordion3 div").css("display", "none"); } );
}); // document ready
</script>
</head>
<body>
<!-- start of header -->
<div style="position: fixed; width: 100%;">
<div class="us">
<!--a class="skipnav" href="#maincontent">Skip to main page content</a-->
<header class="ncbi-page-header" role="banner">
<div class="prefix" style="background:initial; float:initial;">
<span class="nih" title="National Center for Biotechnology Information">
<a href="https://www.ncbi.nlm.nih.gov/" title="To NCBI homepage">
<img style="padding:3px;" alt="NCBI"
src="https://www.ncbi.nlm.nih.gov/coreutils/nwds/img/logos/AgencyLogo.svg">
</a>
</span>
</div>
</header>
</div>
<!--div style='position:absolute; z-index:999; float:left; display:table-row;'-->
<table border='0' cellpadding='0' cellspacing='0' style="width:100%; padding-left: 40px; background-color:#FFF"><tr>
<td style="padding:6px 0 6px 0;">
<span style="font-weight:bold; font-size:2.5em; color:#444444">iCn3D</span>
</td>
<td valign="top"><div class='icn3d-menu icn3d-menupos'>
<accordion id='icn3d-accordion1' class='icn3d-accordion' style='display:none'>
<h3>Menu</h3>
<div>
<ul class='icn3d-mn-item'>
<li><a href="#about"><span>About iCn3D</span></a></li>
<li><a href="#gallery"><span>Live Gallery</span></a></li>
<li><a href="#videos"><span>Videos & Tutorials</span></a></li>
<li><a href="#faq"><span>FAQ</span></a>
<ul>
<li><a href="#viewstru"><span>View structure</span></a>
<li><a href="#tfstru"><span>Transform Structure</span></a>
<li><a href="#selsubset"><span>Select Subsets</span></a>
<li><a href="#changestylecolor"><span>Change Style/Color</span></a>
<li><a href="#saveview"><span>Save Work</span></a>
<li><a href="#showanno"><span>Show Annotations</span></a>
<li><a href="#exportanno"><span>Export Annotations</span></a>
<li><a href="#interanalysis"><span>Interaction Analysis</span></a>
<li><a href="#mutationanalysis"><span>Mutation Analysis</span></a>
<li><a href="#elecpot"><span>Electrostatic Pot.</span></a>
<li><a href="#simivast"><span>Similar PDB</span></a>
<li><a href="#simifoldseek"><span>Similar AlphaFold/PDB</span></a>
<li><a href="#alignmul"><span>Align Multiple Structures</span></a>
<li><a href="#batchanalysis"><span>Batch Analysis</span></a>
<li><a href="#igrefnum"><span>Assign Ig Ref. Numbers</span></a>
<li><a href="#embedicn3d"><span>Embed iCn3D</span></a>
</ul>
</li>
<!--li><a href="https://www.ncbi.nlm.nih.gov/structure"><span>Search Structure</span></a></li-->
<li><a href="#citing"><span>Citing iCn3D</span></a></li>
<li><span>Source Code</span>
<ul>
<li><a href="https://github.com/ncbi/icn3d"><span>GitHub (browser)</span></a></li>
<li><a href="https://www.npmjs.com/package/icn3d"><span>npm (Node.js)</span></a></li>
<li><a href="https://pypi.org/project/icn3dpy"><span>Jupyter Notebook</span></a></li>
</ul></li>
<li><span>Develop</span>
<ul>
<li><a href="#HowToUse"><span>Embed iCn3D</span></a></li>
<li><a href="#parameters"><span>URL Parameters</span></a></li>
<li><a href="#commands"><span>Commands</span></a></li>
<li><a href="#datastructure"><span>Data Structure</span></a></li>
<li><a href="#classstructure"><span>Class Structure</span></a></li>
<li><a href="#addclass"><span>Add New Classes</span></a></li>
<li><a href="#modifyfunction"><span>Modify Functions</span></a></li>
<li><a href="#restfulapi"><span>RESTful APIs</span></a></li>
<li><a href="#contributors"><span>Codeathon Contributors</span></a></li>
</ul></li>
<li><a href="https://www.ncbi.nlm.nih.gov/Structure/icn3d/docs/icn3d_help.html"><span>Help Doc</span></a></li>
<li><a href="https://support.nlm.nih.gov/support/create-case/" target="_blank"><span>Write to Help Desk</span></a></li>
<li><a href="https://www.nlm.nih.gov/web_policies.html" target="_blank"><span>NLM Web Policies</span></a></li>
</ul>
</div>
</accordion>
</div></td>
<td width="90%"></td>
</tr></table>
</div>
<!-- End of header -->
<span class="anchor" id="top"></span>
<a name="Top"></a>
<div class="icn3d-main">
<span class="anchor" id="about"></span>
<a name="about"></a>
<h3>What is iCn3D Structure Viewer?</h3>
"I see in 3D" (iCn3D) Structure Viewer is not only a web-based 3D viewer, but also a structure analysis tool interactively or in the batch mode using NodeJS scripts based on the npm package icn3d. iCn3D synchronizes the display of 3D structure, 2D interaction, and 1D sequences and annotations. Users' custom display can be saved in a short URL or a PNG image. Some features are listed below.<br/>
<!---br/>
<br/>
<div id="icn3dwrap" style="font-size: 0.8em; width:420px"></div>
<br/--->
<ol>
<li><b>View a 3D structure in iCn3D</b><br/>
Open the link <a href="https://www.ncbi.nlm.nih.gov/Structure/icn3d" target="_blank">https://www.ncbi.nlm.nih.gov/Structure/icn3d</a>, input a PDB ID, and click "Load". You can also click "File" menu to "Open File" or input other IDs.<br/>
<br/>
As mentioned in the menu "Help > Transformation Hints", you can use Left mouse button for rotation, Middle mouse wheel for zooming, and Right mouse button for translation. <br>
<br>
The most important point about using iCn3D is the current selection. Any operations on color, style, etc. are working on the current selection. By default, all atoms are selected. Once you select any subset, your operation will work ONLY on the subset. You can switch the selection using the toggle next to the Help menu.<br/>
<br/>
<li><b>VR and AR views in iCn3D</b><br/>
The Virtual Reality (VR) and Augmented Reality (AR) views are shown in this <a href="https://youtu.be/XvjiK5bOtd0">video</a>.<br/>
<br/>
You can open a bowser in your Virtual Reality (VR) headset and view a 3D structure in iCn3D. Then click the button "ENTER VR" at the bottom center of your browser to enter the VR view. You can select residues with the trigger button, open the menu with the squeeze button and click menus with the trigger, navigate with the thumbstick pressed forward/backward and press the trigger. There are menus for Select, Style, Color, and Analysis. You need to make one selection before clicking the Interaction button and make two selections before clicking the Distance button.<br/>
<br/>
The Augmented Reality (AR) view is currently only available to iCn3D views in Chrome browser using Android phones. You can view a 3D structure in iCn3D and click the button "START AR" at the bottom center to see the 3D structure in your surroundings. You can tap twice quickly on the screen to locate a minimized 3D structure in your tapped location, and pinch to scale the 3D structure. <br/>
<br/>
<li><b>Create custom 3D view</b><br/>
You first open a structure in "File" menu, then select a subset in "Select" menu, view only the selected subset by clicking "View Only Selection" in View menu, finally change styles or colors in "Style" and "Color" menus. <br/>
<br/>
Each operation has a corresponding command as listed at https://www.ncbi.nlm.nih.gov/Structure/icn3d/icn3d.html#commands. These commands will show up in the command/log window right beneath the 3D display. To view all previous commands, you can click "Share Link" in "File" menu. Both the original URL and the short URL can be used to display your custom view.<br/>
<br/>
<li><b>Save your work</b><br/>
You can save "iCn3D PNG Image" in the menu "File > Save File". Both the PNG file and an HTML file are saved. Click the HTML file to see the PNG image, which is linked to the custom display via a shorten URL. The downloaded "iCn3D PNG Image" itself can also be used as an input in the menu "File > Open File" to reproduce the custom display. You can combine these HTML files to generate your own galleries.<br/>
<br/>
The "iCn3D PNG Image" can also be stored in a web server (e.g., https://figshare.com, https://zenodo.org). The PNG image can then be loaded into iCn3D via the URL, e.g., <a href="https://www.ncbi.nlm.nih.gov/Structure/icn3d/?type=icn3dpng&url=https://api.figshare.com/v2/file/download/39125801" target="_blank">https://www.ncbi.nlm.nih.gov/Structure/icn3d/?type=icn3dpng&url=https://api.figshare.com/v2/file/download/39125801</a>, or <a href="https://www.ncbi.nlm.nih.gov/Structure/icn3d/?type=icn3dpng&url=https://zenodo.org/api/files/1a3325c8-0c84-4f1e-be2c-c143b08c6563/3GVU-XCxR6fSTmXHxR3o1A.png" target="_blank">https://www.ncbi.nlm.nih.gov/Structure/icn3d/?type=icn3dpng&url=https://zenodo.org/api/files/1a3325c8-0c84-4f1e-be2c-c143b08c6563/3GVU-XCxR6fSTmXHxR3o1A.png</a>, where the URL of the PNG image is retrieved from the JSON blob at https://zenodo.org/api/records/7599970.<br/>
<br/>
You can also save "Share Link" in "File" menu to share with your colleagues. These URLs are lifelong. You can click "Replay Each Step > On" in "File" menu to learn how a <a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?u7gp4xS9rn4hahcLA">custom display</a> was generated.<br/>
<br/>
All "Share Link" URLs can show the original view using the archived version of iCn3D by clicking "Open File > Share Link in Archived Ver." in "File" menu.<br/>
<br/>
<li><b>Python scripts" to batch process structures</b>:
Python scripts can be used to process 3D structures (e.g., export secondary structures, PNG images, or analysis output) in batch mode. The example scripts are at <a href="https://github.com/ncbi/icn3d/tree/master/icn3dpython">icn3dpython</a>.<br/>
<br/>
<li><b>Node.js scripts using npm "icn3d" to batch process structures</b>:
You can download <a href="https://www.npmjs.com/package/icn3d">npm "icn3d" package</a> to write Node.js scripts by calling iCn3D functions. These scripts can be used to process 3D structures (e.g., calculate interactions) in batch mode. The example scripts are at <a href="https://github.com/ncbi/icn3d/tree/master/icn3dnode">icn3dnode</a>.<br/>
<br/>
<li><b>Annotations for AlphaFold structures</b>:
For any custom structures such as AlphaFold structures, you can show <a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?bPSkpeshtiH1TxbP8">conserved domain and 3D domain annotations</a>. For AlphaFold structures, you can also show <a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?XSQ5oqDCTfEQ3iAY7">SNP and ClinVar annotations</a>.<br/>
<br/>
<li><b>Align AlphaFold structures</b>:
You can align <a href="https://www.ncbi.nlm.nih.gov/Structure/icn3d/?chainalign=P69905_A,P01942_A,1HHO_A&showalignseq=1&bu=0">AlphaFold structures or PDB structures</a> with the menu "File > Align > Multiple Chains" or "File > Align > Protein Complexes > Two AlphaFold Structures". You can also load any structures as usual, then load your custom PDB file with the menu "File > Open File > PDB File (appendable)", then relaign these structures with the menu "File > Realign Selection > by Structure Alignment".<br/>
<br/>
<li><b>Alternate SNPs in 3D</b><br/>
You can <a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?fNpzDuUE287SBFtz8">alternate in 3D wild type and mutant of SNPs</a> by clicking the menu "Analysis > Sequences & Annotations", the tab "Details", the checkbox "SNP", and mouseover on SNPs.<br/>
<br/>
<li><b>DelPhi Electrostatic Potential</b><br/>
You can view the <a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?31DFceJiYw7SfStQA">DelPhi Electrostatic Potential</a> in the menu "Analysis > DelPhi Potential".<br/>
<br/>
<li><b>Isoforms and Exons</b><br/>
You can view the <a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?pA3pPu7LxdiuZDVX7">Isoforms and Exons</a> by clicking the button "Add Track" in the "Sequences & Annotations" window via the menu "Analysis > Sequences & Annotations".<br/>
<br/>
<li><b>Use iCn3D in Jupyter Notebook</b><br/>
You can use iCn3D in Jupyter Notebook with the widget "icn3dpy". The instructions are at <a href="https://pypi.org/project/icn3dpy">pypi.org/project/icn3dpy</a>.<br/>
<br/>
<li><b>2D Cartoons in the chain, domain, and secondary structure levels</b><br/>
You can use click "Analysis > 2D Cartoon" to show 2D Cartoons in the <a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?pzmT7EMTAxXKVbZu7">chain</a>, <a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?Arh4H9VTMuHQURY5A">domain</a>, and <a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?5iZSHNbXcJisp7gQ6">secondary structure</a> levels.<br/>
<br/>
<li><b>Contact Map for any Selected Residues</b><br/>
You can click the menu "Analysis > Contact Map" to show the interactive <a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?rnMbe26tNsAjJLGK9">contact map</a> for any selected residues. You can export the map in PNG or SVG. <br/>
<br/>
<li><b><a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?JR5B">Show binding site</a></b><br/>
You can click "Chem. Binding" in "View" menu to show all hydrogen bonds around chemicals. You can also <a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?CuXYgGLCukDeUKnJ6">Show interaction interface</a> by clicking "H-Bonds & Interactions > 2D Interaction Graph, or Highlight Interactionsin Table" in "View" menu.<br/>
<br/>
<li><b><a href="https://www.ncbi.nlm.nih.gov/Structure/icn3d/?mmdbid=1tup&command=export+stl+stabilizer+file">Export models for 3D printing</a></b><br/>
You can click "3D Printing" in "File" menu to export models for 3D printing. Both STL and VRML files are supported.<br/>
<br/>
<li><b><a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?TuSd">Show transmembrane proteins</a></b><br/>
If the protein is a transmembrane protein, you can click "File > Retrieve by ID > OPM PDB ID" to input a PDB ID to view the membranes.<br/>
<br/>
<li><b>Show <a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?aYAjP4S3NbrBJX3x6">surface</a>, <a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?L4C4WYE85tYRiFeK7">EM map</a>, or <a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?QpqNZ3k65ToYFvUB6">electron density map</a> (MTZ, CCP4, or DSN6)</b><br/>
You can click "Style > Surface Type", "Style > EM Density Map", or "Style > Electron Density". You can load electron density files at "File > Open File > Electron Density".<br/>
<br/>
<li><b>View 1D sequences and 2D interactions</b><br/>
In the page https://www.ncbi.nlm.nih.gov/Structure/icn3d/?mmdbid=1TUP, you can click in "Windows" menu to "View Sequences & Annotations",
"View Interactions", and see all "Defined Sets", which can be clicked to see any of your selections.<br/>
<br/>
<li><b>Select on 3D, 1D and 2D</b><br/>
To select on 3D structures: hold "Alt" and use mouse to pick, hold "Ctrl" to union selection, hold "Shift" to select a range, press the up/down arrow to switch among atom/residue/strand/chain/structure. Click "Save Selection" in "Select" menu to save the current selection.<br/>
<br/>
To select on 1D sequences: drag on the sequences or the blue track title to select.<br/>
<br/>
To select on 2D interaction diagram: click on the nodes or lines. The nodes are chains and can be united with the Ctrl key. The lines are interactions and can NOT be united. Each click on the lines selects half of the lines, i.e., select the interacting residues in one of the two chains.<br/>
<br/>
<li><b><a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?wPoW56e8QnzVfuZw6">Align two structures</a></b>, <b><a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?PfsQFtZRTgFAW2LG6">align multiple chains</a></b>, or <b><a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?Mmm82craCwGMAxru9">align a protein sequence to a structure</a></b><br/>
You can click "File > Align" to see all three alignment options. You can also <a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?UccFrXLDNeVB7Jk16">realign</a> a subset of the structures.<br/>
<br/>
<li><b><a href="https://www.ncbi.nlm.nih.gov/Structure/icn3d/?mmdbid=1tup&showanno=1&show2d=1&showsets=1&command=view+annotations;+set+view+detailed+view;+add+track+|+chainid+1TUP_B+|+title+Custom+Key+Sites+|+text+82+R,+152+G,+155-156+RR,+180+R,+189+R;+select+.B:82,152,155-156,180,189+|+name+mutation">Add custom tracks</a></b><br/>
You can add custom tracks in various formats (FASTA, bed file, etc.) in the annotation window by clicking the menu "Analysis > View Sequences & Annotations".<br/>
<br/>
<li><b><a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?rshvjTFXpAFu8GDa9">Show force-directed graph for interactions</a></b><br/>
You can show the interactions using 2D force-directed graph in the menu "View > H-Bonds & Interactions > 2D Graph (Force-Directed)".<br/>
<br/>
<li><b><a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?xKSyfd1umbKstGh29">Calculate and show Solvent accessible surface area (SASA)</a></b><br/>
You can color structures with SASA, or show the SASA for each residue.<br/>
<br/>
<li>Show <a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?bGH1BfLsiGFhhTDn8"><b>precalculated symmetry</b></a>, or calculate <a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?6NvhQ45XrnbuXyGe6">symmetry dynamically</a> using SymD.<br/>
<br/>
</ol>
<span class="anchor" id="gallery"></span>
<a name="gallery"></a>
<a name="alphafold-gallery"></a>
<h3><a href="https://alphafold.ebi.ac.uk/">AlphaFold</a>-related gallery with live examples <img src="https://www.ncbi.nlm.nih.gov/Structure/IMG/spacer.gif" width="25" height="1" border="0"><a href="#Top"><img src="https://www.ncbi.nlm.nih.gov/Structure/IMG/arrowup_blue.gif" width="12" height="12" border="0" alt="back to top"></a></h3>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?Tq1LM7Aj5UumDMpL7" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/exon.png"><br>AlphaFold structures with<br>isoforms and exons (Uniprot ID A4D1S0)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?bPSkpeshtiH1TxbP8" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/af-domains.png"><br>AlphaFold structures with conserved domain <br>and 3D domain annotations (Uniprot ID A0A044R7Z7)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?XSQ5oqDCTfEQ3iAY7" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/af-snp-clinvar.png"><br>AlphaFold structures with <br>SNP and ClinVar annotations (Uniprot ID Q08426)
</a>
</div>
<div class="gallery">
<a href="https://www.ncbi.nlm.nih.gov/Structure/icn3d/?chainalign=P69905_A,P01942_A,1HHO_A&showalignseq=1&bu=0" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/af-align.png"><br>Align AlphaFold and PDB structures <br>(chains: P69905_A,P01942_A,1HHO_A)
</a>
</div>
<div class="gallery">
<a href="https://www.ncbi.nlm.nih.gov/Structure/icn3d/?mmdbafid=A4D1S0&afmem=on" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/af-mem.png"><br>Membrane for AlphaFold structure <br>(Uniprot ID A4D1S0)
</a>
</div>
<div class="gallery">
<a href="https://www.ncbi.nlm.nih.gov/Structure/icn3d/?refseqid=NP_001743.1" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/ncbi-protein.png"><br>AlphaFold structure with NCBI <br> protein accession (NP_001743.1)
</a>
</div>
<div style="clear:both;"></div>
<br>
<a name="covid19-gallery"></a>
<h3><a href="https://www.ncbi.nlm.nih.gov/structure/?term=covid-19">COVID-19-related</a> gallery with live examples <img src="https://www.ncbi.nlm.nih.gov/Structure/IMG/spacer.gif" width="25" height="1" border="0"><a href="#Top"><img src="https://www.ncbi.nlm.nih.gov/Structure/IMG/arrowup_blue.gif" width="12" height="12" border="0" alt="back to top"></a></h3>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?uKfxQdN5GjHWgDZT7" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/6m0j_2ajf_inter.png"><br>Differential Interaction Analysis for<br>SARS-CoV-2 and SARS-CoV-1 (PDBs 6M0J and 2AJF)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?7HCiMKzwTMnCeE2V8" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/6M0J-N501Y-ZCmBNcB926cawLNf9.png"><br>Alternate Wild Type and Mutant of SNP N501Y<br>in 2019-nCov spike protein (PDB 6M0J)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?7uQHrWYFUBDqPPw69" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/6VSB-fNpzDuUE287SBFtz8.png"><br>Alternate Wild Type and Mutant of SNP D614G<br>in 2019-nCov spike protein (PDB 6VSB)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?RcnHS2h8UMueak5A8" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/6VSB-So5PM9t7PWbzN9JC9.png"><br>Cryo-EM structure of the 2019-nCoV spike <br>in the prefusion conformation (PDB 6VSB)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?Gw1Da9w9jMXkNwMm7" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/6M17-UPU5Fxryc9MbPQsC8.png"><br>2019-nCoV RBD/ACE2-B0AT1<br> complex (PDB 6M17)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?GXrsxjtBeLWCLNkXA" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/6M17-LkGJv5SvRras7ZM77.png"><br>DelPhi Electrostatic Potential (25 mV) of<br>2019-nCoV RBD/ACE2-B0AT1 complex (PDB 6M17)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?pvSYXSfVZSKzapuZA" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/6M0J-pvSYXSfVZSKzapuZA.png"><br>SARS-COV-2 Receptor Binding domain <br>interacting with ACE2 receptor (PDB 6M0J)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?U15Q3ajmYj4rUr6z5" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/6M0J-Jupyter-U15Q3ajmYj4rUr6z5.png"><br>2D interaction map<br>in Jupyter Notebook (PDB 6M0J)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?CuXYgGLCukDeUKnJ6" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/6M0J-CuXYgGLCukDeUKnJ6-linegraph.png"><br>2D interaction network<br>(PDB 6M0J)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?u7gp4xS9rn4hahcLA" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/6M0J-u7gp4xS9rn4hahcLA-linegraph-replay.png"><br>Replay each step of <br>2D interaction graph (PDB 6M0J)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?1CPsLzoer5SpBoNo9" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/6M0J-rK8kQrLYXvG6YqrY6-force.png"><br>2D interaction display, with force on X-axis,<br>at "View > H-Bonds & Interactions > 2D Graph (Force-Directed)" (PDB 6M0J)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?eH1X8fDsQpPBeD1C6" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/6M0J-eH1X8fDsQpPBeD1C6-force-circle.png"><br>2D interaction display, with force on Circle,<br>at "View > H-Bonds & Interactions > 2D Graph (Force-Directed)" (PDB 6M0J)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?SvuVwqxKAKU8Vo6g6" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/6W41-SvuVwqxKAKU8Vo6g6.png"><br>RBD interacting with <br>a patient antibody CR3022 (PDB 6W41)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?aVPWWuptu452W4QJ9" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/6w41_2dd8-s8kydLio6XnziC1L7.png"><br>Comparing two antibodies against SARS-COV-1 vs. SARS-COV-2<br> epitopes on the virus Receptor Binding Domain (PDBs 6W41 and 2DD8)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?gFXswHAPNzu2by8y5" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/6m0j-msa-BKYzBV6KXMvQL7sr9.png"><br>Show Multiple Sequence Alignment<br> as Tracks and Add Custom Color (PDB 6M0J)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?SMcYob1zYvV9V52s8" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/6LU7-zDjCoXuxHE2PK1KMA.png"><br>COVID-19 main protease in complex<br> with an inhibitor N3 (PDB 6LU7)
</a>
</div>
<div style="clear:both;"></div>
<br>
<h3>iCn3D gallery with live examples<span style="font-size:0.7em"> ("iCn3D PNG Images", all images below except the first five snapshots, can be loaded into iCn3D by clicking "Open File > iCn3D PNG Image" in <a href="https://www.ncbi.nlm.nih.gov/Structure/icn3d/" target="_blank">iCn3D File menu</a>)</span> <img src="https://www.ncbi.nlm.nih.gov/Structure/IMG/spacer.gif" width="25" height="1" border="0"><a href="#Top"><img src="https://www.ncbi.nlm.nih.gov/Structure/IMG/arrowup_blue.gif" width="12" height="12" border="0" alt="back to top"></a></h3>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?wUuKpZDbK3Xr79EQ7" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/1TUP-wUuKpZDbK3Xr79EQ7.png"><br>Synchronized 1D, 2D and 3D Displays (PDB 1TUP)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?gVnT" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/1TUP-mobilemenu-gVnT.png"><br>Mobile-style Menus (PDB 1TUP)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?9TZyGV4KtFeM8LfQ7" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/ig-refnum.png"><br>Ig domain detection and Ig reference numbers<br>(PDB 1CD8)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?sVtm2898Ev8j5T9J7" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/lig-protein.png"><br>ligand-protein interaction (PDB 3GVU)
</a>
</div>
<!---div class="gallery">
<a href="https://www.ncbi.nlm.nih.gov/Structure/icn3d/?afid=A0A061AD48&showanno=1" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/A0A061AD48-alphafold.png"><br>Domains of AlphaFold Structures (UniProt ID A0A061AD48)
</a>
</div--->
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?pzmT7EMTAxXKVbZu7" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/1KQ2_cartoon_chain.png"><br>2D Cartoon in the chain level (PDB 1KQ2)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?Arh4H9VTMuHQURY5A" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/6VXX_cartoon_domain.png"><br>2D Cartoon in the domain level (PDB 6VXX)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?5iZSHNbXcJisp7gQ6" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/1TOP_cartoon_secondary.png"><br>2D Cartoon in the secondary structure level (PDB 1TOP)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?WsF6qnqhpQDZFj5M7" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/1KQ2-contact-map.png"><br>Contact Map for Selected Residues (PDB 1KQ2)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?wPoW56e8QnzVfuZw6" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/1HHO-4N7N-wPoW56e8QnzVfuZw6.png"><br>VAST+ Structure Alignment (PDBs 1HHO and 4N7N)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?Mmm82craCwGMAxru9" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/1TSR-align-Mmm82craCwGMAxru9.png"><br>Align Protein NP_001108451.1 to Structure 1TSR (PDB 1TSR)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?AzdRqTaUscB74JSq8" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/2ajf_6w41_side_by_side_h7bBXPkeu71C7GgR8.png"><br>Side-by-Side View (PDBs 2AJF and 6W41)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?ijnf" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/1HHO-4N7N-ijnf.png"><br>Align chain A of PDB 1HHO with chain A of PDB 4N7N
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?inswVgdXMe6EEtXk9" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/1TUP-kQA2.png"><br>Hydrogen Bonds and Zn Interactions (PDB 1TUP)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?nR3yCXUQafgK2qN87" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/3GVU-JR5B.png"><br>Ligand Binding with Fog and Slab (PDB 3GVU)
</a>
</div>
<!--div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?j45sXGcukpPKfL1cA" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/3GVU-j45sXGcukpPKfL1cA.png"><br>Ligand Binding with Two-color Helices (PDB 3GVU)
</a>
</div-->
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?WYqJduJLuyqC4kZFA" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/3GVU-D6LC.png"><br>Ligand Binding with Thinner Coils (PDB 3GVU)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?GyYtGf9gbQsf5ou16" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/3GVU-vzTs.png"><br>Ligand Binding with Surfaces and Labels (PDB 3GVU)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?XCxR6fSTmXHxR3o1A" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/3GVU-XCxR6fSTmXHxR3o1A.png"><br>Ligand Binding with Electrostatic Potentials (PDB 3GVU)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?ead1" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/6jxr-ead1.png"><br>Charged Residues in Transmembrane (PDB 6JXR)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?xj2K" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/6jxr-xj2K.png"><br>TCR-epsilon and TCR-delta Interactions (PDB 6JXR)
</a>
</div>
<div class="gallery">
<a href="https://www.ncbi.nlm.nih.gov/Structure/icn3d/" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/custom_image_icn3d_loadable.png"><br>Custom PDB (load the image in iCn3D)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?17g3r1JDvZ7ZL39e6" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/2kod-17g3r1JDvZ7ZL39e6.png"><br>Multiple Structures (PDB 2KOD, press "a" to alternate)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?gLx2qTdDVySqxcXv7" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/3GVU-gLx2qTdDVySqxcXv7.png"><br>Electron Density Map (PDB 3GVU)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?QpqNZ3k65ToYFvUB6" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/3GVU-ed2-QpqNZ3k65ToYFvUB6.png"><br>Electron Density Map for a Subset (PDB 3GVU)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?yyYxeJSiYbSWRkHCA" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/6ENY-yyYxeJSiYbSWRkHCA.png"><br>EM Density Map (PDB 6ENY)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?L4C4WYE85tYRiFeK7" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/6ENY-em2-L4C4WYE85tYRiFeK7.png"><br>EM Density Map for a Subset (PDB 6ENY)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?bGH1BfLsiGFhhTDn8" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/1KQ2-bGH1BfLsiGFhhTDn8.png"><br>Protein Symmetry (PDB 1KQ2, precalculated)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?6NvhQ45XrnbuXyGe6" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/3HUJ-6NvhQ45XrnbuXyGe6.png"><br>Protein Symmetry (PDB 3HUJ, dynamically using SymD)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?1yydeU3ktdkPyptAA" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/1TUP-1yydeU3ktdkPyptAA.png"><br>3D Printing (PDB 1TUP)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?ypAj" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/1KQ2-ypAj.png"><br>Schematic Style (PDB 1KQ2)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?aYAjP4S3NbrBJX3x6" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/4UN3-o-aYAjP4S3NbrBJX3x6.png"><br>Solid Surface (PDB 4UN3)
</a>
</div>
<!--div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?MT8QssuYbfsSumFHA" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/4UN3-t-MT8QssuYbfsSumFHA.png"><br>Transparent Surface (PDB 4UN3)
</a>
</div-->
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?DFSLHuzN5T8GYdJSA" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/2MLR-DFSLHuzN5T8GYdJSA.png"><br>Lipid Bilayer (PDB 2MLR)
</a>
</div>
<div class="gallery">
<a href="https://www.ncbi.nlm.nih.gov/Structure/icn3d/?mmdbid=1r09&bu=1" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/1R09-ZLxYRrdZTFTg5fuF8.png"><br>Large Structure (PDB 1R09)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?hYJ8dLnLNRYWzvLS7" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/2QZV-iPgmQqMQ6tKNfqvo6.png"><br>Large Structure (PDB 2QZV)
</a>
</div>
<div class="gallery">
<a href="https://www.ncbi.nlm.nih.gov/Structure/icn3d/?mmtfid=3j3q" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/3J3Q-M2koemdfWbewV1ri8.png"><br>Large Structure (PDB 3J3Q)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?e9tDyp13ePPjnvdH6" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/cid2244-all-e9tDyp13ePPjnvdH6.png"><br>Compound with Hydrogens (CID 2244)
</a>
</div>
<div class="gallery">
<a href="https://structure.ncbi.nlm.nih.gov/icn3d/share.html?y4t5iA1YvEoib2517" target="_blank">
<img style="height:300px" src ="https://www.ncbi.nlm.nih.gov/Structure/icn3d/gallery/cid2244-y4t5iA1YvEoib2517.png"><br>Compound without Hydrogens (CID 2244)
</a>
</div>
<div style="clear:both;"></div>
<br>
<span class="anchor" id="Tutorial"></span>
<a name="Tutorial"></a>
<span class="anchor" id="videos"></span>
<a name="videos"></a>
<h3>Videos & Tutorials<img src="https://www.ncbi.nlm.nih.gov/Structure/IMG/spacer.gif" width="25" height="1" border="0"><a href="#Top"><img src="https://www.ncbi.nlm.nih.gov/Structure/IMG/arrowup_blue.gif" width="12" height="12" border="0" alt="back to top"></a></h3>
<ul>
<!--
<li><a href="https://youtu.be/SZsaVj_47AY">iCn3D Tutorial Video (2022)</a>, <a href="https://www.ncbi.nlm.nih.gov/Structure/icn3d/guide/icn3d_tutorial_v4.pptx">Slide</a></li><br>
<li><a href="https://www.ncbi.nlm.nih.gov/Structure/icn3d/guide/iCn3D-tutorial-sep-2022-v4.mp4">iCn3D Tutorial Video (2022)</a>, <a href="https://www.ncbi.nlm.nih.gov/Structure/icn3d/guide/icn3d_tutorial_v4.pptx">Slide</a></li><br>
-->
<li><a href="https://www.ncbi.nlm.nih.gov/Structure/icn3d/guide/iCn3D-tutorial-aug-2023-v5.mp4">iCn3D Tutorial Video (2023)</a>, <a href="https://www.ncbi.nlm.nih.gov/Structure/icn3d/guide/icn3d_tutorial_v5-Aug-2023.pptx">Slide</a></li><br>
<li><a href="https://youtu.be/XvjiK5bOtd0">Virtual Reality (VR) views in iCn3D (2023)</a></li><br>
<li><a href="https://www.youtube.com/watch?v=LTq5hYKv7uk&list=PL7dF9e2qSW0Yqd3ZvvjLha5p1C_f7mnq6&index=24">NCBI Protein and Structure Part 6 of 8: Viewing a Structure with iCn3D</a></li><br>
<!--
<li><a href="https://www.ncbi.nlm.nih.gov/Structure/icn3d/guide/icn3d-vr-202303.mp4">Virtual Reality (VR) views in iCn3D (2023)</a></li><br>
-->
<li><a href="https://www.nlm.nih.gov/ncbi/workshops/2023-03_3d-molecular-structures/workshop-details.html">iCn3D Workshop by NCBI in March 2023</a>, <a href="https://www.nlm.nih.gov/ncbi/workshops/2023-03_3d-molecular-structures/slides/icn3d_workshop-03-23.pdf">Slide</a></li><br>
<li><a href="https://www.nlm.nih.gov/ncbi/workshops/2022-10_3d-molecular-structures/workshop-details.html">iCn3D Workshop by NCBI in October 2022</a>, <a href="https://www.nlm.nih.gov/ncbi/workshops/2022-10_3d-molecular-structures/slides/icn3d_workshop_10-22.pdf">Slide</a></li><br>
<!--
<li><a href="https://youtu.be/qzhuomrJPnI">Virtual Reality (VR) and Augmented Reality (AR) views in iCn3D (2022)</a></li><br>
<li><a href="https://youtu.be/vfawu0qrNTA">Exploring 3D Molecular Structures with iCn3D, by Dr. Salsbury in July 2022</a>, <a href="https://www.ncbi.nlm.nih.gov/Structure/icn3d/guide/alexa_ismb_2022.pdf">Slide</a></li><br>
<li><a href="https://youtu.be/Rai-0pWusP8">iCn3D in Teaching and OERs, by Dr. Jakubowski in July 2022</a>, <a href="https://www.ncbi.nlm.nih.gov/Structure/icn3d/guide/henry_ismb_2022.pptx">Slide</a></li><br>
<li><a href="https://www.youtube.com/watch?v=QCSNqwgp2xo">iCn3D Tutorial by Dr. Jakubowski in July 2021</a>, <a href="https://www.ncbi.nlm.nih.gov/Structure/icn3d/guide/iCn3D_Tutorial_by_Jakubowski_072121.pdf">Slide</a></li><br>
<li><a href="https://www.youtube.com/watch?v=Mj77EFgAAQM&list=PLSAXB_etwzD824Q8TMqWPHOUv5z8gIcs5&index=8">iCn3D Tutorials by Digital World Biology (2021-)</a></li><br>
<li><a href="https://www.youtube.com/watch?v=7GGw4S9tE9E">iCn3D Tutorial by BioMolViz Group (2021)</a></li>
-->
<li style="font-size:1.5em"><a href="https://bio.libretexts.org/Bookshelves/Biochemistry/Fundamentals_of_Biochemistry_(Jakubowski_and_Flatt)/Fundamentals_of_Biochemistry_Vol._V_-_Problems/iCn3D_Molecular_Modeling_Tutorials">iCn3D Tutorials at bio.libretexts.org by Henry Jakubowski: </a> <button onclick="document.getElementById('henry_tutorial').src = document.getElementById('henry_tutorial').src">Refresh Tutorial</button><br><br>
<iframe id='henry_tutorial' allowFullScreen='true' src='https://bio.libretexts.org/Bookshelves/Biochemistry/Fundamentals_of_Biochemistry_(Jakubowski_and_Flatt)/Fundamentals_of_Biochemistry_Vol._V_-_Problems/iCn3D_Molecular_Modeling_Tutorials' width='100%' height='100%' style='min-height: 1000px' style='border:none'></iframe>
</li><br>
</ul>
<span class="anchor" id="faq"></span>
<a name="faq"></a>
<h3>Frequently Asked Questions<img src="https://www.ncbi.nlm.nih.gov/Structure/IMG/spacer.gif" width="25" height="1" border="0"><a href="#Top"><img src="https://www.ncbi.nlm.nih.gov/Structure/IMG/arrowup_blue.gif" width="12" height="12" border="0" alt="back to top"></a></h3>
<ul>
<li><span class="anchor" id="viewstru"></span><a name="viewstru"></a><b>Q: How to view a 3D structure in iCn3D?</b><br>
You can use iCn3D to view a 3D structure in different platforms such as web browser, Jupyter Notebook, Virtual Reality, or Augmented Reality.<br>
<br>
To view in a web browser, you can open the link <a href="https://structure.ncbi.nlm.nih.gov/icn3d">https://structure.ncbi.nlm.nih.gov/icn3d</a> and input PDB ID(s) or AlphaFold UniProt ID(s) with the menu "File > Retrieve by ID > MMDB or AlphaFold IDs". You can also open several PDB files with the menu "File > Open File > PDB Files (appendable)".<br>
<br>
To view 3D structures in Jupyter Notebook, you can follow the instructions at <a href="https://pypi.org/project/icn3dpy/" target="_blank">icn3dpy</a>.<br>
<br>
<span class="anchor" id="vr"></span><a name="vr"></a><b>Virtual Reality (VR) view in iCn3D:</b><br>
You need a VR headset to view 3D structures in VR using iCn3D. In your VR browser, load a 3D structure in iCn3D and click the button "ENTER VR" at the bottom center of the page to enter the VR view.<br>
<br>
You can select residues with the trigger button, open the menu with the squeeze button and click menus with the trigger, navigate with the thumbstick pressed forward/backward and press the trigger. The menu contains options for selection, style, color, and interaction analysis, etc.<br>
<br>
<span class="anchor" id="ar"></span><a name="ar"></a><b>Augmented Reality (AR) view in iCn3D:</b><br>
You need to use the Chrome browser in an Android cell phone (not iPhone) to view 3D structures in AR using iCn3D. (Some cell phones may require you to install ARCore.) In your iCn3D view, click the button "START AR" at the bottom center of the page to enter the AR view.<br>
<br>
You can tap twice quickly on the screen to locate a minimized 3D structure in your tapped location, and pinch to scale the 3D structure.<br>
<br>
</li>
<li><span class="anchor" id="tfstru"></span><a name="tfstru"></a><a name="HowToUseStep4"></a><b>Q: How to Rotate/translate/zoom structures in iCn3D?</b>
<ul>
<li>Rotate
<ul>
<li>Left mouse (Click & Drag)</li>
<li>Key L: left</li>
<li>Key J: right</li>
<li>Key I: up</li>
<li>Key M: down</li>
<li>Shift + Key L: left 90°</li>
<li>Shift + Key J: right 90°</li>
<li>Shift + Key I: up 90°</li>
<li>Shift + Key M: down 90°</li>
</ul>
</li>
<li>Zoom
<ul>
<li>Middle mouse (Pinch & Spread)</li>
<li>Key Z: zoom in</li>
<li>Key X: zoom out</li>
</ul>
</li>
<li>Translate
<ul>
<li>Right mouse (Two Finger Click & Drag)</li>
</ul>
</li>
</ul>
<br>
</li>
<li><span class="anchor" id="selsubset"></span><a name="selsubset"></a><a name="HowToUseStep5"></a><b>Q: How to select a subset of structures?</b><br>
You can select a subset in 3D structures, 2D interactions, or 1D sequences.<br>
<br>
<div>To pick an atom/residue/strand in the 3D structure, hold "Alt" key and use mouse to pick. Click the second time to deselect. To add more selection to the current selection, hold "Ctrl" key and use mouse to pick. To add a range of selection starting from the current selection, hold "Shift" key and use mouse to pick the ending selection. To change the selected residue to the strand/chain/structure containing the residue, press the up/down arrow. <br/>
<br/>
To select chains or interactions in the 2D interactions diagram, click on the nodes or lines. The nodes are chains and can be united with the Ctrl key. The lines are interactions and can NOT be united. Each click on the lines selects half of the lines, i.e., select the interacting residues in one of the two chains. The selected residues are saved in the "Select -> Advanced" menu.<br/>
<br/>
To select residues in the 1D sequence window, drag with mouse or touch to select residues. Drag or touch again to deselect residues. Multiple selection is allowed without the Ctrl key.<br/>
<br/>
To save the current selection (either on 3D structure, 2D interactions, or 1D sequence), open the menu "Select -> Save Selection", specify the name and description for the selection, and click "Save".
</div>
<br>
</li>
<li><span class="anchor" id="changestylecolor"></span><a name="changestylecolor"></a><b>Q: How to change style and color?</b><br>
You can use the "Style" menu to change the styles for your currently selected atoms. You can also use it to show surfaces, or change the background color.<br>
<br>
You can use the "Color" menu to color your currently selected atoms.<br>
<br>
It's important to remember that any operations on color, style, etc. are working on the current selection. By default, all atoms are selected. Once you select any subset, your operation will work ONLY on the subset. You can switch the selection using the toggle next to the Help menu.<br>
<br>
</li>
<li><span class="anchor" id="saveview"></span><a name="saveview"></a><b>Q: How to save your work?</b><br>
There are two ways to save your work: "iCn3D PNG Image" or "Share Link".<br>
<br>
You can save "iCn3D PNG Image" in the menu "File > Save Files". Both the PNG file and an HTML file are saved. Click the HTML file to see the PNG image, which is linked to the custom display via a shorten URL. The downloaded "iCn3D PNG Image" itself can also be used as an input in the menu "File > Open File" to reproduce the custom display. You can combine these HTML files to generate your own galleries.<br>
<br>
The "iCn3D PNG Image" can also be stored in a web server with access control (CORS) set as allowing any origin. The PNG image can then be loaded into iCn3D via the URL, e.g., <a href="https://www.ncbi.nlm.nih.gov/Structure/icn3d/?type=icn3dpng&url=https://api.figshare.com/v2/file/download/39125801" target="_blank">https://www.ncbi.nlm.nih.gov/Structure/icn3d/?type=icn3dpng&url=https://api.figshare.com/v2/file/download/39125801</a>, or <a href="https://www.ncbi.nlm.nih.gov/Structure/icn3d/?type=icn3dpng&url=https://zenodo.org/api/files/1a3325c8-0c84-4f1e-be2c-c143b08c6563/3GVU-XCxR6fSTmXHxR3o1A.png" target="_blank">https://www.ncbi.nlm.nih.gov/Structure/icn3d/?type=icn3dpng&url=https://zenodo.org/api/files/1a3325c8-0c84-4f1e-be2c-c143b08c6563/3GVU-XCxR6fSTmXHxR3o1A.png</a>. <br>
<br>
You can also save "Share Link" in "File" menu to share with your colleagues. These URLs are lifelong. You can click "Replay Each Step > On" in "File" menu to learn how a custom display was generated.<br>
<br>
All "Share Link" URLs can show the original view using the archived version of iCn3D by clicking "Open File > Share Link in Archived Ver." in "File" menu.<br>
<br>
</li>
<li><span class="anchor" id="showanno"></span><a name="showanno"></a><b>Q: How to show annotations?</b><br>
You can show annotations by clicking the menu "Analysis > Seq. & Annotations". The annotations include "SNPs", "ClinVar", "Conserved Domains", "Functional Sites", "3D Domains", "Interactions", "Disulfide Bonds", "Cross-Linkages", and "PTM (UniProt)". You can also add your own annotations with the button "Add Tack".<br>
<br>
<a name="HowToUseStep7"></a><b>Turn on scroll bars in Mac:</b><br>
<div>If you are using Macintosh computer and need to scroll in the sequences/annotations dialog, you can turn on the scroll bars as follows: Systems preferences -> GENERAL -> show scroll bars -> check "always".
</div>
<br>
</li>
<li><span class="anchor" id="exportanno"></span><a name="exportanno"></a><b>Q: How to export annotations?</b><br>
There are three ways to export annotations.<br>
<br>
First, you can save the annotations in an HTML file by clicking the save icon at the upper right corner of the dialog.<br>
<br>
Second, you can retrieve the annotations using the Node.js script <a href="https://github.com/ncbi/icn3d/tree/master/icn3dnode/annotations.js">annotations.js</a>. The description is at <a href="https://github.com/ncbi/icn3d/tree/master/icn3dnode/">icn3dnode</a>". For example, you can use the following command to retrieve Post Translational Modification (PTM) annotation for the AlphaFold UniProt ID Q08426: "node annotations.js Q08426 9".<br>
<br>
Third, you can retrieve the annotations using the Python script <a href="https://github.com/ncbi/icn3d/tree/master/icn3dpython/icn3d_url/batch_export_panel.py">batch_export_panel.py</a>. The description is at <a href="https://github.com/ncbi/icn3d/tree/master/icn3dpython/icn3d_url">icn3dpython</a>.<br>
<br>
</li>
<li><span class="anchor" id="interanalysis"></span><a name="interanalysis"></a><b>Q: How to do interactions analysis?</b><br>
Once you load structures into iCn3D, you can click the menu "Analysis > Interactions" to analyze the interactions between any two sets. <br>
<br>
First, you need to define your interested interaction types and their thresholds in the Interactions dialog. Then select two sets. You can check the section <a href="#selsubset">"Select Subsets"</a> to define sets. Finally you can show the interactions in different formats, such as "2D Interaction Network", "2D Interaction Map", etc. If you want to clear the current interaction and try a different interaction analysis, you can click the "Reset" button at the bottom of the Interactions dialog.<br>
<br>
</li>
<li><span class="anchor" id="mutationanalysis"></span><a name="mutationanalysis"></a><b>Q: How to do mutation analysis ?</b><br>
You can start the mutation analysis by clicking the menu "Analysis > Mutation". First you need to define the mutation(s) in the format of "[PDB or AlphaFold ID]_[chain Name]_[residue number]_[Mutant residue in one letter]". Then you can choose whether the ID is PDB ID or AlphaFold UniProt ID. <br>
<br>
Next, if you have not loaded a structure yet, you can choose "Show Mutation in New Page" to launch the mutation analysis.<br>
<br>
If you have already loaded a structure, you can choose "Show Mutation in Current Page". Your loaded structure may come from a custom PDB file without a PDB/AlphaFold ID. You can replace "[PDB or AlphaFold ID]" with the real ID such as "STRU" as shown in the "Defined Sets" by clicking the menu "Analysis > Defined Sets".<br>
<br>
Mutation Analysis can be done only for one structure. If you want to check the effect of mutations between different structures, you can output the current structures as a PDB file, modify the PDB file to have one structure, load the modified PDB, and do mutation analysis on the modified PDB.<br>
<br>
</li>
<li><span class="anchor" id="elecpot"></span><a name="elecpot"></a><b>Q: How to show electrostatic potential?</b><br>
Once you load structures into iCn3D, you can click the menu "Analysis > DelPhi Potential" to show DelPhi electrostatic potential. You can show the potentials on molecular surface, or as equipotential map. You can define the salt concentration and grid size. The pH is set at 7.0.<br>
<br>
You can also output a PQR file for your structures. The PQR file contains the partial charges and radii information.<br>
<br>
</li>
<li><span class="anchor" id="simivast"></span><a name="simivast"></a><b>Q: How to find similar PDB structures?</b><br>
If you want to find similar PDB structures for an input structure with multiple chains, you can click the menu "File > Search Similar > NCBI VAST+ (PDB Assembly)", input a PDB ID, then click the button "VAST+" to get a list of similar structures. You can expand each similar structure for more details.<br>
<br>
If you want to find similar PDB chains for an input chain, you can click the menu "File > Search Similar > NCBI VAST (PDB)" to get a popup with two options for the input. The first input option is a PDB chain. You can input the PDB ID and the chain name, then click "VAST" to get a list of similar chains. You can select a few chains to view the alignment in iCn3D. The second input option is a custom PDB file. You can select the PDB file and click "Submit" to launch a VAST neighbor search. The search result shows a list of similar chains. You can select a few chains and show the alignment in iCn3D. (The search result will be accessible only for a week. But you can save your alignment in iCn3D permanently using the menu "File > Save File > iCn3D PNG Image". The saved "iCn3D PNG Image" can be loaded back to iCn3D with the menu "File > Open File > iCn3D PNG Image".)<br>
<br>
</li>
<li><span class="anchor" id="simifoldseek"></span><a name="simifoldseek"></a><b>Q: How to find similar AlphaFold or PDB structures?</b><br>
If you want to find similar predicted AlphaFold structures, you can click the menu "File > Search Similar > Foldseek (PDB & AlphaFold)", and click the "Foldseek" link in the popup to search similar structures in <a href="https://search.foldseek.com/">Foldseek</a>. If you want to view the alignment of Foldseek in iCn3D, you can input the UniProt IDs or chain names in the popup and align them.<br>
<br>
</li>
<li><span class="anchor" id="alignmul"></span><a name="alignmul"></a><b>Q: How to align multiple structures?</b><br>
To align multiple structures with PDB IDs or AlphaFold UniProt IDs, you can use the menu "File > Align > Multiple Chains". You can choose to align them by structure alignment, sequence alignment, or residue by residue.<br>
<br>
To align multiple structures loaded from custom PDB files, you can use the menu "File > Realign Selection". You can also choose to align them by structure alignment, sequence alignment, or residue by residue.<br>
<br>
</li>
<li><span class="anchor" id="batchanalysis"></span><a name="batchanalysis"></a><b>Q: How to analyze many structures with scripts?</b><br>
You can use either Node.js scripts or Python scripts to do batch analysis in command line.<br>
<br>
You can use Node.js scripts to retrieve any data in iCn3D, even those unavailable in the UI. Some example scripts are listed at <a href="https://github.com/ncbi/icn3d/tree/master/icn3dnode/">icn3dnode</a>" to retrieve annotations, interactions, electrostatic potentials, and surface areas, etc. For example, you can use the following command to retrieve the residues interacting with the ligand "JFM" in the structure with PDB ID 5R7Y: "node ligand.js 5R7Y JFM".<br>
<br>
You can also use Python scripts to retrieve data in the UI. Some example scripts are at <a href="https://github.com/ncbi/icn3d/tree/master/icn3dpython/icn3d_url">icn3dpython</a> to retrieve secondary structures, iCn3D PNG Images, JSON data for interactions, etc.<br>
<br>
</li>
<li><span class="anchor" id="igrefnum"></span><a name="igrefnum"></a><b>Q: How to use iCn3D to assign Ig reference numbers?</b><br>
iCn3D provides an automatic way to detect Ig domains and assign "IgStrand" reference numbers for all residues so that users can cross-compare residues in different Ig domains using the reference numbers.<br>
<br>
A list of about 55 Ig templates are used to align the input structure using TM-align. The template with the highest TM-score is selected as the template to assign the reference numbers for each strand in the Ig domain. Different from Kabat and IMGT reference numbers for Ig domains, "IgStrand" reference numbers are similar to GPCR reference numbers. An anchor residue in each strand is assigned a 4-digit number ##50. For example, the refernce number 1550 is the anchor residue for "A" strand. The residues before and after the anchor residue are assigned as continuous numbers: ##48, ##49, and ##51, ##52, respectively. Each strand has a predefined color so that users can easily tell the strands from the color. See the manuscript <a href="https://www.biorxiv.org/content/10.1101/2024.06.10.598201v1">A universal residue numbering scheme for the Immunoglobulin-fold (Ig-fold) to study Ig-Proteomes and Ig-Interactomes</a> for more details.<br>
<br>
You can assign IgStrand reference numbers via the menu "Analysis > Ref. Number > Show Ig for Selection", or via the menu "Analysis > Seq. & Annotations" and click the checkbox "Ig Domains" in the "Annotations" section. The reference numbers can be exported via the menu "File > Save File > Reference Numbers".<br>
<br>
If you want to process a list of structures, you can download iCn3D Node.js script "refnum.js" at https://github.com/ncbi/icn3d/tree/master/icn3dnode. This script runs TM-align locally using the program at https://github.com/ncbi/icn3d/tree/master/icn3dnode/tmalign-icn3dnode and the templates at https://github.com/ncbi/icn3d/tree/master/icn3dnode/refpdb. One example is listed at the section “Detect Ig domains and assign IgStrand reference numbers” at https://github.com/ncbi/icn3d/tree/master/icn3dnode.<br>
<br>
</li>
<li><span class="anchor" id="embedicn3d"></span><a name="embedicn3d"></a><b>Q: How to embed iCn3D?</b><br>
You can follow the instruction <a href="https://www.ncbi.nlm.nih.gov/Structure/icn3d/icn3d.html#HowToUse" target="_blank">here</a>.
<br>
</li>
</ul>
<span class="anchor" id="parameters"></span>
<a name="parameters"></a>
<h3>URL parameters<img src="https://www.ncbi.nlm.nih.gov/Structure/IMG/spacer.gif" width="25" height="1" border="0"><a href="#Top"><img src="https://www.ncbi.nlm.nih.gov/Structure/IMG/arrowup_blue.gif" width="12" height="12" border="0" alt="back to top"></a></h3>
<table><tr valign='top'><th>Parameter</th><th>Description</th></tr>
<tr valign='top'><td>mmdbafid</td><td>A list of PDB or AlphaFold UniProt IDs for realignment, e.g., <a href="https://www.ncbi.nlm.nih.gov/Structure/icn3d/?mmdbafid=1HHO,4N7N,P69905,P01942">https://www.ncbi.nlm.nih.gov/Structure/icn3d/?mmdbafid=1HHO,4N7N,P69905,P01942</a>. You could then input multiple PDB files with the menu "File > Open File > PDB Files (appendable)". Next you could click the menu "File > Realign Selection > by Structure Alignment" to realign all loaded structures.</td></tr>
<tr valign='top'><td>mmdbid</td><td>NCBI MMDB ID or PDB ID, e.g., <a href="?mmdbid=1tup&showanno=1&show2d=1">?mmdbid=1tup&showanno=1&show2d=1</a></td></tr>
<tr valign='top'><td>mmtfid</td><td>MMTF ID, e.g., <a href="?mmtfid=1tup">?mmtfid=1tup</a></td></tr>
<tr valign='top'><td>pdbid</td><td>PDB ID, e.g., <a href="?pdbid=1tup">?pdbid=1tup</a></td></tr>
<tr valign='top'><td>mmcifid</td><td>mmCIF ID, e.g., <a href="?mmcifid=1tup">?mmcifid=1tup</a></td></tr>
<tr valign='top'><td>gi</td><td>NCBI protein gi number, e.g., <a href="?gi=827343227">?gi=827343227</a></td></tr>
<tr valign='top'><td>cid</td><td>PubChem Compound ID, e.g., <a href="?cid=2244">?cid=2244</a></td></tr>
<tr valign='top'><td>blast_rep_id</td><td>NCBI protein accession of a chain of a 3D structure. "blast_rep_id" combines with the parameter "query_id" of a protein sequence to show the sequence-structure alignment, e.g., <a href="?from=icn3d&blast_rep_id=1TSR_A&query_id=NP_001108451.1">from=icn3d&blast_rep_id=1TSR_A&query_id=NP_001108451.1</a></td></tr>
<tr valign='top'><td>align</td><td>Two PDB IDs or MMDB IDs for structure alignment, e.g., <a href="?align=1hho,4n7n">?align=1hho,4n7n</a></td></tr>
<tr valign='top'><td>chainalign</td><td>Two chains for structure alignment, e.g., <a href="?chainalign=1HHO_A,4N7N_A">?chainalign=1HHO_A,4N7N_A</a></td></tr>
<tr valign='top'><td>url</td><td>Use the url (encoded) to retrieve the 3D structure. The url requires another parameter "type", e.g., <a href="?type=pdb&url=https%3A%2F%2Ffiles.rcsb.org%2Fview%2F1gpk.pdb">?type=pdb&url=https%3A%2F%2Ffiles.rcsb.org%2Fview%2F1gpk.pdb</a></td></tr>
<tr valign='top'><td>width</td><td>Width of the structure image. It can be percentage such as '100%', or pixel values such as 400. The default is "100%".</td></tr>
<tr valign='top'><td>height</td><td>Height of the structure image. It can be percentage such as '100%', or pixel values such as 400. The default is "100%".</td></tr>
<tr valign='top'><td>resize</td><td>Set "true" or "1" to resize the image when the container is resized. The default is "true".</td></tr>
<tr valign='top'><td>rotate</td><td>Set "right", "left", "up", or "down" to rotate the structure when it is displayed at the beginning. The default is "right".</td></tr>
<tr valign='top'><td>showanno</td><td>Set "true" or "1" to show annotations, such as SNPs, ClinVar, domains, binding sites. The default is "false".</td></tr>
<tr valign='top'><td>showalignseq</td><td>Set "true" or "1" to show the aligned sequence window. The default is "false".</td></tr>
<tr valign='top'><td>showsets</td><td>Set "true" or "1" to show the defined sets. The default is "false".</td></tr>
<tr valign='top'><td>show2d</td><td>Set "true" or "1" to show the 2D interaction. The default is "false".</td></tr>
<tr valign='top'><td>showmenu</td><td>Set "false" or "0" to hide the menus and buttons at the top of the structure canvas. The default is "true".</td></tr>
<tr valign='top'><td>showtitle</td><td>Set "false" or "0" to hide the title at the top of the structure canvas. The default is "true".</td></tr>
<tr valign='top'><td>showcommand</td><td>Set "false" or "0" to hide the command window. The default is "true".</td></tr>
<!--tr valign='top'><td>simplemenu</td><td>Set "true" or "1" to show some basic menus with many advanced ones hidden to simplify the UI. The default is "false".</td></tr-->
<tr valign='top'><td>mobilemenu</td><td>Set "true" or "1" to show the mobile-style menu. Users can click to see all menus. The default is "false".</td></tr>
<tr valign='top'><td>imageonly</td><td>Set "true" or "1" to show an image instead of interactive 3D viewer. The default is "false".</td></tr>
<tr valign='top'><td>closepopup</td><td>Set "true" or "1" to close the dialogs of "Defined Sets", "Interactions", and "Sequences and Annotations". The default is "false".</td></tr>
<tr valign='top'><td><a name="commandsUrl"></a>command</td><td>Besides the "Script/Log" section at the bottom of the canvas, commands can also be attached to the url parameter "command". The easy way to generate the commands is to operate manually to get your custom display and then click "File > Share Link" to find the URL with full commands or just the short URL.</td></tr>
<tr valign='top'><td>replay</td><td>Set "true" or "1" to replay each step of a custom display.</td></tr>
<tr valign='top'><td>usepdbnum</td><td>Set "true" or "1" to use PDB residue numbers instead of NCBI residue numbers when the input is MMDB ID and the residue numbers are different. The default is "true".</td></tr>
<tr valign='top'><td>hidelicense</td><td>Set "true" or "1" to hide the features requiring licenses, such as "Analysis > DelPhi Potential". The default is "false".</td></tr>
<tr valign='top'><td>shownote</td><td>Set "true" or "1" to show the content in "Analysis > Window Title" as the window title. The default is "false".</td></tr>
<tr valign='top'><td>menuicon</td><td>Set "true" or "1" to show icons for those menus requiring internet or license. The default is "false".</td></tr>
</table>
<span class="anchor" id="commands"></span>
<a name="commands"></a>
<h3>Menus, Commands, and Functions of the advanced interface<img src="https://www.ncbi.nlm.nih.gov/Structure/IMG/spacer.gif" width="25" height="1" border="0">
<a href="#Top"><img src="https://www.ncbi.nlm.nih.gov/Structure/IMG/arrowup_blue.gif" width="12" height="12" border="0" alt="back to top"></a>
</h3>
To find icn3d commands and functions, you can first generate a custom view in iCn3D interactively. Then you can click the menu "File > Share Link" to see the commands in the section "Original URL with commands". Most commands are processed with functions in the file "src/icn3d/selection/applyCommand.js". Other commands with asynchronized retrieval are processed with functions in the file "src/icn3d/selection/loadScript.js".<br><br>
<a name="file"></a><b>1. File</b> <a href="#Top"><span class="top"> </span></a><br>
<table width='100%'>
<tr>
<td valign='top' width='30%'><b>Menu</b></td>
<td valign='top' width='40%'><b>Command</b></td>
<td valign='top'><b>Function</b></td>
</tr>
<tbody>
<tr>
<td colspan="3">a) Retrieve by ID</td>
</tr>
<tr>
<td valign='top'><span class="indent">MMDB ID:</span></td>
<td valign='top'>load mmdb0 [1GPK]</td>
<td valign='top'>ic.mmdbParserCls.downloadMmdb</td>
</tr>
<tr>
<td width="240"><span class="indent">Binary CIF ID:</span></td>
<td valign='top'>load bcif [1GPK]</td>
<td valign='top'>ic.bcifParserCls.downloadBcif</td>
</tr>
<tr>