Class Cluster
java.lang.Object
ffx.utilities.FFXCommand
ffx.algorithms.cli.AlgorithmsCommand
ffx.algorithms.commands.Cluster
The Cluster script clusters structures utilizing RMSD.
The Iterative Hierarchical Clustering method was contributed by Yuya Kinoshita, Koki Nishimura and Masatoshi Karashima from Takeda Pharmaceuticals.
- Author:
- Aaron J. Nessler, Mallory R. Tollefson, Michael J. Schnieders
Usage:
ffxc Cluster [options] <filename>
-
Field Summary
Fields inherited from class AlgorithmsCommand
activeAssembly, algorithmFunctions, algorithmListener, baseDirFields inherited from class FFXCommand
args, binding, color, help, logger, parseResult, version -
Constructor Summary
ConstructorsConstructorDescriptionCluster()Cluster constructor.Cluster(FFXBinding binding) Cluster constructor.Cluster constructor that sets the command line arguments. -
Method Summary
Modifier and TypeMethodDescriptionList<org.apache.commons.math3.ml.clustering.CentroidCluster<Clustering.Conformation>> Return the Clusters.Returns a List of all Potential objects associated with this script.run()Execute the script.Methods inherited from class AlgorithmsCommand
destroyPotentials, getActiveAssemblies, getActiveAssembly, getPotentialsFromAssemblies, init, saveDirFile, setBaseDir, updateTitleMethods inherited from class FFXCommand
getCommand, helpString, listCommands, setBinding
-
Constructor Details
-
Cluster
public Cluster()Cluster constructor. -
Cluster
-
Cluster
Cluster constructor that sets the command line arguments.- Parameters:
args- Command line arguments.
-
-
Method Details
-
getClusterList
public List<org.apache.commons.math3.ml.clustering.CentroidCluster<Clustering.Conformation>> getClusterList()Return the Clusters.- Returns:
- Returns the generated clusters.
-
run
Execute the script.- Overrides:
runin classFFXCommand- Returns:
- The current FFXCommand.
-
getPotentials
Returns a List of all Potential objects associated with this script.- Overrides:
getPotentialsin classAlgorithmsCommand- Returns:
- All Potentials. Sometimes empty, never null.
-