bird.ts 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499
  1. /**
  2. * Copyright (c) 2017-2019 mol* contributors, licensed under MIT, See LICENSE file for more info.
  3. *
  4. * Code-generated 'BIRD' schema file. Dictionary versions: mmCIF 5.312, IHM 1.0, CARB draft.
  5. *
  6. * @author molstar/ciftools package
  7. */
  8. import { Database, Column } from '../../../../mol-data/db'
  9. import Schema = Column.Schema
  10. const str = Schema.str;
  11. const float = Schema.float;
  12. const Aliased = Schema.Aliased;
  13. const int = Schema.int;
  14. export const BIRD_Schema = {
  15. /**
  16. * Data items in the PDBX_REFERENCE_MOLECULE category record
  17. * reference information about small polymer molecules.
  18. */
  19. pdbx_reference_molecule: {
  20. /**
  21. * The value of _pdbx_reference_molecule.prd_id is the unique identifier
  22. * for the reference molecule in this family.
  23. *
  24. * By convention this ID uniquely identifies the reference molecule in
  25. * in the PDB reference dictionary.
  26. *
  27. * The ID has the template form PRD_dddddd (e.g. PRD_000001)
  28. */
  29. prd_id: str,
  30. /**
  31. * Formula mass in daltons of the entity.
  32. */
  33. formula_weight: float,
  34. /**
  35. * The formula for the reference entity. Formulae are written
  36. * according to the rules:
  37. *
  38. * 1. Only recognised element symbols may be used.
  39. *
  40. * 2. Each element symbol is followed by a 'count' number. A count
  41. * of '1' may be omitted.
  42. *
  43. * 3. A space or parenthesis must separate each element symbol and
  44. * its count, but in general parentheses are not used.
  45. *
  46. * 4. The order of elements depends on whether or not carbon is
  47. * present. If carbon is present, the order should be: C, then
  48. * H, then the other elements in alphabetical order of their
  49. * symbol. If carbon is not present, the elements are listed
  50. * purely in alphabetic order of their symbol. This is the
  51. * 'Hill' system used by Chemical Abstracts.
  52. */
  53. formula: str,
  54. /**
  55. * Defines the structural classification of the entity.
  56. */
  57. type: Aliased<'Amino acid' | 'Aminoglycoside' | 'Anthracycline' | 'Anthraquinone' | 'Ansamycin' | 'Chalkophore' | 'Chromophore' | 'Glycopeptide' | 'Cyclic depsipeptide' | 'Cyclic lipopeptide' | 'Cyclic peptide' | 'Heterocyclic' | 'Imino sugar' | 'Keto acid' | 'Lipoglycopeptide' | 'Lipopeptide' | 'Macrolide' | 'Non-polymer' | 'Nucleoside' | 'Oligopeptide' | 'Oligosaccharide' | 'Peptaibol' | 'Peptide-like' | 'Polycyclic' | 'Polypeptide' | 'Polysaccharide' | 'Quinolone' | 'Thiolactone' | 'Thiopeptide' | 'Siderophore' | 'Unknown' | 'Chalkophore, Polypeptide'>(str),
  58. /**
  59. * Evidence for the assignment of _pdbx_reference_molecule.type
  60. */
  61. type_evidence_code: str,
  62. /**
  63. * Broadly defines the function of the entity.
  64. */
  65. class: Aliased<'Antagonist' | 'Antibiotic' | 'Anticancer' | 'Anticoagulant' | 'Antifungal' | 'Antiinflammatory' | 'Antimicrobial' | 'Antineoplastic' | 'Antiparasitic' | 'Antiretroviral' | 'Anthelmintic' | 'Antithrombotic' | 'Antitumor' | 'Antiviral' | 'CASPASE inhibitor' | 'Chaperone binding' | 'Enzyme inhibitor' | 'Growth factor' | 'Immunosuppressant' | 'Inhibitor' | 'Lantibiotic' | 'Metabolism' | 'Metal transport' | 'Oxidation-reduction' | 'Receptor' | 'Thrombin inhibitor' | 'Trypsin inhibitor' | 'Toxin' | 'Unknown' | 'Anticoagulant, Antithrombotic' | 'Antibiotic, Antimicrobial' | 'Antibiotic, Anthelmintic' | 'Antibiotic, Antineoplastic' | 'Antimicrobial, Antiretroviral' | 'Antimicrobial, Antitumor' | 'Antimicrobial, Antiparasitic, Antibiotic' | 'Thrombin inhibitor, Trypsin inhibitor'>(str),
  66. /**
  67. * Evidence for the assignment of _pdbx_reference_molecule.class
  68. */
  69. class_evidence_code: str,
  70. /**
  71. * A name of the entity.
  72. */
  73. name: str,
  74. /**
  75. * Defines how this entity is represented in PDB data files.
  76. */
  77. represent_as: Aliased<'polymer' | 'single molecule'>(str),
  78. /**
  79. * For entities represented as single molecules, the identifier
  80. * corresponding to the chemical definition for the molecule.
  81. */
  82. chem_comp_id: str,
  83. /**
  84. * Special details about this molecule.
  85. */
  86. compound_details: str,
  87. /**
  88. * Description of this molecule.
  89. */
  90. description: str,
  91. /**
  92. * The PDB accession code for the entry containing a representative example of this molecule.
  93. */
  94. representative_PDB_id_code: str,
  95. /**
  96. * Defines the current PDB release status for this molecule definition.
  97. */
  98. release_status: Aliased<'REL' | 'HOLD' | 'OBS' | 'WAIT'>(str),
  99. /**
  100. * Assigns the identifier for the reference molecule which have been replaced
  101. * by this reference molecule.
  102. * Multiple molecule identifier codes should be separated by commas.
  103. */
  104. replaces: str,
  105. /**
  106. * Assigns the identifier of the reference molecule that has replaced this molecule.
  107. */
  108. replaced_by: str,
  109. },
  110. /**
  111. * Data items in the PDBX_REFERENCE_ENTITY_LIST category record
  112. * the list of entities within each reference molecule.
  113. */
  114. pdbx_reference_entity_list: {
  115. /**
  116. * The value of _pdbx_reference_entity_list.prd_id is a reference
  117. * _pdbx_reference_molecule.prd_id in the PDBX_REFERENCE_MOLECULE category.
  118. */
  119. prd_id: str,
  120. /**
  121. * The value of _pdbx_reference_entity_list.ref_entity_id is a unique identifier
  122. * the a constituent entity within this reference molecule.
  123. */
  124. ref_entity_id: str,
  125. /**
  126. * Defines the polymer characteristic of the entity.
  127. */
  128. type: str,
  129. /**
  130. * Additional details about this entity.
  131. */
  132. details: str,
  133. /**
  134. * The component number of this entity within the molecule.
  135. */
  136. component_id: int,
  137. },
  138. /**
  139. * Data items in the PDBX_REFERENCE_ENTITY_NONPOLY category record
  140. * the list of entities within each reference molecule.
  141. */
  142. pdbx_reference_entity_nonpoly: {
  143. /**
  144. * The value of _pdbx_reference_entity_nonpoly.prd_id is a reference
  145. * _pdbx_reference_entity_list.prd_id in the PDBX_REFERENCE_ENTITY_LIST category.
  146. */
  147. prd_id: str,
  148. /**
  149. * The value of _pdbx_reference_entity_nonpoly.ref_entity_id is a reference
  150. * to _pdbx_reference_entity_list.ref_entity_id in PDBX_REFERENCE_ENTITY_LIST category.
  151. */
  152. ref_entity_id: str,
  153. /**
  154. * A name of the non-polymer entity.
  155. */
  156. name: str,
  157. /**
  158. * For non-polymer entities, the identifier corresponding
  159. * to the chemical definition for the molecule.
  160. */
  161. chem_comp_id: str,
  162. },
  163. /**
  164. * Data items in the PDBX_REFERENCE_ENTITY_LINK category give details about
  165. * the linkages between entities within reference molecules.
  166. */
  167. pdbx_reference_entity_link: {
  168. /**
  169. * The value of _pdbx_reference_entity_link.link_id uniquely identifies
  170. * linkages between entities with a molecule.
  171. */
  172. link_id: int,
  173. /**
  174. * The value of _pdbx_reference_entity_link.prd_id is a reference
  175. * _pdbx_reference_entity_list.prd_id in the PDBX_REFERENCE_ENTITY_LIST category.
  176. */
  177. prd_id: str,
  178. /**
  179. * A description of special aspects of a linkage between
  180. * chemical components in the structure.
  181. */
  182. details: str,
  183. /**
  184. * The reference entity id of the first of the two entities joined by the
  185. * linkage.
  186. *
  187. * This data item is a pointer to _pdbx_reference_entity_list.ref_entity_id
  188. * in the PDBX_REFERENCE_ENTITY_LIST category.
  189. */
  190. ref_entity_id_1: str,
  191. /**
  192. * The reference entity id of the second of the two entities joined by the
  193. * linkage.
  194. *
  195. * This data item is a pointer to _pdbx_reference_entity_list.ref_entity_id
  196. * in the PDBX_REFERENCE_ENTITY_LIST category.
  197. */
  198. ref_entity_id_2: str,
  199. /**
  200. * For a polymer entity, the sequence number in the first of
  201. * the two entities containing the linkage.
  202. *
  203. * This data item is a pointer to _pdbx_reference_entity_poly_seq.num
  204. * in the PDBX_REFERENCE_ENTITY_POLY_SEQ category.
  205. */
  206. entity_seq_num_1: int,
  207. /**
  208. * For a polymer entity, the sequence number in the second of
  209. * the two entities containing the linkage.
  210. *
  211. * This data item is a pointer to _pdbx_reference_entity_poly_seq.num
  212. * in the PDBX_REFERENCE_ENTITY_POLY_SEQ category.
  213. */
  214. entity_seq_num_2: int,
  215. /**
  216. * The component identifier in the first of the two entities containing the linkage.
  217. *
  218. * For polymer entities, this data item is a pointer to _pdbx_reference_entity_poly_seq.mon_id
  219. * in the PDBX_REFERENCE_ENTITY_POLY_SEQ category.
  220. *
  221. * For non-polymer entities, this data item is a pointer to
  222. * _pdbx_reference_entity_nonpoly.chem_comp_id in the
  223. * PDBX_REFERENCE_ENTITY_NONPOLY category.
  224. */
  225. comp_id_1: str,
  226. /**
  227. * The component identifier in the second of the two entities containing the linkage.
  228. *
  229. * For polymer entities, this data item is a pointer to _pdbx_reference_entity_poly_seq.mon_id
  230. * in the PDBX_REFERENCE_ENTITY_POLY_SEQ category.
  231. *
  232. * For non-polymer entities, this data item is a pointer to
  233. * _pdbx_reference_entity_nonpoly.chem_comp_id in the
  234. * PDBX_REFERENCE_ENTITY_NONPOLY category.
  235. */
  236. comp_id_2: str,
  237. /**
  238. * The atom identifier/name in the first of the two entities containing the linkage.
  239. */
  240. atom_id_1: str,
  241. /**
  242. * The atom identifier/name in the second of the two entities containing the linkage.
  243. */
  244. atom_id_2: str,
  245. /**
  246. * The bond order target for the chemical linkage.
  247. */
  248. value_order: Aliased<'sing' | 'doub' | 'trip' | 'quad' | 'arom' | 'poly' | 'delo' | 'pi'>(str),
  249. /**
  250. * The entity component identifier for the first of two entities containing the linkage.
  251. */
  252. component_1: int,
  253. /**
  254. * The entity component identifier for the second of two entities containing the linkage.
  255. */
  256. component_2: int,
  257. /**
  258. * A code indicating the entity types involved in the linkage.
  259. */
  260. link_class: Aliased<'PP' | 'PN' | 'NP' | 'NN'>(str),
  261. },
  262. /**
  263. * Data items in the PDBX_REFERENCE_ENTITY_POLY_LINK category give details about
  264. * polymer linkages including both standard and non-standard linkages between
  265. * polymer componnents.
  266. */
  267. pdbx_reference_entity_poly_link: {
  268. /**
  269. * The value of _pdbx_reference_entity_poly_link.link_id uniquely identifies
  270. * a linkage within a polymer entity.
  271. */
  272. link_id: int,
  273. /**
  274. * The value of _pdbx_reference_entity_poly_link.prd_id is a reference
  275. * _pdbx_reference_entity_list.prd_id in the PDBX_REFERENCE_ENTITY_POLY category.
  276. */
  277. prd_id: str,
  278. /**
  279. * The reference entity id of the polymer entity containing the linkage.
  280. *
  281. * This data item is a pointer to _pdbx_reference_entity_poly.ref_entity_id
  282. * in the PDBX_REFERENCE_ENTITY_POLY category.
  283. */
  284. ref_entity_id: str,
  285. /**
  286. * The entity component identifier entity containing the linkage.
  287. */
  288. component_id: int,
  289. /**
  290. * For a polymer entity, the sequence number in the first of
  291. * the two components making the linkage.
  292. *
  293. * This data item is a pointer to _pdbx_reference_entity_poly_seq.num
  294. * in the PDBX_REFERENCE_ENTITY_POLY_SEQ category.
  295. */
  296. entity_seq_num_1: int,
  297. /**
  298. * For a polymer entity, the sequence number in the second of
  299. * the two components making the linkage.
  300. *
  301. * This data item is a pointer to _pdbx_reference_entity_poly_seq.num
  302. * in the PDBX_REFERENCE_ENTITY_POLY_SEQ category.
  303. */
  304. entity_seq_num_2: int,
  305. /**
  306. * The component identifier in the first of the two components making the
  307. * linkage.
  308. *
  309. * This data item is a pointer to _pdbx_reference_entity_poly_seq.mon_id
  310. * in the PDBX_REFERENCE_ENTITY_POLY_SEQ category.
  311. */
  312. comp_id_1: str,
  313. /**
  314. * The component identifier in the second of the two components making the
  315. * linkage.
  316. *
  317. * This data item is a pointer to _pdbx_reference_entity_poly_seq.mon_id
  318. * in the PDBX_REFERENCE_ENTITY_POLY_SEQ category.
  319. */
  320. comp_id_2: str,
  321. /**
  322. * The atom identifier/name in the first of the two components making
  323. * the linkage.
  324. */
  325. atom_id_1: str,
  326. /**
  327. * The atom identifier/name in the second of the two components making
  328. * the linkage.
  329. */
  330. atom_id_2: str,
  331. /**
  332. * The bond order target for the non-standard linkage.
  333. */
  334. value_order: Aliased<'sing' | 'doub' | 'trip' | 'quad' | 'arom' | 'poly' | 'delo' | 'pi'>(str),
  335. },
  336. /**
  337. * Data items in the PDBX_REFERENCE_ENTITY_POLY category record details about
  338. * the polymer, such as the type of the polymer, the number of
  339. * monomers and whether it has nonstandard features.
  340. */
  341. pdbx_reference_entity_poly: {
  342. /**
  343. * The value of _pdbx_reference_entity_poly.prd_id is a reference
  344. * _pdbx_reference_entity_list.prd_id in the PDBX_REFERENCE_ENTITY_LIST category.
  345. */
  346. prd_id: str,
  347. /**
  348. * The value of _pdbx_reference_entity_poly.ref_entity_id is a reference
  349. * to _pdbx_reference_entity_list.ref_entity_id in PDBX_REFERENCE_ENTITY_LIST category.
  350. */
  351. ref_entity_id: str,
  352. /**
  353. * The type of the polymer.
  354. */
  355. type: Aliased<'peptide-like' | 'nucleic-acid-like' | 'polysaccharide-like'>(str),
  356. /**
  357. * The database code for this source information
  358. */
  359. db_code: str,
  360. /**
  361. * The database name for this source information
  362. */
  363. db_name: str,
  364. },
  365. /**
  366. * Data items in the PDBX_REFERENCE_ENTITY_POLY_SEQ category specify the sequence
  367. * of monomers in a polymer.
  368. */
  369. pdbx_reference_entity_poly_seq: {
  370. /**
  371. * The value of _pdbx_reference_entity_poly_seq.prd_id is a reference
  372. * _pdbx_reference_entity_poly.prd_id in the PDBX_REFERENCE_ENTITY_POLY category.
  373. */
  374. prd_id: str,
  375. /**
  376. * The value of _pdbx_reference_entity_poly_seq.ref_entity_id is a reference
  377. * to _pdbx_reference_entity_poly.ref_entity_id in PDBX_REFERENCE_ENTITY_POLY category.
  378. */
  379. ref_entity_id: str,
  380. /**
  381. * This data item is the chemical component identifier of monomer.
  382. */
  383. mon_id: str,
  384. /**
  385. * This data item is the chemical component identifier for the parent component corresponding to this monomer.
  386. */
  387. parent_mon_id: str,
  388. /**
  389. * The value of _pdbx_reference_entity_poly_seq.num must uniquely and sequentially
  390. * identify a record in the PDBX_REFERENCE_ENTITY_POLY_SEQ list.
  391. *
  392. * This value is conforms to author numbering conventions and does not map directly
  393. * to the numbering conventions used for _entity_poly_seq.num.
  394. */
  395. num: int,
  396. /**
  397. * A flag to indicate that this monomer is observed in the instance example.
  398. */
  399. observed: Aliased<'Y' | 'N'>(str),
  400. /**
  401. * A flag to indicate that sequence heterogeneity at this monomer position.
  402. */
  403. hetero: Aliased<'Y' | 'N'>(str),
  404. },
  405. /**
  406. * Additional features associated with the reference entity.
  407. */
  408. pdbx_reference_entity_sequence: {
  409. /**
  410. * The value of _pdbx_reference_entity_sequence.prd_id is a reference
  411. * _pdbx_reference_entity_list.prd_id in the PDBX_REFERENCE_ENTITY_LIST category.
  412. */
  413. prd_id: str,
  414. /**
  415. * The value of _pdbx_reference_entity_sequence.ref_entity_id is a reference
  416. * to _pdbx_reference_entity_list.ref_entity_id in PDBX_REFERENCE_ENTITY_LIST category.
  417. */
  418. ref_entity_id: str,
  419. /**
  420. * The monomer type for the sequence.
  421. */
  422. type: str,
  423. /**
  424. * A flag to indicate a non-ribosomal entity.
  425. */
  426. NRP_flag: Aliased<'Y' | 'N'>(str),
  427. /**
  428. * The one-letter-code sequence for this entity. Non-standard monomers are represented as 'X'.
  429. */
  430. one_letter_codes: str,
  431. },
  432. /**
  433. * Data items in the PDBX_REFERENCE_ENTITY_SRC_NAT category record
  434. * details of the source from which the entity was obtained.
  435. */
  436. pdbx_reference_entity_src_nat: {
  437. /**
  438. * The value of _pdbx_reference_entity_src_nat.prd_id is a reference
  439. * _pdbx_reference_entity_list.prd_id in the PDBX_REFERENCE_ENTITY_LIST category.
  440. */
  441. prd_id: str,
  442. /**
  443. * The value of _pdbx_reference_entity_src_nat.ref_entity_id is a reference
  444. * to _pdbx_reference_entity_list.ref_entity_id in PDBX_REFERENCE_ENTITY_LIST category.
  445. */
  446. ref_entity_id: str,
  447. /**
  448. * The value of _pdbx_reference_entity_src_nat.ordinal distinguishes
  449. * source details for this entity.
  450. */
  451. ordinal: int,
  452. /**
  453. * The scientific name of the organism from which the entity was isolated.
  454. */
  455. organism_scientific: str,
  456. /**
  457. * The NCBI TaxId of the organism from which the entity was isolated.
  458. */
  459. taxid: str,
  460. /**
  461. * The database code for this source information
  462. */
  463. db_code: str,
  464. /**
  465. * The database name for this source information
  466. */
  467. db_name: str,
  468. },
  469. /**
  470. * Data items in the PDBX_PRD_AUDIT category records
  471. * the status and tracking information for this molecule.
  472. */
  473. pdbx_prd_audit: {
  474. /**
  475. * This data item is a pointer to _pdbx_reference_molecule.prd_id in the
  476. * pdbx_reference_molecule category.
  477. */
  478. prd_id: str,
  479. /**
  480. * The date associated with this audit record.
  481. */
  482. date: str,
  483. /**
  484. * An identifier for the wwPDB site creating or modifying the molecule.
  485. */
  486. processing_site: Aliased<'RCSB' | 'PDBe' | 'PDBJ' | 'BMRB'>(str),
  487. /**
  488. * The action associated with this audit record.
  489. */
  490. action_type: Aliased<'Initial release' | 'Create molecule' | 'Modify type' | 'Modify class' | 'Modify molecule name' | 'Modify representation' | 'Modify sequence' | 'Modify linkage' | 'Modify taxonomy organism' | 'Modify audit' | 'Other modification' | 'Obsolete molecule'>(str),
  491. },
  492. }
  493. export type BIRD_Schema = typeof BIRD_Schema;
  494. export interface BIRD_Database extends Database<BIRD_Schema> {}