One of the challenges with CIF files is handling disorder. If you simply read the list of atoms, you'll get some super-close cases because they're disordered in the crystal: https://github.com/OpenChemistry/avogadrolibs/issues/2437
I'm working through a stack of pull requests to improve how Avogadro handles this. The basic idea is to use the layer system. That is, the "main" atoms will be in the first layer and then other disorder groups will be added to hidden layers. You can hide / show them as you want.
This will probably be a bunch of headaches for a few weeks - I need to make sure that CJSON saves the hidden layers, but other export (e.g., to input generators, etc.) ignore them. (And I need to consider how plugins should handle this too.)
I think the end result will be good, but there will definitely be some disorder if you use CIF files and continuous builds as I work through the changes.
Discuss this on our forum.
One point is display of disorder, another how to manage it down the road for additional computation.
Display
It were preferable to have one level with a simultaneous display of all occupancies, and an other where one can iterate through them one by one. For the simultaneous display in color, one way is to apply for each occupancy the same (e.g., CPK) color palette as one already does for the (part of the) crystallographic model not affected by disorder.
The other way is the intentional (and very obvious / striking) departure from the color scheme with a very different one.
For (small) molecular materials for instance in a pattern like
(J Moncol, DISORDERS: PROBLEMS OR NEW INFORMATION IN CHEMICAL CRYSTALLOGRAPHY?, possibly prepared with Olex2)
For inorganic materials where ions similar enough in radii may use the same location (for instance when materials are doped) the atoms may have more than one color and the fraction of the colors seen reflects the occupancies / S.O.F. An example is
(Antypov et al. in J. Appl. Cryst. (2025). 58, 659–677, link, open access)
which is a functionality provided for instance by Vesta. If the «Vesta-like» approach is less frequently seen with molecule-only materials
perhaps because this much overlap as for small ions is less frequently encountered here / in CCDC’s CSD file than in the ICSD.
Computation
The model in the .cif is an average over all unit cells accessed during the diffraction experiment (spatial and temporal). Thus for later computations at level of one unit cell, and presuming there are only two populations A and B of one disorder to consider where p(B) = 1 - p(A), the export to the input generators of Gaussian, Mopac, etc. would need to provide two input sets with either part of the model described by either p(A) or $p(B) about the disorder plus the one not affected by the disorder (i.e., with S.O.F. = 1). This is the way e.g., CrystalExplorer documents it, too.