file.write(('{} monomers were merged into the alphabet because they have the same structures (SMILES):\n'
                        '  PDB-CCD ID\tRESID ID\tPDB Ligand RESID ID\n'
                        '  {}\n\n').format(
                len(same_structures), '\n  '.join(sorted('\t'.join(n) for n in same_structures))))