Skip to content
Snippets Groups Projects
Commit a6e330d5 authored by Alexander Rose's avatar Alexander Rose
Browse files

updated cif schemas

parent f6f3f6df
No related branches found
No related tags found
No related merge requests found
......@@ -11,16 +11,15 @@ import { Database, Column } from 'mol-data/db'
import Schema = Column.Schema
const str = Schema.str;
const int = Schema.int;
const float = Schema.float;
// const coord = Schema.coord;
const Aliased = Schema.Aliased;
// const Matrix = Schema.Matrix;
// const Vector = Schema.Vector;
// const List = Schema.List;
const int = Schema.int;
export const BIRD_Schema = {
/**
* Data items in the PDBX_REFERENCE_MOLECULE category record
* reference information about small polymer molecules.
*/
pdbx_reference_molecule: {
/**
* The value of _pdbx_reference_molecule.prd_id is the unique identifier
......@@ -108,6 +107,10 @@ export const BIRD_Schema = {
*/
replaced_by: str,
},
/**
* Data items in the PDBX_REFERENCE_ENTITY_LIST category record
* the list of entities within each reference molecule.
*/
pdbx_reference_entity_list: {
/**
* The value of _pdbx_reference_entity_list.prd_id is a reference
......@@ -132,6 +135,10 @@ export const BIRD_Schema = {
*/
component_id: int,
},
/**
* Data items in the PDBX_REFERENCE_ENTITY_NONPOLY category record
* the list of entities within each reference molecule.
*/
pdbx_reference_entity_nonpoly: {
/**
* The value of _pdbx_reference_entity_nonpoly.prd_id is a reference
......@@ -153,6 +160,10 @@ export const BIRD_Schema = {
*/
chem_comp_id: str,
},
/**
* Data items in the PDBX_REFERENCE_ENTITY_LINK category give details about
* the linkages between entities within reference molecules.
*/
pdbx_reference_entity_link: {
/**
* The value of _pdbx_reference_entity_link.link_id uniquely identifies
......@@ -248,6 +259,11 @@ export const BIRD_Schema = {
*/
link_class: Aliased<'PP' | 'PN' | 'NP' | 'NN'>(str),
},
/**
* Data items in the PDBX_REFERENCE_ENTITY_POLY_LINK category give details about
* polymer linkages including both standard and non-standard linkages between
* polymer componnents.
*/
pdbx_reference_entity_poly_link: {
/**
* The value of _pdbx_reference_entity_poly_link.link_id uniquely identifies
......@@ -317,6 +333,11 @@ export const BIRD_Schema = {
*/
value_order: Aliased<'sing' | 'doub' | 'trip' | 'quad' | 'arom' | 'poly' | 'delo' | 'pi'>(str),
},
/**
* Data items in the PDBX_REFERENCE_ENTITY_POLY category record details about
* the polymer, such as the type of the polymer, the number of
* monomers and whether it has nonstandard features.
*/
pdbx_reference_entity_poly: {
/**
* The value of _pdbx_reference_entity_poly.prd_id is a reference
......@@ -341,6 +362,10 @@ export const BIRD_Schema = {
*/
db_name: str,
},
/**
* Data items in the PDBX_REFERENCE_ENTITY_POLY_SEQ category specify the sequence
* of monomers in a polymer.
*/
pdbx_reference_entity_poly_seq: {
/**
* The value of _pdbx_reference_entity_poly_seq.prd_id is a reference
......@@ -377,6 +402,9 @@ export const BIRD_Schema = {
*/
hetero: Aliased<'Y' | 'N'>(str),
},
/**
* Additional features associated with the reference entity.
*/
pdbx_reference_entity_sequence: {
/**
* The value of _pdbx_reference_entity_sequence.prd_id is a reference
......@@ -401,6 +429,10 @@ export const BIRD_Schema = {
*/
one_letter_codes: str,
},
/**
* Data items in the PDBX_REFERENCE_ENTITY_SRC_NAT category record
* details of the source from which the entity was obtained.
*/
pdbx_reference_entity_src_nat: {
/**
* The value of _pdbx_reference_entity_src_nat.prd_id is a reference
......@@ -434,6 +466,10 @@ export const BIRD_Schema = {
*/
db_name: str,
},
/**
* Data items in the PDBX_PRD_AUDIT category records
* the status and tracking information for this molecule.
*/
pdbx_prd_audit: {
/**
* This data item is a pointer to _pdbx_reference_molecule.prd_id in the
......
......@@ -11,16 +11,22 @@ import { Database, Column } from 'mol-data/db'
import Schema = Column.Schema
const str = Schema.str;
const int = Schema.int;
const float = Schema.float;
const coord = Schema.coord;
const Aliased = Schema.Aliased;
// const Matrix = Schema.Matrix;
// const Vector = Schema.Vector;
const List = Schema.List;
const Aliased = Schema.Aliased;
const int = Schema.int;
const coord = Schema.coord;
export const CCD_Schema = {
/**
* Data items in the CHEM_COMP category give details about each
* of the chemical components from which the relevant chemical
* structures can be constructed, such as name, mass or charge.
*
* The related categories CHEM_COMP_ATOM, CHEM_COMP_BOND,
* CHEM_COMP_ANGLE etc. describe the detailed geometry of these
* chemical components.
*/
chem_comp: {
/**
* The formula for the chemical component. Formulae are written
......@@ -167,6 +173,14 @@ export const CCD_Schema = {
*/
pdbx_processing_site: Aliased<'PDBE' | 'EBI' | 'PDBJ' | 'RCSB'>(str),
},
/**
* Data items in the CHEM_COMP_ATOM category record details about
* the atoms in a chemical component. Specifying the atomic
* coordinates for the components in this category is an
* alternative to specifying the structure of the component
* via bonds, angles, planes etc. in the appropriate
* CHEM_COMP subcategories.
*/
chem_comp_atom: {
/**
* An alternative identifier for the atom. This data item would be
......@@ -271,6 +285,12 @@ export const CCD_Schema = {
*/
pdbx_leaving_atom_flag: Aliased<'Y' | 'N'>(str),
},
/**
* Data items in the CHEM_COMP_BOND category record details about
* the bonds between atoms in a chemical component. Target values
* may be specified as bond orders, as a distance between the two
* atoms, or both.
*/
chem_comp_bond: {
/**
* The ID of the first of the two atoms that define the bond.
......@@ -310,6 +330,10 @@ export const CCD_Schema = {
*/
pdbx_aromatic_flag: Aliased<'Y' | 'N'>(str),
},
/**
* Data items in the CHEM_COMP_DESCRIPTOR category provide
* string descriptors of component chemical structure.
*/
pdbx_chem_comp_descriptor: {
/**
* This data item is a pointer to _chem_comp.id in the CHEM_COMP
......@@ -336,6 +360,10 @@ export const CCD_Schema = {
*/
program_version: str,
},
/**
* Data items in the CHEM_COMP_IDENTIFIER category provide
* identifiers for chemical components.
*/
pdbx_chem_comp_identifier: {
/**
* This data item is a pointer to _chem_comp.id in the CHEM_COMP
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment