Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-3236

Interpret nucleotide symbols when searching by residue

    Details

    • Story Points:
      3
    • Sprint:
      Summer 3 2023 June 12, Summer 4 2023 June 26, Summer 5 2023 July 10

      Description

      Situation: Under the Advanced Search tab the Search can be set to residues. This is extremely useful as a user can search for primer locations or motifs. While the Residues search does allow for wildcards (.[]*) it does not appear to understand nucleotide symbols such as R [G/A] Y [C/T] etc. So a motif found in a paper such as CACRTS does not work correctly under the Advanced Search for Residues in IGB.

      Task: Expand the logic for IGB Advanced Search for Residues so that IGB can understand Nucleotide Symbols.

      R A or G
      Y C or T
      S G or C
      W A or T
      K G or T
      M A or C
      B C or G or T
      D A or G or T
      H A or C or T
      V A or C or G
      N any base

      For example, if a user were to currently use the Advanced Search for Residues in IGB to look for the motif RYSNATCG IGB would not be able to find the motif, as IGB does not understand what RYSN refers to. New logic needs to be added to IGB so that when searching, IGB understands that R can match to either A or G, Y matches C or T, etc.

        Attachments

        1. escape_working.png
          escape_working.png
          35 kB
        2. pattern_error.png
          pattern_error.png
          86 kB
        3. regex.png
          regex.png
          3 kB
        4. result.png
          result.png
          101 kB
        5. with_escape_character.png
          with_escape_character.png
          31 kB
        6. with_escape_character.png
          with_escape_character.png
          31 kB
        7. without_escape_character.png
          without_escape_character.png
          40 kB
        8. without_escape_character.png
          without_escape_character.png
          40 kB

          Issue Links

            Activity

            No work has yet been logged on this issue.

              People

              • Assignee:
                kgopu Kaushik Gopu
                Reporter:
                nfreese Nowlan Freese
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: