public class MoleculeReader extends net.idea.modbcum.p.DefaultAmbitProcessor<IStructureRecord,org.openscience.cdk.interfaces.IAtomContainer>
Modifier and Type | Field and Description |
---|---|
protected boolean |
atomtypingonsmiles |
protected CASProcessor |
casTransformer |
protected org.openscience.cdk.tools.CDKHydrogenAdder |
hadder |
protected org.openscience.cdk.inchi.InChIGeneratorFactory |
inchiFactory |
protected boolean |
removeCDKTitle |
protected org.openscience.cdk.smiles.SmilesParser |
smiParser |
Constructor and Description |
---|
MoleculeReader() |
MoleculeReader(boolean atomtypingonsmiles,
boolean removeCDKTitle) |
Modifier and Type | Method and Description |
---|---|
protected org.openscience.cdk.interfaces.IAtomContainer |
handleFormat(IStructureRecord.MOL_TYPE format,
IStructureRecord target) |
boolean |
isAtomtypingonsmiles() |
boolean |
isRemoveCDKTitle() |
org.openscience.cdk.interfaces.IAtomContainer |
process(IStructureRecord target) |
void |
setAtomtypingonsmiles(boolean atomtypingonsmiles) |
void |
setRemoveCDKTitle(boolean removeCDKTitle) |
protected org.openscience.cdk.inchi.InChIGeneratorFactory inchiFactory
protected CASProcessor casTransformer
protected org.openscience.cdk.smiles.SmilesParser smiParser
protected org.openscience.cdk.tools.CDKHydrogenAdder hadder
protected boolean atomtypingonsmiles
protected boolean removeCDKTitle
public MoleculeReader()
public MoleculeReader(boolean atomtypingonsmiles, boolean removeCDKTitle)
public boolean isRemoveCDKTitle()
public void setRemoveCDKTitle(boolean removeCDKTitle)
public boolean isAtomtypingonsmiles()
public void setAtomtypingonsmiles(boolean atomtypingonsmiles)
public org.openscience.cdk.interfaces.IAtomContainer process(IStructureRecord target) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
protected org.openscience.cdk.interfaces.IAtomContainer handleFormat(IStructureRecord.MOL_TYPE format, IStructureRecord target) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.