TSSV: a tool for characterization of complex allelic variants in pure and mixed genomes