package com.founder.cdk;
import Java.util.BitSet;
import org.openscience.cdk.DefaultChemObjectBuilder;
import org.openscience.cdk.exception.CDKException;
import org.openscience.cdk.exception.InvalidSmilesException;
import org.openscience.cdk.fingerprint.ExtendedFingerprinter;
import org.openscience.cdk.smiles.SmilesParser;
public class FingerprinterTest {
/**
* @param args
* @throws CDKException
* @throws InvalidSmilesException
*/
public static void main(String[] args) throws InvalidSmilesException, CDKException {
ExtendedFingerprinter fingerprinter = new ExtendedFingerprinter();
SmilesParser sp = new SmilesParser(DefaultChemObjectBuilder.getInstance());
BitSet bt = fingerprinter.getFingerprint(sp.parseSmiles("c2ccc1ccccc1c2"));
}
}
posted on 2009-10-26 22:24
周锐 阅读(702)
评论(0) 编辑 收藏 所属分类:
Chemistry 、
Java 、
CDK