com.actelion.research.chem.SSSearcherWithIndex Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openchemlib Show documentation
Show all versions of openchemlib Show documentation
Open Source Chemistry Library
/*
* Copyright (c) 1997 - 2016
* Actelion Pharmaceuticals Ltd.
* Gewerbestrasse 16
* CH-4123 Allschwil, Switzerland
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
* 3. Neither the name of the the copyright holder nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
package com.actelion.research.chem;
import java.util.ArrayList;
public class SSSearcherWithIndex {
public static final String cIndexVersion = "1.2.1";
public static final String[] cKeyIDCode = {
"QM@HzA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Vjjh@ZMaUpsYPaLJfxY@",
"QMPARZA@",
"sOq@@drm\\@@@|QX",
"HaD@@DjYvxH`@A@",
"HcL@@LdbbRNcBDQEP@McBDpj[ae]@",
"QMhDRZA@",
"RG@DXLHmP",
"QM`BN`XQYd",
"RG@DTLHmP",
"QMHAIXFEVd",
"QMDARVAaH",
"RFPDXLHmP",
"RF@Q`vRbdLEC@",
"RF@QpvR@",
"QO@HyjAmd`",
"`II@B",
"`II@CFspqJp",
"`II@CF[@hM@prB`",
"`H@[T[|B`XN@PdM@p|@bHrBcDk@",
"RG@DXMj}F@",
"QM`BN`[L~b@",
"RG@DTMj}D@",
"QMHAIXFt~j@",
"QMDARVA}L@",
"RFPDXMj}D@",
"sKP@Di\\YZ@[TQXqaa`@",
"RG@DXMH" };
private static StereoMolecule[] sKeyFragment;
private SSSearcher mSSSearcher;
private StereoMolecule mMolecule,mFragment;
private int[] mMoleculeIndex,mFragmentIndex;
private byte[] mMoleculeIDCode,mFragmentIDCode;
public static int getNoOfKeys() {
return cKeyIDCode.length;
}
public SSSearcherWithIndex() {
mSSSearcher = new SSSearcher();
init();
}
public SSSearcherWithIndex(int matchMode) {
mSSSearcher = new SSSearcher(matchMode);
init();
}
public StereoMolecule getKeyFragment(int no) {
return sKeyFragment[no];
}
public void setFragment(StereoMolecule fragment, int[] index) {
mFragmentIDCode = null;
mFragment = fragment;
if (index == null)
mFragmentIndex = createIndex(fragment);
else
mFragmentIndex = index;
}
public void setFragment(String idcode, int[] index) {
setFragment(idcode.getBytes(), index);
}
public void setFragment(byte[] idcode, int[] index) {
mFragmentIDCode = idcode;
if (index == null) {
mFragment = (new IDCodeParser(false)).getCompactMolecule(idcode);
mFragmentIndex = createIndex(mFragment);
}
else {
mFragment = null;
mFragmentIndex = index;
}
}
public void setMolecule(StereoMolecule molecule, int[] index) {
mMoleculeIDCode = null;
mMolecule = molecule;
if (index == null)
mMoleculeIndex = createIndex(molecule);
else
mMoleculeIndex = index;
}
public void setMolecule(String idcode, int[] index) {
setMolecule(idcode.getBytes(), index);
}
public void setMolecule(byte[] idcode, int[] index) {
mMoleculeIDCode = idcode;
if (index == null) {
mMolecule = (new IDCodeParser(false)).getCompactMolecule(idcode);
mMoleculeIndex = createIndex(mMolecule);
}
else {
mMolecule = null;
mMoleculeIndex = index;
}
}
public int getFirstHittingIndexBlockNo() {
for (int i=0; i
* Note: If some query fragment atoms are marked as exclude group, then the respective
* matchlist values are -1.
* @return list of distinct counted matches.
*/
public ArrayList getMatchList() {
return mSSSearcher.getMatchList();
}
public int[] createIndex(StereoMolecule mol) {
if (mol == null)
return null;
int[] index = new int[(cKeyIDCode.length+31)/32];
mol = removeExcludeGroups(mol);
mSSSearcher.setMolecule(mol);
for (int i=0; i 16)
code -= 7;
index[j] <<= 4;
index[j] += code;
}
return index;
}
public static int[] getIndexFromHexString(byte[] bytes) {
if (bytes==null || bytes.length==0 || (bytes.length & 7) != 0)
return null;
int[] index = new int[bytes.length/8];
for (int i=0; i 16)
code -= 7;
index[j] <<= 4;
index[j] += code;
}
return index;
}
public static String getHexStringFromIndex(int[] index) {
if (index == null)
return null;
byte[] bytes = new byte[index.length*8];
for (int i=0; i=0; j--) {
int code = value & 15;
if (code > 9)
code += 7;
bytes[i*8+j] = (byte)('0'+code);
value >>= 4;
}
}
return new String(bytes);
}
public static int bitCount(int x) {
int temp;
temp = 0x55555555;
x = (x & temp) + (x >>> 1 & temp);
temp = 0x33333333;
x = (x & temp) + (x >>> 2 & temp);
temp = 0x07070707;
x = (x & temp) + (x >>> 4 & temp);
temp = 0x000F000F;
x = (x & temp) + (x >>> 8 & temp);
return (x & 0x1F) + (x >>> 16);
}
private void init() {
synchronized(SSSearcherWithIndex.class) {
if (sKeyFragment == null) {
IDCodeParser theParser = new IDCodeParser(false);
sKeyFragment = new StereoMolecule[cKeyIDCode.length];
for (int i=0; i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy