public final class BuilderMolecule extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<org.helm.chemtoolkit.AbstractMolecule> |
buildMoleculefromPolymers(List<org.helm.notation2.parser.notation.polymer.PolymerNotation> polymers,
List<org.helm.notation2.parser.notation.connection.ConnectionNotation> connections)
method to build molecules for the whole HELMNotation
|
static RgroupStructure |
buildMoleculefromSinglePolymer(org.helm.notation2.parser.notation.polymer.PolymerNotation polymernotation)
method to build a molecule for a single polymer
|
static org.helm.chemtoolkit.AbstractMolecule |
getMolecule(String smiles) |
static org.helm.chemtoolkit.AbstractMolecule |
getMoleculeForMonomer(Monomer monomer)
method to build a molecule for a given monomer
|
static org.helm.chemtoolkit.AbstractMolecule |
mergeRgroups(org.helm.chemtoolkit.AbstractMolecule molecule)
method to merge all unused rgroups into a molecule
|
public static RgroupStructure buildMoleculefromSinglePolymer(org.helm.notation2.parser.notation.polymer.PolymerNotation polymernotation) throws BuilderMoleculeException, HELM2HandledException, ChemistryException
polymernotation - a single polymerBuilderMoleculeException - if the polymer type is BLOB or unknownHELM2HandledException - if the polymer contains HELM2 featuresChemistryException - if the Chemistry Engine can not be initializedpublic static List<org.helm.chemtoolkit.AbstractMolecule> buildMoleculefromPolymers(List<org.helm.notation2.parser.notation.polymer.PolymerNotation> polymers, List<org.helm.notation2.parser.notation.connection.ConnectionNotation> connections) throws BuilderMoleculeException, ChemistryException
polymers - all polymers of the HELMNotationconnections - all connections of the HELMNotationBuilderMoleculeException - if HELM2 features were containedChemistryException - if the Chemistry Engine can not be iniializedpublic static org.helm.chemtoolkit.AbstractMolecule mergeRgroups(org.helm.chemtoolkit.AbstractMolecule molecule)
throws BuilderMoleculeException,
ChemistryException
molecule - input moleculeBuilderMoleculeException - if the molecule can't be builtChemistryException - if the Chemistry Engine ca not be initializedpublic static org.helm.chemtoolkit.AbstractMolecule getMoleculeForMonomer(Monomer monomer) throws BuilderMoleculeException, ChemistryException
monomer - input monomerBuilderMoleculeException - if the monomer can't be builtChemistryException - if the Chemistry Engine can not be initializedpublic static org.helm.chemtoolkit.AbstractMolecule getMolecule(String smiles) throws IOException, org.helm.chemtoolkit.CTKException, ChemistryException
smiles - given input smilesChemistryException - if chemistry could not be initializedorg.helm.chemtoolkit.CTKException - general ChemToolKit exception passed to HELMToolKitIOException - if smiles can not be readCopyright © 2017. All rights reserved.