Hi, Adding a chain: from Bio.PDB.Chain import Chain chain=Chain('B') model.add(chain) You have to make sure that the id (in this case 'B') is not yet present in the model. Similar for atom, residue and model. Best, -Thomas