PairwiseAligner from BioPython.Align throws ValueError when letter in sequence isn't found in the subsitution matrix. BLOSUM62 (default) does not contain some extended IUPAC codes (e.g. U), causing crashes (https://github.com/gamcil/clinker/issues/11). This PR checks for missing codes and alters the matrix before alignments to mitigate this.
PairwiseAligner from BioPython.Align throws ValueError when letter in sequence isn't found in the subsitution matrix. BLOSUM62 (default) does not contain some extended IUPAC codes (e.g. U), causing crashes (https://github.com/gamcil/clinker/issues/11). This PR checks for missing codes and alters the matrix before alignments to mitigate this.