Computing sequence distance according to the number of unmatched bases.

get.seq.distance(germline, sequence)

Arguments

germline

A string representing the germline sequence.

sequence

A string of the sequence to be compared, which has the same length as germline.

Value

the number of unmatched bases in 2 sequences.