Skip to main content
Ctrl+K

gmol-base

  • gmol.base
  • GitHub
  • gmol.base
  • GitHub

Section Navigation

  • gmol.base.const
    • gmol.base.const.af2
    • gmol.base.const.af3
    • gmol.base.const.seoklab
  • gmol.base.data
    • gmol.base.data.mmcif
      • gmol.base.data.mmcif.assembly
      • gmol.base.data.mmcif.filter
      • gmol.base.data.mmcif.input
      • gmol.base.data.mmcif.parse
      • gmol.base.data.mmcif.smiles
      • gmol.base.data.mmcif.write
    • gmol.base.data.seq
      • gmol.base.data.seq.colabfold_input
      • gmol.base.data.seq.hhsearch_template
      • gmol.base.data.seq.mmseqs_cluster
      • gmol.base.data.seq.mmseqs_search
  • gmol.base.path
  • gmol.base.types
  • gmol.base.wrapper
    • gmol.base.wrapper.rdkit
  • gmol.base
  • gmol.base.data
  • gmol.base.data.mmcif
  • gmol.base.data.mmcif.write

gmol.base.data.mmcif.write#

This module is written to follow the syntax rules in the reference below.

Reference:

CIF 1.1 syntax (general): https://www.iucr.org/resources/cif/spec/version1.1/cifsyntax#general

Functions

mmcif_bond_order(order)

mmcif_bool(pred)

mmcif_write_block(block, fields, data)

mmcif_bond_order(order: int) → str#
mmcif_bool(pred: bool) → str#
mmcif_write_block(block: str, fields: Sequence[str], data: Sequence[Sequence[str | int]]) → str#

previous

gmol.base.data.mmcif.smiles

next

gmol.base.data.seq

On this page
  • mmcif_bond_order()
  • mmcif_bool()
  • mmcif_write_block()

Last updated on 2026-03-18 00:42.

© Copyright 2026 SNU Compbio Lab.

Created using Sphinx 8.2.3.

Built with the PyData Sphinx Theme 0.16.1.