Hi. I have the following sequence:
CAGGTGCAGCTGGTGCAGAGCGGCAGCGAGCTGAAGAAACCTGGCGCCTCCGTGAAGGTGTCCTGCAAGGCCAGCGGCTACACCTTCACCAGCTACGCCATGAACTGGGTCCGCCAGGCCCCAGGCCAGGGACTGGAATGGATGGGCTGGATCAACACCAACACCGGCAACCCCACCTACGCCCAGGGCTTCACCGGCAGATTCGTGTTCAGCTTCGACACCAGCGTGTCCACCGCCTACCTGCAGATCTGTAGCCTGAAGGCCGAGGACACCGCCGTGTATTNNTGTGCGA
There are a couple of N's in there. I would like to use biopython's translate function on the seuqence, but this throws the following error: "Codon TNN is invalid"
Is there a way to get this function to return a default amino acid such as 'X' when the translation is unsuccessful? Any ideas?
which version of biopython are you using?