thanks for your answer, Daniel. I would like to combine Bioperl packages and my own script to tackle this rub.
I also have another idea of aligning each contig and the corresponding reads (which consist the corresponding contig) using blast like software. And then transform the alignment into readable format of other software and then call variants. (Say,blat to a psi format and transform the alignment to sam foramt and call snps using samtools).
What do you think of this?