public class Cleaner extends Object
| Constructor and Description |
|---|
Cleaner() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
clean(MoleculeGraph mg,
int dim)
Calculates atom coordinates.
|
static boolean |
clean(MoleculeGraph mg,
int dim,
String opts)
Calculates atom coordinates.
|
static boolean |
clean(MoleculeGraph mg,
int dim,
String opts,
MProgressMonitor pmon)
Calculates atom coordinates.
|
static boolean |
partialClean(MoleculeGraph mg,
int dim,
int[] fixed,
String opts)
Calculates atom coordinates by using fixed atoms.
|
static boolean |
partialClean(MoleculeGraph mg,
MoleculeGraph template,
int[] map,
String opts)
Calculates atom coordinates by using the given template molecule.
|
static boolean |
partialClean(Molecule m,
Molecule[] template,
String opts)
Calculates atom coordinates by using the given template molecule array.
|
static boolean |
partialCleanWithStereo(MoleculeGraph mg,
int dim,
int[] fixed,
String opts)
Calculates atom coordinates by using fixed atoms.
|
public static boolean clean(MoleculeGraph mg, int dim, String opts, MProgressMonitor pmon)
mg - MoleculeGraph to clean.dim - dimensionsopts - cleaning optionspmon - progress monitor or nullpublic static boolean clean(MoleculeGraph mg, int dim, String opts)
mg - MoleculeGraph to clean.dim - dimensionsopts - cleaning optionspublic static boolean clean(MoleculeGraph mg, int dim)
mg - MoleculeGraph to clean.dim - dimensionsclean(MoleculeGraph, int, String)public static boolean partialClean(MoleculeGraph mg, MoleculeGraph template, int[] map, String opts)
mg - MoleculeGraph to clean.template - template molecule (substructure of the target)map - hit list which describes the atom mapping (the size equals to
the number of atoms in the template, contains target atom
indexes or -1 to exclude)opts -
cleaning optionspublic static boolean partialClean(MoleculeGraph mg, int dim, int[] fixed, String opts)
mg - MoleculeGraph to clean.dim - dimensionsfixed - fixed atom indexes, which are already cleanedopts - cleaning optionspublic static boolean partialCleanWithStereo(MoleculeGraph mg, int dim, int[] fixed, String opts)
partialClean(MoleculeGraph, int, int[], String)mg - MoleculeGraph to clean.dim - dimensionsfixed - fixed atom indexes, which are already cleanedopts - cleaning optionspublic static boolean partialClean(Molecule m, Molecule[] template, String opts)
m - Molecule to clean.template - template molecule array (substructure of the target)opts -
cleaning options