1cbs-focus.mvsj 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. {
  2. "metadata": {
  3. "title": "Example MolViewSpec - 1cbs with labelled and zoomed ligand",
  4. "version": "1",
  5. "timestamp": "2023-11-24T10:45:49.873Z"
  6. },
  7. "root": {
  8. "kind": "root",
  9. "children": [
  10. {
  11. "kind": "download",
  12. "params": {
  13. "url": "https://www.ebi.ac.uk/pdbe/entry-files/1cbs.bcif"
  14. },
  15. "children": [
  16. {
  17. "kind": "parse",
  18. "params": {
  19. "format": "bcif"
  20. },
  21. "children": [
  22. {
  23. "kind": "structure",
  24. "params": {
  25. "type": "model"
  26. },
  27. "children": [
  28. {
  29. "kind": "component",
  30. "params": {
  31. "selector": "polymer"
  32. },
  33. "children": [
  34. {
  35. "kind": "representation",
  36. "params": {
  37. "type": "cartoon"
  38. },
  39. "children": [
  40. {
  41. "kind": "color",
  42. "params": {
  43. "color": "green"
  44. }
  45. },
  46. {
  47. "kind": "color",
  48. "params": {
  49. "selector": {
  50. "label_asym_id": "A",
  51. "end_label_seq_id": 50
  52. },
  53. "color": "#6688ff"
  54. }
  55. }
  56. ]
  57. },
  58. {
  59. "kind": "label",
  60. "params": {
  61. "text": "Protein"
  62. }
  63. }
  64. ]
  65. },
  66. {
  67. "kind": "component",
  68. "params": {
  69. "selector": "ligand"
  70. },
  71. "children": [
  72. {
  73. "kind": "focus",
  74. "params": {
  75. "direction": [0.5, 0, -1],
  76. "up": [0.365, 0.913, 0.183]
  77. }
  78. },
  79. {
  80. "kind": "representation",
  81. "params": {
  82. "type": "ball_and_stick"
  83. },
  84. "children": [
  85. {
  86. "kind": "color",
  87. "params": {
  88. "color": "#cc3399"
  89. }
  90. }
  91. ]
  92. },
  93. {
  94. "kind": "label",
  95. "params": {
  96. "text": "Retinoic Acid"
  97. }
  98. }
  99. ]
  100. }
  101. ]
  102. }
  103. ]
  104. }
  105. ]
  106. },
  107. {
  108. "kind": "canvas",
  109. "params": {
  110. "background_color": "#ffffee"
  111. }
  112. }
  113. ]
  114. }
  115. }