public class MultipleAlignmentJmolDisplay extends Object
MultipleAlignment
s.
Currently supported: Alignment Panel Display, select aligned residues in Jmol by their PDB name, show a text Frame for any sequence alignment format, basic Jmol display from a MultipleAlignment, generate an artificial PDB structure with a new model for every aligned structure.
Constructor and Description |
---|
MultipleAlignmentJmolDisplay() |
Modifier and Type | Method and Description |
---|---|
static MultipleAlignmentJmol |
display(MultipleAlignment multAln)
Display a MultipleAlignment with a JmolPanel.
|
static Structure |
getAlignedStructure(List<Atom[]> atomArrays)
Get an artifical Structure containing a different model for every
input structure, so that the alignment result can be viewed in Jmol.
|
static List<String> |
getPDBresnum(int structNum,
MultipleAlignment multAln,
Atom[] ca)
Utility method used in the
MultipleAlignmentJmol Frame,
when the aligned residues of a structure in the alignment have
to be selected for formatting them (coloring and style). |
static void |
showAlignmentImage(MultipleAlignment multAln,
String result)
Creates a new Frame with the String output representation of the
MultipleAlignment . |
static void |
showMultipleAligmentPanel(MultipleAlignment multAln,
AbstractAlignmentJmol jmol)
Creates a new Frame with the MultipleAlignment Sequence Panel.
|
public static List<String> getPDBresnum(int structNum, MultipleAlignment multAln, Atom[] ca)
MultipleAlignmentJmol
Frame,
when the aligned residues of a structure in the alignment have
to be selected for formatting them (coloring and style).structNum
- the structure index (row) of the alignmentmultAln
- the MultipleAlignment that contains the equivalent
positionsca
- the atom array of the structure specified
(corresponding to the structure index)public static void showMultipleAligmentPanel(MultipleAlignment multAln, AbstractAlignmentJmol jmol) throws StructureException
multAln
- jmol
- StructureException
public static void showAlignmentImage(MultipleAlignment multAln, String result)
MultipleAlignment
.multAln
- result
- String outputpublic static MultipleAlignmentJmol display(MultipleAlignment multAln) throws StructureException
multAln
- StructureException
public static final Structure getAlignedStructure(List<Atom[]> atomArrays) throws StructureException
atomArrays
- an array of Atoms for every aligned structureStructureException
Copyright © 2000–2016 BioJava. All rights reserved.