public final class SMILES extends Object
| Constructor and Description |
|---|
SMILES() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
containsGenericStructurePolymer(List<org.helm.notation2.parser.notation.polymer.PolymerNotation> polymers)
method if the any of the given PolymerNotation contains generic
structures
|
static String |
convertMolToSMILESWithAtomMapping(String molfile,
List<Attachment> attachments)
Converts molfile with the given attachments in smiles with atom mapping
|
static String |
getCanonicalSMILESForAll(org.helm.notation2.parser.notation.HELM2Notation helm2notation)
method to generate canonical smiles for the whole HELMNotation
|
static String |
getCanonicalSMILESForPolymer(org.helm.notation2.parser.notation.polymer.PolymerNotation polymer)
method to generate canonical smiles for one single PolymerNotation
|
static String |
getSMILESForAll(org.helm.notation2.parser.notation.HELM2Notation helm2notation)
method to generate smiles for the whole HELMNotation
|
static String |
getSMILESforPolymer(org.helm.notation2.parser.notation.polymer.PolymerNotation polymer)
method to generate smiles for one single PolymerNotation
|
static String |
getUniqueExtendedSMILES(String smiles) |
public static String getSMILESForAll(org.helm.notation2.parser.notation.HELM2Notation helm2notation) throws BuilderMoleculeException, org.helm.chemtoolkit.CTKException, ChemistryException
helm2notation - input HELMNotationBuilderMoleculeException - if the molecule can't be builtorg.helm.chemtoolkit.CTKException - general ChemToolKit exception passed to HELMToolKitChemistryException - if the Chemistry Engine can not be initializedpublic static String getCanonicalSMILESForAll(org.helm.notation2.parser.notation.HELM2Notation helm2notation) throws BuilderMoleculeException, org.helm.chemtoolkit.CTKSmilesException, org.helm.chemtoolkit.CTKException, NotationException, ChemistryException
helm2notation - input HELMNotationBuilderMoleculeException - if the molecule can't be builtorg.helm.chemtoolkit.CTKSmilesException - if it contains an invalid smilesorg.helm.chemtoolkit.CTKException - general ChemToolKit exception passed to HELMToolKitNotationException - if notation is not validChemistryException - if the Chemistry Engine can not be initializedpublic static boolean containsGenericStructurePolymer(List<org.helm.notation2.parser.notation.polymer.PolymerNotation> polymers) throws HELM2HandledException, ChemistryException, IOException, org.helm.chemtoolkit.CTKException
polymers - list of polymernotationsHELM2HandledException - if it contains HELM2 specific features, so that it can not be
casted to HELM1 FormatChemistryException - if chemistry engine can not be initializedIOException - if monomer can not be read by chemistryorg.helm.chemtoolkit.CTKException - general ChemToolKit exception passed to HELMToolKitpublic static String getUniqueExtendedSMILES(String smiles)
smiles - given smilespublic static String getCanonicalSMILESForPolymer(org.helm.notation2.parser.notation.polymer.PolymerNotation polymer) throws BuilderMoleculeException, HELM2HandledException, org.helm.chemtoolkit.CTKSmilesException, org.helm.chemtoolkit.CTKException, NotationException, ChemistryException
polymer - PolymerNotationBuilderMoleculeException - if the molecule can't be builtHELM2HandledException - if it contains HELM2 specific features, so that it can not be
casted to HELM1 Formatorg.helm.chemtoolkit.CTKSmilesException - if it contains an invalid smilesorg.helm.chemtoolkit.CTKException - general ChemToolKit exception passed to HELMToolKitNotationException - if notation is not validChemistryException - if the Chemistry Engine can not be initializedpublic static String getSMILESforPolymer(org.helm.notation2.parser.notation.polymer.PolymerNotation polymer) throws BuilderMoleculeException, HELM2HandledException, org.helm.chemtoolkit.CTKSmilesException, org.helm.chemtoolkit.CTKException, NotationException, ChemistryException
polymer - PolymerNotationBuilderMoleculeException - if the molecule can't be builtHELM2HandledException - if it contains HELM2 specific features, so that it can not be
casted to HELM1 Formatorg.helm.chemtoolkit.CTKSmilesException - if it contains an invalid smilesorg.helm.chemtoolkit.CTKException - general ChemToolKit exception passed to HELMToolKitNotationException - if notation is not validChemistryException - if the Chemistry Engine can not be initializedpublic static String convertMolToSMILESWithAtomMapping(String molfile, List<Attachment> attachments) throws org.helm.chemtoolkit.CTKException, ChemistryException
molfile - given molfileattachments - given attachments of the molfileorg.helm.chemtoolkit.CTKException - if the molfile can not be converted to smilesChemistryException - if the Chemistry Engine can not be initializedCopyright © 2017. All rights reserved.