|
| int | nc4_var_list_add (NC_GRP_INFO_T *grp, const char *name, int ndims, NC_VAR_INFO_T **var) |
| static void | mmcif_rtrim (char *s) |
| static int | mmcif_tokenize (const char *line, char tokens[][MMCIF_TOK_LEN], int max_tokens) |
| static const char * | mmcif_item_suffix (const char *full_name) |
| static void | mmcif_map_atom_site_cols (char item_names[][MMCIF_TOK_LEN], int nitems, mmcif_atom_site_cols_t *cols) |
| static void | mmcif_copy_str (char *dest, size_t destlen, const char *tok) |
| static double | mmcif_parse_double (const char *tok) |
| static int | mmcif_parse_int (const char *tok) |
| static void | mmcif_assign_scalar (NC_MMCIF_FILE_INFO_T *mmcif_file, const char *full_name, const char *value_tok) |
| static void | mmcif_free_file_info (NC_MMCIF_FILE_INFO_T *mmcif_file) |
| static int | mmcif_set_var_type (nc_type xtype, int endianness, size_t type_size, char *type_name, NC_TYPE_INFO_T **typep) |
| static int | mmcif_var_list_add_full (NC_GRP_INFO_T *grp, const char *name, int ndims, nc_type xtype, int endianness, size_t type_size, char *type_name, NC_VAR_INFO_T **var) |
| static int | mmcif_add_string_var (NC_GRP_INFO_T *grp, const char *name, int atom_dimid, size_t str_len, NC_VAR_INFO_T **var) |
| static int | mmcif_add_char_att (NC_GRP_INFO_T *grp, const char *name, const char *value) |
| static mmcif_atom_row_t * | mmcif_grow_rows (mmcif_atom_row_t **rows, size_t *nrows, size_t *capacity) |
| static NC_MMCIF_FILE_INFO_T * | mmcif_parse_file (const char *path, int *retvalp) |
| static int | mmcif_build_metadata (NC_FILE_INFO_T *h5) |
| int | NC_MMCIF_open (const char *path, int mode, int basepe, size_t *chunksizehintp, void *parameters, const NC_Dispatch *dispatch, int ncid) |
| int | NC_MMCIF_close (int ncid, void *ignore) |
| int | NC_MMCIF_abort (int ncid) |
| int | NC_MMCIF_inq_format (int ncid, int *formatp) |
| int | NC_MMCIF_inq_format_extended (int ncid, int *formatp, int *modep) |
| static size_t | mmcif_type_size (nc_type xtype) |
| static int | mmcif_read_coord_var (const double *src, size_t natoms, const size_t *start, const size_t *count, void *value, nc_type value_type) |
| static int | mmcif_read_1d_var (const void *src, size_t start, size_t count, void *value, nc_type src_type, nc_type value_type) |
| static int | mmcif_read_string_var (const char *src, size_t row_len, const size_t *start, const size_t *count, void *value) |
| int | NC_MMCIF_get_vara (int ncid, int varid, const size_t *start, const size_t *count, void *value, nc_type memtype) |
PDBx/mmCIF User-Defined Format (UDF) dispatch layer.
V3.4.0 Sprint 2: read-only STAR/CIF tokenizer and parser for PDBx/mmCIF files. Parses the _atom_site loop (coordinates and per-atom identity fields) and the single-row _entry, _struct, _cell, _symmetry, and _pdbx_database_status categories into a netCDF-4 metadata model, exposed through the UDF8 dispatch table.
Known limitations carried forward to later sprints:
- _entity_poly_seq-derived sequence data is not yet exposed.
- _atom_site_anisotrop (ANISOU-equivalent) data is not parsed.
- Multi-line semicolon-delimited text field values are not supported.
- Multi-model (NMR ensemble) mmCIF files are parsed but not yet covered by tests.
- Author
- Edward Hartnett
- Date
- 2026-08-01
- Copyright
- Intelligent Data Design, Inc. All rights reserved.