gemmi(1)

✨ NAME ✨

gemmi β€” the CLI for the GEMMI library πŸ’– (and yes bestie, it's a User Commands girlie, we thrive here)


🌸 DESCRIPTION 🌸

Okay so picture this: gemmi is a whole command-line toolkit, and it's not one thing, it's a collection. The way it works is you run gemmi and then you hand it one of these subcommands, and that subcommand does its own lil job. Crystallography, structures, maps, reflections β€” all of it. No cap. 🧚

πŸŽ€ Commands:

  • align β€” sequence alignment, the global pairwise kind, with an affine gap penalty. Slay.
  • blobs β€” lists the electron density blobs that nobody ever modelled. The unmodelled ones. Iconic.
  • cif2json β€” translates (mm)CIF into (mm)JSON.
  • cif2mtz β€” converts a structure factor mmCIF into MTZ.
  • cifdiff β€” compares the tags in two (mm)CIF files, side by side, like a vibe check for tags.
  • contact β€” searches for contacts, aka neighbouring atoms. Who's standing next to who πŸ‘€
  • contents β€” gives you the info about the contents of a coordinate file (pdb, mmCIF, ...).
  • convert β€” converts a file (CIF β†’ JSON, mmCIF β†’ PDB) or just, like, modifies the structure.
  • crd β€” prepares a topology file (.crd) for Refmac.
  • drg β€” fills in restraint values using AceDrg tables.
  • ecalc β€” calculates normalized amplitudes E.
  • fprime β€” calculates the anomalous scattering factors f' and f". Fancy.
  • grep β€” searches for tags in CIF file(s). The CIF version of stalking, respectfully.
  • h β€” adds or removes hydrogen atoms.
  • json2cif β€” translates mmJSON into mmCIF.
  • map β€” prints info about a CCP4 map, or modifies it.
  • map2sf β€” transforms a CCP4 map into map coefficients (in MTZ or mmCIF).
  • mask β€” makes a bulk-solvent mask in the CCP4 format.
  • merge β€” merges or compares intensities from reflection file(s).
  • mondiff β€” compares two monomer CIF files.
  • mtz β€” prints info about an MTZ reflection file.
  • mtz2cif β€” converts MTZ into structure factor mmCIF.
  • reindex β€” reindexes an MTZ file.
  • residues β€” lists residues from a coordinate file.
  • rmsz β€” validates geometry using the monomer library.
  • set β€” modifies coordinate files. Think pdbset, but make it gemmi.
  • sf2map β€” transforms map coefficients (from MTZ or mmCIF) into a map.
  • sfcalc β€” calculates structure factors from a model.
  • sg β€” info about space groups.
  • ss β€” determines the secondary structure structure of polypeptide chains.
  • tags β€” lists tags from CIF file(s).
  • validate β€” validates CIF 1.1 syntax.
  • wcn β€” calculates local density / contact numbers (WCN, CN, ACN, LDM).
  • xds2mtz β€” converts XDS_ASCII into MTZ.

Not a single one of these got skipped, bestie. All thirty-whatever of them. Periodt. πŸ’…

And that's the whole page! Shoutout to gemmi 0.7.5+ds, dated April 2026, living in the gemmi(1) manual. Mwah, go read your structures πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from