Package net.bioclipse.managers
Class OpsinManager
java.lang.Object
net.bioclipse.managers.OpsinManager
- All Implemented Interfaces:
IBactingManager
,net.bioclipse.managers.business.IBioclipseManager
Bioclipse manager that wraps OPSIN functionality for processing
IUPAC names.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoi()
Lists the DOIs of the articles associated to this manager.net.bioclipse.cdk.domain.ICDKMolecule
parseIUPACName
(String iupacName) Parses a IUPAC name into a molecule.parseIUPACNameAsCML
(String iupacName) Parses a IUPAC name into a molecule.parseIUPACNameAsSMILES
(String iupacName) Parses a IUPAC name into a molecule.
-
Constructor Details
-
OpsinManager
Creates a newOpsinManager
.- Parameters:
workspaceRoot
- location of the workspace, e.g. "."
-
-
Method Details
-
parseIUPACName
public net.bioclipse.cdk.domain.ICDKMolecule parseIUPACName(String iupacName) throws net.bioclipse.core.business.BioclipseException Parses a IUPAC name into a molecule.- Parameters:
iupacName
- the IUPAC name- Returns:
- the molecule as
ICDKMolecule
- Throws:
net.bioclipse.core.business.BioclipseException
-
parseIUPACNameAsCML
public String parseIUPACNameAsCML(String iupacName) throws net.bioclipse.core.business.BioclipseException Parses a IUPAC name into a molecule.- Parameters:
iupacName
- the IUPAC name- Returns:
- the molecule as CML string
- Throws:
net.bioclipse.core.business.BioclipseException
-
parseIUPACNameAsSMILES
public String parseIUPACNameAsSMILES(String iupacName) throws net.bioclipse.core.business.BioclipseException Parses a IUPAC name into a molecule.- Parameters:
iupacName
- the IUPAC name- Returns:
- the molecule as SMILES string
- Throws:
net.bioclipse.core.business.BioclipseException
-
getManagerName
- Specified by:
getManagerName
in interfacenet.bioclipse.managers.business.IBioclipseManager
-
doi
Description copied from interface:IBactingManager
Lists the DOIs of the articles associated to this manager.- Specified by:
doi
in interfaceIBactingManager
- Returns:
- a
List
of String with DOIs
-