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

Change default name for bookmarks

    Details

    • Story Points:
      0.25
    • Sprint:
      Spring 1 2022 Jan 3 - Jan 14, Spring 2 2022 Jan 18 - Jan 28

      Description

      Currently, bookmark "default name" looks like:

      H_sapiens_Dec_2013, chr1 : 0 - 248,956,422

      The "default name" is getting constructed from the genome name (e.g., H_sapiens_Dec_2013), the currently viewed chromosome (e.g., chr1), and the currently visible region (e.g., 0 - 248,956,422).

      The format of the default name is OK, but it would be more useful if it used a format accepted by the "samtools view" command. (Samtools is a very popular program in bioinformatics.)

      Samtools view accepts a region string that looks like:

      chr1:0-248,956,422

      Note it is very similar to our current "default" name, but ours contains space characters.

      Let's modify our "default" name to look like what samtools view accepts, by removing the space characters in the region string part.

      For example:

      H_sapiens_Dec_2013, chr1 : 0 - 248,956,422

      will be instead:

      H_sapiens_Dec_2013, chr1:0-248,956,422

      Please change the format so that the "default name" is

        Attachments

          Issue Links

            Activity

            ann.loraine Ann Loraine created issue -
            ann.loraine Ann Loraine made changes -
            Field Original Value New Value
            Epic Link IGBF-1765 [ 17855 ]
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]
            ann.loraine Ann Loraine made changes -
            Link This issue relates to IGBF-3008 [ IGBF-3008 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            omarne Omkar Marne (Inactive) made changes -
            Assignee Omkar Marne [ omarne ]
            omarne Omkar Marne (Inactive) made changes -
            Attachment New bookmark name format.png [ 17062 ]
            Hide
            omarne Omkar Marne (Inactive) added a comment - - edited

            I edited the default bookmark name format in BookmarkController.java file. Spaces in the name are no longer visible. Please see attached screenshot.

            Show
            omarne Omkar Marne (Inactive) added a comment - - edited I edited the default bookmark name format in BookmarkController.java file. Spaces in the name are no longer visible. Please see attached screenshot.
            omarne Omkar Marne (Inactive) made changes -
            Attachment New bookmark name format.png [ 17062 ]
            omarne Omkar Marne (Inactive) made changes -
            Attachment New Bookmark name format.png [ 17064 ]
            Hide
            omarne Omkar Marne (Inactive) added a comment -

            Dr. [~aloraine] Please see my changes here

            Show
            omarne Omkar Marne (Inactive) added a comment - Dr. [~aloraine] Please see my changes here
            omarne Omkar Marne (Inactive) made changes -
            Assignee Omkar Marne [ omarne ] Ann Loraine [ aloraine ]
            omarne Omkar Marne (Inactive) made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            omarne Omkar Marne (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            Hide
            ann.loraine Ann Loraine added a comment - - edited

            Please squash the commits into one so that when you submit the PR, there will be only one committed change to the codebase. Other than this, the changes are fine. When that is done, submit the PR for merging.

            Show
            ann.loraine Ann Loraine added a comment - - edited Please squash the commits into one so that when you submit the PR, there will be only one committed change to the codebase. Other than this, the changes are fine. When that is done, submit the PR for merging.
            ann.loraine Ann Loraine made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            ann.loraine Ann Loraine made changes -
            Status First Level Review in Progress [ 10301 ] To-Do [ 10305 ]
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ] Omkar Marne [ omarne ]
            omarne Omkar Marne (Inactive) made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            Hide
            omarne Omkar Marne (Inactive) added a comment -
            Show
            omarne Omkar Marne (Inactive) added a comment - Dr. [~aloraine] Please find my pull requests. https://bitbucket.org/lorainelab/integrated-genome-browser/pull-requests/894/igbf-3032
            ann.loraine Ann Loraine made changes -
            Attachment conflict.png [ 17067 ]
            Hide
            ann.loraine Ann Loraine added a comment -

            I am not able to merge the PR due to a conflict. Please see attached.
            attn: Omkar Marne

            Show
            ann.loraine Ann Loraine added a comment - I am not able to merge the PR due to a conflict. Please see attached. attn: Omkar Marne
            Show
            omarne Omkar Marne (Inactive) added a comment - - edited Dr. [~aloraine] Please find my new pull request : https://bitbucket.org/lorainelab/integrated-genome-browser/pull-requests/895/igbf-3032-new-name-format-for-bookmark
            omarne Omkar Marne (Inactive) made changes -
            Assignee Omkar Marne [ omarne ] Ann Loraine [ aloraine ]
            omarne Omkar Marne (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            omarne Omkar Marne (Inactive) made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            omarne Omkar Marne (Inactive) made changes -
            Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
            omarne Omkar Marne (Inactive) made changes -
            Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
            ann.loraine Ann Loraine made changes -
            Sprint Spring 1 2022 Jan 3 - Jan 14 [ 136 ] Spring 1 2022 Jan 3 - Jan 14, Spring 2 2022 Jan 18 - Jan 28 [ 136, 137 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
            Hide
            ann.loraine Ann Loraine added a comment -

            PR is merged. Building master branch installers.

            Show
            ann.loraine Ann Loraine added a comment - PR is merged. Building master branch installers.
            ann.loraine Ann Loraine made changes -
            Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]
            Hide
            ann.loraine Ann Loraine added a comment -

            Master branch installers are deployed to the IGB early access section of bioviz main Web site. Ready for testing.

            Show
            ann.loraine Ann Loraine added a comment - Master branch installers are deployed to the IGB early access section of bioviz main Web site. Ready for testing.
            Hide
            omarne Omkar Marne (Inactive) added a comment - - edited

            Testing protocol:

            • Please pull the latest changes made in the IGB code.
            • Open IGB local environment and select any genome
            • Open the bookmark menu.
            • The format of the default bookmark name should be like H_sapiens_Dec_2013, chr1:0-248,956,422 instead of H_sapiens_Dec_2013, chr1 : 0 - 248,956,422.
            • The spaces between the numbers and before and after colon have been removed.
            Show
            omarne Omkar Marne (Inactive) added a comment - - edited Testing protocol: Please pull the latest changes made in the IGB code. Open IGB local environment and select any genome Open the bookmark menu. The format of the default bookmark name should be like H_sapiens_Dec_2013, chr1:0-248,956,422 instead of H_sapiens_Dec_2013, chr1 : 0 - 248,956,422. The spaces between the numbers and before and after colon have been removed.
            Hide
            nfreese Nowlan Freese added a comment -

            Tested on Mac, working correctly, no errors in log.

            Closing ticket.

            Show
            nfreese Nowlan Freese added a comment - Tested on Mac, working correctly, no errors in log. Closing ticket.
            nfreese Nowlan Freese made changes -
            Assignee Omkar Marne [ omarne ]
            nfreese Nowlan Freese made changes -
            Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
            nfreese Nowlan Freese made changes -
            Resolution Done [ 10000 ]
            Status Post-merge Testing In Progress [ 10003 ] Closed [ 6 ]
            nfreese Nowlan Freese made changes -
            Fix Version/s 9.1.10 Major Release [ 10700 ]

              People

              • Assignee:
                omarne Omkar Marne (Inactive)
                Reporter:
                ann.loraine Ann Loraine
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: