posts - 431,  comments - 344,  trackbacks - 0

          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 周銳 閱讀(740) 評論(0)  編輯  收藏 所屬分類: ChemistryJavaCDK
          主站蜘蛛池模板: 青冈县| 炎陵县| 宣威市| 东乡族自治县| 赣州市| 织金县| 南城县| 巴中市| 肃北| 阿尔山市| 宜阳县| 宁明县| 绥棱县| 宜章县| 镇康县| 邛崃市| 洪江市| 邵阳市| 温州市| 娱乐| 平利县| 阆中市| 长岛县| 昭苏县| 砚山县| 厦门市| 那曲县| 浮梁县| 武安市| 阳朔县| 图木舒克市| 清镇市| 寿光市| 双桥区| 大同县| 沁阳市| 井研县| 西林县| 宣汉县| 普宁市| 珠海市|