cif-diff(1)
π cif-diff β the mmCIF glow-up comparer π
okay bestie, so this is cif-diff(1), a lil User Commands icon from the cif-tools crew, and it's about to become your new obsession. β¨
πΈ NAME πΈ
<cute>not a typo, this is literally the name section:</cute>
cif-diff β a tool to compare two mmCIF files. that's it. that's the job. π
π¦ SYNOPSIS π¦
cif-diff [OPTION] file1 file2
β¨ DESCRIPTION β¨
okay so here's the tea π΅: the mmCIF format does NOT specify the order in which categories or fields should be recorded. like, it just does not care. chaotic of it, honestly. π
so what cif-diff does is: it takes a second file and reorders it in the same way as the first file, before it compares the content. that way the diff is actually about content and not about "omg why are these two files in a different order for no reason". it makes it way easier to spot the actual differences. main character problem-solving energy, fr fr. π
π OPTIONS π
--category=argβ limits the comparison to this category only. the default is to show differences in all categories. you can specify this option multiple times, so go off, stack 'em up. π--max-diff-count=nrβ displays at most nr items per category. the default is 5 items. if you specify zero, the number of items will be unlimited. β¨
heads up bestie: this option has no effect when the --text option is specified. none. zero. nada. π
--textβ default behaviour is to display the differences in some kind of summary. but if you prefer a more graphical diff, this option will usevimdiffto display the differences. very visual, very slay. π--icaseβ passes the ignore case option tovimdiff. π§--iwhiteβ passes the ignore white option tovimdiff. πΈ--verbose,-vβ be more verbose. useful to diagnose validation errors. when things are going weird, this is the one you call, no cap. π₯
π AUTHOR π
Written by Maarten L. Hekkelman <maarten@hekkelman.com> β thank you for the tool king π«Ά
π REPORTING BUGS π
Report bugs at https://github.com/PDB-REDO/cif-tools/issues β go tell 'em, they wanna know π
π SEE ALSO π
cif-grep, cif-merge, cif-validate, cif2pdb, mmcql, pdb2cif.
the whole friend group honestly β go say hi to all of them π
so yeah, that's the whole thing! this was version 2.0.0, dated 2022-11-20, and it's out here living its best life as cif-diff(1). π¦β¨ go diff some mmCIF files, you got this bestie, ily ππ
π¦ where this page comes from
- ubuntu stonking: cif-tools 2.0.0-1 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms