Status: Accepted. Supersedes legacy ADR-0004.
The legacy CIFReader splits rows on whitespace (breaking quoted values), ignores non-loop categories and multi-line values, dispatches by reflection, logs every row and calls System.exit on error (legacy debt D6). The .cif.gz sample cannot be read (D13).
MoleculeReader in jmvs-core with org.rcsb:ciftools-java (MIT, Maven Central; 9.x at time of writing), using its typed mmCIF schema for atom_site, struct_conf (helices and turns) and struct_sheet_range.GZIPInputStream; ciftools also reads BinaryCIF (.bcif).jmvs-core. Chains are keyed by label_asym_id; polymer residues by label_seq_id, other residues (ligands, waters) by auth_seq_id and insertion code; only the first alternate location of each atom is kept.StructureReaders registry rather than hard-coding one.StructureReadException with the file name and cause (0011).ATOM/HETATM lines for files with alternate locations (e.g. 1usc: 3,285 of 3,415).CIFReaderTest expectations (1crn: 1 model, 1 chain, 46 residues, 327 atoms) carry over as golden values.