Fix a bug for alignment of single end data.
Fix a bug for alignment of single end data.