User b9aa8da57b
23-11-2016 21:45:18
Hi, I know the RgroupDecompostion can handle fused ring if R is inside a fused ring. I can see this clearly from RGroupDecomposition in JchemForExcel's function. When I try to do similar decomposition using Java RgroupDecomposition i cannot get the fused ring system decomposed at all. I have attached my query molecule and the molecule with fused ring that failed decomposition.
I suspect there might be a setting or parameter i did not set. I am using vanilla setting to initialize the RgroupDecomposition, and Decomposition object, following is how i did it. Can you let me know how i can make it handle the fused ring
I am using JChem 16.11.14.0 library
Thanks
Dong
//init rgd
RGroupDecomposition rgd = new RGroupDecomposition();
rgd.getSearchOptions().setRLigandEqualityCheck(false);
rgd.getSearchOptions().setBridgingRAllowed(false);
rgd.setAttachmentType(chemaxon.sss.search.RGroupDecomposition.ATTACHMENT_RLABEL);
public static Molecule[] decomposition(Molecule query, Molecule target){
Decomposition d = null;
st.standardize(query);
rgd.setQuery(query);
st.standardize(target);
rgd.setTarget(target);
try{
d=rgd.findFirstDecomposition();
}catch(SearchException e) {
return null;
}
if(d!=null){
return d.getLigands();
}
return null;
}