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

            Show
            kgopu Kaushik Gopu added a comment - Pull request submitted: https://bitbucket.org/lorainelab/integrated-genome-browser/pull-requests/932
            Hide
            ann.loraine Ann Loraine added a comment - - edited

            The PR's source branch is missing a commit that is on the target branch in the target repository - "master".

            See: hosted https://bitbucket.org/kaushik-gopu/kgopu_integrated-genome-browser/commits/?search=IGBF-3236

            To ensure the cleanest possible history, rebase development branch IGBF-3236 onto the most recent commit on the master branch, from the team repository.

            To check that my concern is right, run the branch IGBF-3236 installer and look for Kaushik Gopu's name in the credits, as this appears to be the missing commit.

            Show
            ann.loraine Ann Loraine added a comment - - edited The PR's source branch is missing a commit that is on the target branch in the target repository - "master". See: hosted https://bitbucket.org/kaushik-gopu/kgopu_integrated-genome-browser/commits/?search=IGBF-3236 To ensure the cleanest possible history, rebase development branch IGBF-3236 onto the most recent commit on the master branch, from the team repository. To check that my concern is right, run the branch IGBF-3236 installer and look for Kaushik Gopu 's name in the credits, as this appears to be the missing commit.
            Hide
            kgopu Kaushik Gopu added a comment -

            rebased IGBF-3236 onto the most recent commit on the master branch, from the team repo.
            pull request submitted: https://bitbucket.org/lorainelab/integrated-genome-browser/pull-requests/933

            Show
            kgopu Kaushik Gopu added a comment - rebased IGBF-3236 onto the most recent commit on the master branch, from the team repo. pull request submitted: https://bitbucket.org/lorainelab/integrated-genome-browser/pull-requests/933
            Hide
            ann.loraine Ann Loraine added a comment -

            PR is merged. Master branch installers are built and ready for testing.

            Show
            ann.loraine Ann Loraine added a comment - PR is merged. Master branch installers are built and ready for testing.
            Hide
            nfreese Nowlan Freese added a comment -

            Tested on Mac using master branch installer.

            Following same testing outlined in previous commit, all searches are working correctly.

            Closing ticket.

            Show
            nfreese Nowlan Freese added a comment - Tested on Mac using master branch installer. Following same testing outlined in previous commit, all searches are working correctly. Closing ticket.

              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: