1h9t_domain_colors.mvsj 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {
  2. "metadata": {
  3. "title": "Example MolViewSpec - 1h9t colored by external annotation",
  4. "version": "1",
  5. "timestamp": "2023-11-24T10:47:33.182Z"
  6. },
  7. "root": {
  8. "kind": "root",
  9. "children": [
  10. {
  11. "kind": "download",
  12. "params": {
  13. "url": "https://www.ebi.ac.uk/pdbe/entry-files/1h9t.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. "selector": "all",
  44. "color": "white"
  45. }
  46. },
  47. {
  48. "kind": "color_from_uri",
  49. "params": {
  50. "uri": "./1h9t_domains.json",
  51. "format": "json",
  52. "schema": "all_atomic"
  53. }
  54. }
  55. ]
  56. }
  57. ]
  58. }
  59. ]
  60. }
  61. ]
  62. }
  63. ]
  64. }
  65. ]
  66. }
  67. }