Pregunta de entrevista de Invitae

Write an algorithm that converts sequences to CIGAR.