update functions: add perl script to align mismatch file; modify summary.pl set start CG index to 1 from 0