Uploaded image for project: 'Bug Repository'
  1. Bug Repository
  2. BUG-571

please add ability to copy protein sequence

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Labels:
      None
    • Environment:

      IGB 6.7

      Description

      Please add a new feature to the Sequence Viewer. Hopefully this can be added to IGB 6.7 in addition to IGB 7.0?

      If Anuj is available, maybe he could work on this? Whatever you would like to do is fine.

      What we need is a way for users to copy the translations to the clipboard so that they can then run the sequences in blastp search.

      The way this would work is:

      • Under Edit menu, there is a new option "Copy translation to clipboard" with sub-options for each frame:

      +1 Translation
      +2 Translation
      +3 Translation
      -1 Translation
      -2 Translation
      -3 Translation

      Only one Translation can be copied to the clipboard at a time.

      Also, no selection is necessary. The translation for whatever genomic or cDNA sequence being shown in the viewer is copied to the clipboard.

      Also, under Edit menu, there is an option:

      "Copy annotated translation to clipboard" with no sub-menus.

      This option is active only if the feature being shown has an annotated translation. When the user chooses this option, only the annotated translation is copied. (This starts with ATG and ends with a stop code, e.g., TAG)

        Attachments

          Issue Links

            Activity

            ann.loraine Ann Loraine created issue -
            hiralv Hiral Vora (Inactive) made changes -
            Field Original Value New Value
            Assignee Hiral Vora [ hiralv ] Anuj Puram [ anuj ]
            Hide
            anuj Anuj Puram (Inactive) added a comment - - edited

            Added in v12454 (IGB 7.0)

            Show
            anuj Anuj Puram (Inactive) added a comment - - edited Added in v12454 (IGB 7.0)
            anuj Anuj Puram (Inactive) made changes -
            Assignee Anuj Puram [ anuj ] Ann Loraine [ aloraine ]
            Hide
            anuj Anuj Puram (Inactive) added a comment - - edited

            Added in 6_7 branch in v12455

            Show
            anuj Anuj Puram (Inactive) added a comment - - edited Added in 6_7 branch in v12455
            Hide
            ann.loraine Ann Loraine added a comment -

            Please test.

            Show
            ann.loraine Ann Loraine added a comment - Please test.
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ] Alyssa Gulledge [ alyssa ]
            Hide
            alyssa Alyssa Gulledge (Inactive) added a comment -

            currently the +1 and -1 translation is returning the same results, which is wrong. (the same is happening for the +2/ -2 and +3/ -3)

            Show
            alyssa Alyssa Gulledge (Inactive) added a comment - currently the +1 and -1 translation is returning the same results, which is wrong. (the same is happening for the +2/ -2 and +3/ -3)
            alyssa Alyssa Gulledge (Inactive) made changes -
            Assignee Alyssa Gulledge [ alyssa ] Anuj Puram [ anuj ]
            Hide
            alyssa Alyssa Gulledge (Inactive) added a comment -

            Also - I got this exception:

            Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: -1
            at com.affymetrix.genoviz.util.DNAUtils.translate(DNAUtils.java:1090)
            at com.affymetrix.genoviz.util.DNAUtils.translate(DNAUtils.java:943)
            at com.affymetrix.genoviz.util.DNAUtils.translate(DNAUtils.java:919)
            at com.affymetrix.igb.view.AbstractSequenceViewer.copyTransAction(AbstractSequenceViewer.java:655)
            at com.affymetrix.igb.view.CopyTransFromSeqViewerAction.actionPerformed(AbstractSequenceViewer.java:861)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
            at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
            at javax.swing.AbstractButton.doClick(AbstractButton.java:389)
            at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
            at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:137)
            at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
            at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
            at java.awt.Component.processMouseEvent(Component.java:6382)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
            at java.awt.Component.processEvent(Component.java:6147)
            at java.awt.Container.processEvent(Container.java:2083)
            at java.awt.Component.dispatchEventImpl(Component.java:4744)
            at java.awt.Container.dispatchEventImpl(Container.java:2141)
            at java.awt.Component.dispatchEvent(Component.java:4572)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4280)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4210)
            at java.awt.Container.dispatchEventImpl(Container.java:2127)
            at java.awt.Window.dispatchEventImpl(Window.java:2489)
            at java.awt.Component.dispatchEvent(Component.java:4572)
            at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:704)
            at java.awt.EventQueue.access$400(EventQueue.java:82)
            at java.awt.EventQueue$2.run(EventQueue.java:663)
            at java.awt.EventQueue$2.run(EventQueue.java:661)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
            at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
            at java.awt.EventQueue$3.run(EventQueue.java:677)
            at java.awt.EventQueue$3.run(EventQueue.java:675)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:674)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

            Show
            alyssa Alyssa Gulledge (Inactive) added a comment - Also - I got this exception: Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: -1 at com.affymetrix.genoviz.util.DNAUtils.translate(DNAUtils.java:1090) at com.affymetrix.genoviz.util.DNAUtils.translate(DNAUtils.java:943) at com.affymetrix.genoviz.util.DNAUtils.translate(DNAUtils.java:919) at com.affymetrix.igb.view.AbstractSequenceViewer.copyTransAction(AbstractSequenceViewer.java:655) at com.affymetrix.igb.view.CopyTransFromSeqViewerAction.actionPerformed(AbstractSequenceViewer.java:861) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.AbstractButton.doClick(AbstractButton.java:389) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809) at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:137) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272) at java.awt.Component.processMouseEvent(Component.java:6382) at javax.swing.JComponent.processMouseEvent(JComponent.java:3275) at java.awt.Component.processEvent(Component.java:6147) at java.awt.Container.processEvent(Container.java:2083) at java.awt.Component.dispatchEventImpl(Component.java:4744) at java.awt.Container.dispatchEventImpl(Container.java:2141) at java.awt.Component.dispatchEvent(Component.java:4572) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4280) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4210) at java.awt.Container.dispatchEventImpl(Container.java:2127) at java.awt.Window.dispatchEventImpl(Window.java:2489) at java.awt.Component.dispatchEvent(Component.java:4572) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:704) at java.awt.EventQueue.access$400(EventQueue.java:82) at java.awt.EventQueue$2.run(EventQueue.java:663) at java.awt.EventQueue$2.run(EventQueue.java:661) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98) at java.awt.EventQueue$3.run(EventQueue.java:677) at java.awt.EventQueue$3.run(EventQueue.java:675) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:674) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
            hiralv Hiral Vora (Inactive) made changes -
            Assignee Anuj Puram [ anuj ] Fuquan Wang [ fwang4 ]
            Hide
            fwang4 Fuquan Wang (Inactive) added a comment -

            Fixed in 13224

            Show
            fwang4 Fuquan Wang (Inactive) added a comment - Fixed in 13224
            fwang4 Fuquan Wang (Inactive) made changes -
            Assignee Fuquan Wang [ fwang4 ] Alyssa Gulledge [ alyssa ]
            alyssa Alyssa Gulledge (Inactive) made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Assignee Alyssa Gulledge [ alyssa ]
            Resolution Fixed [ 1 ]
            alyssa Alyssa Gulledge (Inactive) made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            alyssa Alyssa Gulledge (Inactive) made changes -
            Project IGB 6.7 [ 10040 ] Bug Repository [ 10030 ]
            Key IGBB-381 BUG-571
            Issue Type New Feature [ 2 ] Bug [ 1 ]
            richard Richard Linchangco (Inactive) made changes -
            Resolution Fixed [ 1 ]
            Status Closed [ 6 ] Reopened [ 4 ]
            alyssa Alyssa Gulledge (Inactive) made changes -
            Link This issue relates to BUG-608 [ BUG-608 ]
            alyssa Alyssa Gulledge (Inactive) made changes -
            Status Reopened [ 4 ] Closed [ 6 ]
            Resolution Fixed [ 1 ]

              People

              • Assignee:
                Unassigned
                Reporter:
                ann.loraine Ann Loraine
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: