Indel and carryforward error corrections for next-generation sequencing data