add codes for generating decoys from refining runs