Interface IFragmenter
- All Known Implementing Classes:
ExhaustiveFragmenter, MurckoFragmenter
public interface IFragmenter
An interface for classes implementing fragmentation algorithms.
- Author:
- Rajarshi Guha
- Keywords:
- fragment
-
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateFragments(IAtomContainer atomContainer) Generate fragments for the input molecule.String[]Get the fragments generated as SMILES strings.Get fragments generated asIAtomContainerobjects.
-
Method Details
-
generateFragments
Generate fragments for the input molecule.- Parameters:
atomContainer- The input molecule- Throws:
CDKException- if ring detection fails
-
getFragments
String[] getFragments()Get the fragments generated as SMILES strings.- Returns:
- a String[] of the fragments.
-
getFragmentsAsContainers
IAtomContainer[] getFragmentsAsContainers()Get fragments generated asIAtomContainerobjects.- Returns:
- an IAtomContainer[] of fragments
-