Skip to content
Snippets Groups Projects
Commit 61423bc5 authored by tjc's avatar tjc
Browse files

fix search for X on reverse strand

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@13019 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent c707b472
No related branches found
No related tags found
No related merge requests found
......@@ -675,7 +675,7 @@ public class AminoAcidSequence
amino_acid_string.charAt(amino_acid_string.length() - offset - 1);
// X matches any AA
if(amino_acid_char == 'x')
if(amino_acid_char == 'x' || amino_acid_char == 'X')
// X matches any AA
continue;
......@@ -727,7 +727,7 @@ public class AminoAcidSequence
amino_acid_string.charAt(amino_acid_string.length() - offset - 1);
// X matches any AA
if(amino_acid_char == 'x')
if(amino_acid_char == 'x' || amino_acid_char == 'X')
continue;
if(getCodonTranslation(base3, base2, base1) != amino_acid_char)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment