deal with different chain order in iAlign output file