distToNearest needs better error checking

Issue #18 resolved
Jason Vander Heiden created an issue

distToNearest() doesn't check for invalid characters in the sequences. It would probably be best to add a function to check sequence columns for valid data, similar to checkColumns(). The function needs to handle the different valid character contexts of all the models. For example: DNA and AA sequences, ambiguous characters being allowed in Hamming distance but not other distances, etc.

Comments (3)

  1. Log in to comment