I have a set of pdb files which I have to seggregate into monomer, dimer (homo+hetero) and protein-nucleic acid. Kindly help with the keyword to look for, I shall write my code accordingly. Thanks in advance.
You can use VMD program (http://www.ks.uiuc.edu/Research/vmd/). It is graphical program for showing structures of proteins and their complexes and manipulating these structures. In addition, you can also save the coordinates of the structures (either complex or monomers) as PDB or other formats.
check the MOL_ID for the number of chains, for a file with two proteins, mol_id 1 and mol_id 2 must be there, molecule shows the name of the protein or nucleic acid and chain shows the number of chains of the same molecule.