|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.util.HitDisplayUtil
public class HitDisplayUtil
Class providing some utility tools for displaying hit results with hit coloring, alignment, partial clean, etc.
| Constructor Summary | |
|---|---|
HitDisplayUtil()
|
|
| Method Summary | |
|---|---|
static void |
color(Molecule substructure,
Molecule molToColor,
HitColoringAndAlignmentOptions options)
Performs hit coloring on the specified structure |
static void |
color(Molecule substructure,
Molecule molToColor,
int[] hit,
HitColoringAndAlignmentOptions options)
Performs hit coloring on the specified structure |
protected static java.util.ArrayList |
getNonHitBonds(Molecule query,
Molecule target,
int[] hit)
Returns the bonds of the target molecule that should not be colored in hit highlighting. |
static Molecule |
getScaffoldOrientatedHit(Molecule scaffold,
Molecule molToAlign)
Only for internal use! |
static Molecule |
getScaffoldOrientatedHit(Molecule query,
Molecule target,
int[] hit)
Returns an aligned (rotated) version of molToAlign that contains scaffold - possibly in the same position or optimally close to it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HitDisplayUtil()
| Method Detail |
|---|
public static Molecule getScaffoldOrientatedHit(Molecule scaffold,
Molecule molToAlign)
scaffold - base for alignmentmolToAlign - molecule that should be aligned to scaffold
public static Molecule getScaffoldOrientatedHit(Molecule query,
Molecule target,
int[] hit)
scaffold - baseline for alignmentmolToAlign - molecule that should be aligned to scaffoldhit - ordered array (its size must be equal scaffold size),
describes matchings between scaffold and molToAlign atom indices
(e.g. scaffold[2] --> molToAlign[5] ==> hit[2] = 5)
public static void color(Molecule substructure,
Molecule molToColor,
HitColoringAndAlignmentOptions options)
substructure - the structure taken as a template for coloringmolToColor - the structure to be coloredhit - maps toms fo the template to atoms in the colored structureoptions - coloring options
public static void color(Molecule substructure,
Molecule molToColor,
int[] hit,
HitColoringAndAlignmentOptions options)
substructure - the structure taken as a template for coloringmolToColor - the structure to be coloredhit - maps toms fo the template to atoms in the colored structureoptions - coloring options
protected static java.util.ArrayList getNonHitBonds(Molecule query,
Molecule target,
int[] hit)
query - the query Moleculetarget - the target Moleculehit - the hit list
ArrayList contains MolBond
objects.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||