From 074f9cba8fb5018152468f19e403bff7ea2dfc1f Mon Sep 17 00:00:00 2001 From: BobHanson Date: Sat, 6 Jun 2020 12:36:34 -0500 Subject: [PATCH] JAL-3446 adds Jmol viewer embedding. --- .../site-resources/jalview_embedded_example1.html | 32 ++++++++++++-------- 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/utils/jalviewjs/site-resources/jalview_embedded_example1.html b/utils/jalviewjs/site-resources/jalview_embedded_example1.html index 0dd1052..99ae68e 100644 --- a/utils/jalviewjs/site-resources/jalview_embedded_example1.html +++ b/utils/jalviewjs/site-resources/jalview_embedded_example1.html @@ -26,12 +26,13 @@ Info = { jvGet = function(what) { switch(what) { case "tree": - Jalview.app.openTreePanel$jalview_gui_AlignFrame$S$S(null, "NJ","BLOSUM62") + Jalview.app.openTreePanel(null, "NJ","BLOSUM62") break; case "pca": - Jalview.app.openPcaPanel$jalview_gui_AlignFrame$S(null, "BLOSUM62") + Jalview.app.openPcaPanel(null, "BLOSUM62") break; case "3D": + Jalview.app.showStructure(null, "1a70", "mmcif"); break; } @@ -87,11 +88,12 @@ The alignment frame will appear here momentarily. When it does, you can go ahead + + +
Select a few alignments by left-dragging across a few rows of the alignment to make a selection box. Then click one of the buttons below to see more information about your selected subset of the alignment. -
    -
  • -
  • -
- +

+ +

+One more thing. Let's take a look at the 3D structure of one these proteins. Ferredoxins are important, because they have +iron-sulfur clusters that can accept and deliver electrons in metabolic processes. Let's see if we can find it. +

@@ -99,12 +101,14 @@ Then click one of the buttons below to see more information about your selected




-Jalview-tree-div +Jalview-tree-div




-Jalview-pca-div +Jalview-pca-div +

+
@@ -113,19 +117,23 @@ Jalview-pca-div
-- 1.7.10.2