1h9t_domain_labels.mvsj 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583
  1. {
  2. "metadata": {
  3. "title": "Example MolViewSpec - 1h9t colored and labelled by external annotation",
  4. "version": "1",
  5. "timestamp": "2023-11-24T10:48:28.677Z"
  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": "protein"
  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. "kind": "component",
  61. "params": {
  62. "selector": "nucleic"
  63. },
  64. "children": [
  65. {
  66. "kind": "representation",
  67. "params": {
  68. "type": "ball_and_stick"
  69. },
  70. "children": [
  71. {
  72. "kind": "color",
  73. "params": {
  74. "selector": "all",
  75. "color": "white"
  76. }
  77. },
  78. {
  79. "kind": "color_from_uri",
  80. "params": {
  81. "uri": "./1h9t_domains.json",
  82. "format": "json",
  83. "schema": "all_atomic"
  84. }
  85. }
  86. ]
  87. }
  88. ]
  89. },
  90. {
  91. "kind": "component",
  92. "params": {
  93. "selector": "ion"
  94. },
  95. "children": [
  96. {
  97. "kind": "representation",
  98. "params": {
  99. "type": "surface"
  100. },
  101. "children": [
  102. {
  103. "kind": "color_from_uri",
  104. "params": {
  105. "uri": "./1h9t_domains.json",
  106. "format": "json",
  107. "schema": "all_atomic"
  108. }
  109. }
  110. ]
  111. }
  112. ]
  113. },
  114. {
  115. "kind": "component",
  116. "params": {
  117. "selector": {
  118. "label_asym_id": "A",
  119. "beg_label_seq_id": 9,
  120. "end_label_seq_id": 83
  121. }
  122. },
  123. "children": [
  124. {
  125. "kind": "label",
  126. "params": {
  127. "text": "DNA-binding"
  128. }
  129. }
  130. ]
  131. },
  132. {
  133. "kind": "component",
  134. "params": {
  135. "selector": {
  136. "label_asym_id": "B",
  137. "beg_label_seq_id": 9,
  138. "end_label_seq_id": 83
  139. }
  140. },
  141. "children": [
  142. {
  143. "kind": "label",
  144. "params": {
  145. "text": "DNA-binding"
  146. }
  147. }
  148. ]
  149. },
  150. {
  151. "kind": "component",
  152. "params": {
  153. "selector": {
  154. "label_asym_id": "A",
  155. "beg_label_seq_id": 84,
  156. "end_label_seq_id": 231
  157. }
  158. },
  159. "children": [
  160. {
  161. "kind": "label",
  162. "params": {
  163. "text": "Acyl-CoA\nbinding"
  164. }
  165. }
  166. ]
  167. },
  168. {
  169. "kind": "component",
  170. "params": {
  171. "selector": {
  172. "label_asym_id": "B",
  173. "beg_label_seq_id": 84,
  174. "end_label_seq_id": 231
  175. }
  176. },
  177. "children": [
  178. {
  179. "kind": "label",
  180. "params": {
  181. "text": "Acyl-CoA binding"
  182. }
  183. }
  184. ]
  185. },
  186. {
  187. "kind": "component",
  188. "params": {
  189. "selector": {
  190. "label_asym_id": "C"
  191. }
  192. },
  193. "children": [
  194. {
  195. "kind": "label",
  196. "params": {
  197. "text": "DNA X"
  198. }
  199. }
  200. ]
  201. },
  202. {
  203. "kind": "component",
  204. "params": {
  205. "selector": {
  206. "label_asym_id": "D"
  207. }
  208. },
  209. "children": [
  210. {
  211. "kind": "label",
  212. "params": {
  213. "text": "DNA Y"
  214. }
  215. }
  216. ]
  217. },
  218. {
  219. "kind": "component",
  220. "params": {
  221. "selector": {
  222. "label_asym_id": "D",
  223. "atom_id": 4016
  224. }
  225. },
  226. "children": [
  227. {
  228. "kind": "label",
  229. "params": {
  230. "text": "DNA Y O5'"
  231. }
  232. }
  233. ]
  234. },
  235. {
  236. "kind": "component",
  237. "params": {
  238. "selector": {
  239. "label_asym_id": "D",
  240. "atom_id": 4391
  241. }
  242. },
  243. "children": [
  244. {
  245. "kind": "label",
  246. "params": {
  247. "text": "DNA Y O3'"
  248. }
  249. }
  250. ]
  251. },
  252. {
  253. "kind": "component",
  254. "params": {
  255. "selector": {
  256. "label_asym_id": "E"
  257. }
  258. },
  259. "children": [
  260. {
  261. "kind": "label",
  262. "params": {
  263. "text": "Gold"
  264. }
  265. }
  266. ]
  267. },
  268. {
  269. "kind": "component",
  270. "params": {
  271. "selector": {
  272. "label_asym_id": "H"
  273. }
  274. },
  275. "children": [
  276. {
  277. "kind": "label",
  278. "params": {
  279. "text": "Gold"
  280. }
  281. }
  282. ]
  283. },
  284. {
  285. "kind": "component",
  286. "params": {
  287. "selector": {
  288. "label_asym_id": "F"
  289. }
  290. },
  291. "children": [
  292. {
  293. "kind": "label",
  294. "params": {
  295. "text": "Chloride"
  296. }
  297. }
  298. ]
  299. },
  300. {
  301. "kind": "component",
  302. "params": {
  303. "selector": {
  304. "label_asym_id": "G"
  305. }
  306. },
  307. "children": [
  308. {
  309. "kind": "label",
  310. "params": {
  311. "text": "Chloride"
  312. }
  313. }
  314. ]
  315. },
  316. {
  317. "kind": "component",
  318. "params": {
  319. "selector": {
  320. "label_asym_id": "I"
  321. }
  322. },
  323. "children": [
  324. {
  325. "kind": "label",
  326. "params": {
  327. "text": "Chloride"
  328. }
  329. }
  330. ]
  331. },
  332. {
  333. "kind": "component",
  334. "params": {
  335. "selector": {
  336. "label_asym_id": "A",
  337. "label_seq_id": 57
  338. }
  339. },
  340. "children": [
  341. {
  342. "kind": "label",
  343. "params": {
  344. "text": "Ligand binding"
  345. }
  346. }
  347. ]
  348. },
  349. {
  350. "kind": "component",
  351. "params": {
  352. "selector": {
  353. "label_asym_id": "A",
  354. "label_seq_id": 67
  355. }
  356. },
  357. "children": [
  358. {
  359. "kind": "label",
  360. "params": {
  361. "text": "Ligand binding"
  362. }
  363. }
  364. ]
  365. },
  366. {
  367. "kind": "component",
  368. "params": {
  369. "selector": {
  370. "label_asym_id": "A",
  371. "label_seq_id": 121
  372. }
  373. },
  374. "children": [
  375. {
  376. "kind": "label",
  377. "params": {
  378. "text": "Ligand binding"
  379. }
  380. }
  381. ]
  382. },
  383. {
  384. "kind": "component",
  385. "params": {
  386. "selector": {
  387. "label_asym_id": "A",
  388. "label_seq_id": 125
  389. }
  390. },
  391. "children": [
  392. {
  393. "kind": "label",
  394. "params": {
  395. "text": "Ligand binding"
  396. }
  397. }
  398. ]
  399. },
  400. {
  401. "kind": "component",
  402. "params": {
  403. "selector": {
  404. "label_asym_id": "A",
  405. "label_seq_id": 129
  406. }
  407. },
  408. "children": [
  409. {
  410. "kind": "label",
  411. "params": {
  412. "text": "Ligand binding"
  413. }
  414. }
  415. ]
  416. },
  417. {
  418. "kind": "component",
  419. "params": {
  420. "selector": {
  421. "label_asym_id": "A",
  422. "label_seq_id": 178
  423. }
  424. },
  425. "children": [
  426. {
  427. "kind": "label",
  428. "params": {
  429. "text": "Ligand binding"
  430. }
  431. }
  432. ]
  433. },
  434. {
  435. "kind": "component",
  436. "params": {
  437. "selector": {
  438. "label_asym_id": "A",
  439. "beg_label_seq_id": 203,
  440. "end_label_seq_id": 205
  441. }
  442. },
  443. "children": [
  444. {
  445. "kind": "label",
  446. "params": {
  447. "text": "Ligand binding"
  448. }
  449. }
  450. ]
  451. },
  452. {
  453. "kind": "component",
  454. "params": {
  455. "selector": {
  456. "label_asym_id": "B",
  457. "label_seq_id": 67
  458. }
  459. },
  460. "children": [
  461. {
  462. "kind": "label",
  463. "params": {
  464. "text": "Ligand binding"
  465. }
  466. }
  467. ]
  468. },
  469. {
  470. "kind": "component",
  471. "params": {
  472. "selector": {
  473. "label_asym_id": "B",
  474. "label_seq_id": 121
  475. }
  476. },
  477. "children": [
  478. {
  479. "kind": "label",
  480. "params": {
  481. "text": "Ligand binding"
  482. }
  483. }
  484. ]
  485. },
  486. {
  487. "kind": "component",
  488. "params": {
  489. "selector": {
  490. "label_asym_id": "B",
  491. "label_seq_id": 125
  492. }
  493. },
  494. "children": [
  495. {
  496. "kind": "label",
  497. "params": {
  498. "text": "Ligand binding"
  499. }
  500. }
  501. ]
  502. },
  503. {
  504. "kind": "component",
  505. "params": {
  506. "selector": {
  507. "label_asym_id": "B",
  508. "label_seq_id": 129
  509. }
  510. },
  511. "children": [
  512. {
  513. "kind": "label",
  514. "params": {
  515. "text": "Ligand binding"
  516. }
  517. }
  518. ]
  519. },
  520. {
  521. "kind": "component",
  522. "params": {
  523. "selector": {
  524. "label_asym_id": "B",
  525. "label_seq_id": 178
  526. }
  527. },
  528. "children": [
  529. {
  530. "kind": "label",
  531. "params": {
  532. "text": "Ligand binding"
  533. }
  534. }
  535. ]
  536. },
  537. {
  538. "kind": "component",
  539. "params": {
  540. "selector": {
  541. "label_asym_id": "B",
  542. "beg_label_seq_id": 203,
  543. "end_label_seq_id": 205
  544. }
  545. },
  546. "children": [
  547. {
  548. "kind": "label",
  549. "params": {
  550. "text": "Ligand binding"
  551. }
  552. }
  553. ]
  554. },
  555. {
  556. "kind": "component",
  557. "params": {
  558. "selector": "all"
  559. },
  560. "children": [
  561. {
  562. "kind": "focus",
  563. "params": {
  564. "direction": [-0.3, -0.1, -1]
  565. }
  566. }
  567. ]
  568. }
  569. ]
  570. }
  571. ]
  572. }
  573. ]
  574. },
  575. {
  576. "kind": "canvas",
  577. "params": {
  578. "background_color": "#eeffee"
  579. }
  580. }
  581. ]
  582. }
  583. }