ncbi / icn3d

web-based protein structure viewer and analysis tool interactively or in batch mode
https://www.ncbi.nlm.nih.gov/Structure/icn3d
Other
154 stars 42 forks source link

The highlight for a chain name goes away when the second chain in an aligned pair is selected. #67

Open digitalbio opened 3 years ago

digitalbio commented 3 years ago
  1. I used VAST+ to get an alignment from 7A94 and 7KRQ.
  2. Opened the 2D Diagram, selected chain D from 7A94 and changed the color to brown.
  3. Selected chain A from the 2D diagram and changed the color to cyan.
  4. Selected chain C in the "Select residues in aligned sequences" window and changed the color to cyan.
  5. Clicked 7A94_B in the "Select residues in aligned sequences" window.
  6. Held down the command key and clicked 7KQR_A in the "Select residues in aligned sequences" window.

Result: Both amino acid sequences were highlighted. The chain name for 7KQR_A was highlighted. The yellow highlight for the 7A94_B chain name disappeared. This is shown in the image below.

Expectation: I expected both chain names to be highlighted in addition to the amino acid sequences.

Here are the commands:

load alignment 192475,1,200478,1 | parameters &showalignseq=1&align=192475,1,200478,1&atype=0 view interactions select chain 7A94_D color F4A460 select chain 7A94_A select alignChain 7KRQ_C select alignChain 7KRQ_C select alignChain 7A94_A select sets align_7KRQ_C or align_7A94_A select alignChain 7A94_A color 0FF select alignChain 7KRQ_C color 0FF select alignChain 7A94_B select alignChain 7KRQ_A select sets align_7A94_B or align_7KRQ_A

Screen Shot 2021-11-23 at 8 54 03 AM
jiywang3 commented 3 years ago

This needs to be improved. Currently only the current selected title will be highlighted. When you drag on any sequences, all highlights on the chains will be cleared. So multiple factors are involved without defining a selection mode in the UI.