add func to check whether cigar is correct
add func to trim readno