|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.fragmenter.MoleculeFragmenter
public class MoleculeFragmenter
MoleculeFragmenter class can create all possible fragments (in SMILES) of a Molecule by cleave CCQ bonds. CCQ means two neighbour carbon atoms and one of them connects to a hetero (non-carbon) atom. Molecule fragmenter will cleave between the carbon atoms.
Usage:
Molecule molecule = MolImporter.impotMol("CCNC(CCO)(CCO)");
MoleculeFragmenter fragmenter = new MoleculeFragmenter();
fragmenter.setMolecule(molecule);
String[] fragments = fragmenter.calculateFragmentsArray();
Licensable| Constructor Summary | |
|---|---|
MoleculeFragmenter()
Constructs a MoleculeFragmenter instance |
|
| Method Summary | |
|---|---|
java.util.Collection<java.lang.String> |
calculateFragments()
Calculate the fragments from the setted molecule |
java.lang.String[] |
calculateFragments(Molecule molecule)
Sets the molecule. |
java.lang.String[] |
calculateFragmentsArray()
Calculate fragments array from the molecule |
boolean |
isCleaveAliphaticRingBonds()
Returns true if fragmenter cut CCQ bonds in aliphatic rings, false otherwise |
boolean |
isCleaveAromaticBonds()
|
boolean |
isExplicitizedOutput()
|
boolean |
isLicensed()
|
static void |
main(java.lang.String[] args)
The main function of the CMD line tool |
void |
setCleaveAliphaticRingBonds(boolean cleaveAliphaticRingBonds)
Sets the cleaveAliphaticRingBonds. |
void |
setCleaveAromaticBonds(boolean cleaveAromaticBonds)
Sets cleaveAromaticBonds. |
void |
setExplicitizedOutput(boolean explicitizedOutput)
Sets explicitizedOutput. |
void |
setLicenseEnvironment(java.lang.String env)
|
void |
setMaxBondCount(int maxBondCount)
Sets max bond count. |
void |
setMolecule(Molecule molecule)
Sets the molecule (all hydrogenes will be implicitized) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MoleculeFragmenter()
MoleculeFragmenter instance
| Method Detail |
|---|
public java.util.Collection<java.lang.String> calculateFragments()
throws chemaxon.license.LicenseException
Collection containing fragments in smiles:q representation
chemaxon.license.LicenseException - when licensing problem found
public java.lang.String[] calculateFragmentsArray()
throws chemaxon.license.LicenseException
String array containing fragments in smiles:q representation
chemaxon.license.LicenseException - when licensing problem found
public java.lang.String[] calculateFragments(Molecule molecule)
throws chemaxon.license.LicenseException
molecule - the Molecule instance
String array containing fragments in smiles:q representation
chemaxon.license.LicenseException - when licensing problem foundpublic void setMolecule(Molecule molecule)
molecule - the Molecule instancepublic void setMaxBondCount(int maxBondCount)
maxBondCount - the maximal count of CCQ bonds in fragmentspublic boolean isExplicitizedOutput()
public void setExplicitizedOutput(boolean explicitizedOutput)
explicitizedOutput - is a boolean valuepublic boolean isCleaveAromaticBonds()
public void setCleaveAromaticBonds(boolean cleaveAromaticBonds)
cleaveAromaticBonds - is a boolean valuepublic boolean isCleaveAliphaticRingBonds()
public void setCleaveAliphaticRingBonds(boolean cleaveAliphaticRingBonds)
cleaveAliphaticRingBonds - the boolean value to setpublic boolean isLicensed()
isLicensed in interface chemaxon.license.Licensablepublic void setLicenseEnvironment(java.lang.String env)
setLicenseEnvironment in interface chemaxon.license.Licensablepublic static void main(java.lang.String[] args)
args - the CMD line arguments
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||