CIF_SORT_ATOMS(1)
β¨ CIF_SORT_ATOMS β¨
okay bestie, welcome to cif_sort_atoms from section 1 of the General Commands Manual β she's a little command-line icon who reorganises the atoms in a CIF file into whatever order you want, and she does not make you pick just one sorting criterion. more than one? sure babe, stack 'em. π
πΈ NAME πΈ
cif_sort_atoms β sort atoms in a CIF file in given order. accepts more than one sorting criterion. periodt.
π SYNOPSIS π
cif_sort_atoms --options input1.cif input*.cif
π¦ DESCRIPTION π¦
So like. You hand her a CIF file, you tell her how you want the atoms arranged, and she arranges them. That's the whole vibe. And the slay part? She accepts more than one sorting criterion β you're not limited to a single sort, you can stack your criteria and let her cook. π
π OPTIONS π
-l,--lexicographicβ sort by lexicographic order. this is the default, so if you say nothing she just does this. lowkey her comfort zone. β¨-Z,--atomic-numberβ sort by atomic number. chemistry girlies rise. π§ͺ--ascending-numerical _atom_site_occupancyβ sort by the values of the CIF data item you name, in ascending numerical order. the example data item is_atom_site_occupancy, but it's a placeholder, iykyk. π’--descending-numerical _atom_site_occupancyβ same deal but going down: sort by the values of the CIF data item in descending numerical order. π«--ascending-lexical _atom_site_labelβ sort by the values of the CIF data item in ascending lexical order. example data item here is_atom_site_label. π€--descending-lexical _atom_site_labelβ sort by the values of the CIF data item in descending lexical order. Z to A energy. π-r,--reverseβ reverse the ordering. just flip the whole thing, no cap. π--order-child-loopsβ also order loops with data items referencing_atom_site_label. matching the vibes of the parent, as she should. π«Ά--no-order-child-loopsβ preserve the original order of loops with data items referencing_atom_site_label. this is the default, so loops stay exactly where they were unless you say otherwise. π--record-original-orderβ record the original atom order. so you can remember where everyone started. π--no-record-original-orderβ do not record the original atom order. this is the default. β--use-perl-parserβ use the Perl parser for CIF parsing. πͺ--use-c-parserβ use the Perl & C parser for CIF parsing. this one is the default, so it's what you get if you don't specify. π₯--help,--usageβ output a short usage message (this message) and exit. she tells you how she works, then she dips. π--versionβ output version information and exit. π
π REPORTING BUGS π
Found a bug? don't suffer in silence bestie β report cif_sort_atoms bugs using e-mail: cod-bugs@ibt.lt π§
ngl the wrap on --descending-numerical in the original is giving "descending numerical order", so that's exactly what she does. no details lost, no details invented. π
and that's the whole page, bestie β cif_sort_atoms(1), straight out of the General Commands Manual, section 1. go forth and sort ur atoms. slay. π β¨π¦πΈ
π¦ where this page comes from
- debian bookworm: cod-tools 3.7.0+dfsg-1+b3 Β· LGPL-3.0-only
- debian trixie: cod-tools 3.11.0+dfsg-1 Β· LGPL-3.0-only
- ubuntu jammy: cod-tools 3.4.0+dfsg-1build2 Β· LGPL-3.0-only
- ubuntu noble: cod-tools 3.8.1+dfsg-1build3 Β· LGPL-3.0-only
- ubuntu questing: cod-tools 3.11.0+dfsg-1
- ubuntu resolute: cod-tools 3.11.0+dfsg-2build1 Β· LGPL-3.0-only
- ubuntu stonking: cod-tools 3.12.0+dfsg-2 Β· LGPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms