1cbs.mvsj 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. {
  2. "metadata": {
  3. "title": "Example MolViewSpec - 1cbs with labelled protein and ligand",
  4. "version": "1",
  5. "timestamp": "2023-11-24T10:38:17.483Z"
  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. "beg_label_seq_id": 1,
  52. "end_label_seq_id": 50
  53. },
  54. "color": "#6688ff"
  55. }
  56. }
  57. ]
  58. },
  59. {
  60. "kind": "label",
  61. "params": {
  62. "text": "Protein"
  63. }
  64. }
  65. ]
  66. },
  67. {
  68. "kind": "component",
  69. "params": {
  70. "selector": "ligand"
  71. },
  72. "children": [
  73. {
  74. "kind": "representation",
  75. "params": {
  76. "type": "ball_and_stick"
  77. },
  78. "children": [
  79. {
  80. "kind": "color",
  81. "params": {
  82. "color": "#cc3399"
  83. }
  84. }
  85. ]
  86. },
  87. {
  88. "kind": "label",
  89. "params": {
  90. "text": "Retinoic Acid"
  91. }
  92. }
  93. ]
  94. }
  95. ]
  96. }
  97. ]
  98. }
  99. ]
  100. },
  101. {
  102. "kind": "canvas",
  103. "params": {
  104. "background_color": "#ffffee"
  105. }
  106. },
  107. {
  108. "kind": "camera",
  109. "params": {
  110. "target": [17, 21, 27],
  111. "position": [41, 34, 69],
  112. "up": [-0.129,0.966,-0.224]
  113. }
  114. }
  115. ]
  116. }
  117. }