Crates.io | recgen |
lib.rs | recgen |
version | 0.1.2 |
source | src |
created_at | 2023-03-15 09:18:56.395537 |
updated_at | 2023-03-19 05:48:06.02478 |
description | Rust bindings to ReCGen: Generate virtual compounds based on input structure |
homepage | |
repository | |
max_upload_size | |
id | 810585 |
size | 26,592 |
Rust Wrapper of ReCGen
openbabel requires boost.
conda install -y -c anaconda sqlite
conda install -y -c conda-forge boost-cpp openbabel
ln -s /Users/qw/miniconda3/envs/openbabel/lib/libboost_iostreams.dylib /usr/local/lib
export RECGEN_INCL=~/miniconda3/envs/openbabel/include
export RECGEN_LIB=~/miniconda3/envs/openbabel/lib
WrapSQLit_Base deconstructor try to close the db connection. add a marker is_opened, try to close when it has been opened
WrapSQLite.cpp line 162, size of a vector of Overlap from BBMol.GetOverlap
how is Overlap created?
void Insert(deque<ECMol> &frags, int &nn)
bmol.SetOverlapFragments_Ref();
const int ECMol::he2[12]={85,100,101,102,104,105,106,107,108,109,110,111};
// At, Fm, Md, No, Rf, Db, Sg, Bh, Hs, Mt, Ds, Rg
while (tmp.find("[No]") != string::npos) tmp.replace(tmp.find("[No]"), 3, "[A;!R]");
while (tmp.find("[Fm]") != string::npos) tmp.replace(tmp.find("[Fm]"), 4, "a");
while (tmp.find("[Md]") != string::npos) tmp.replace(tmp.find("[Md]"), 4, "[A;R]");
while (tmp.find("[At]") != string::npos) tmp.replace(tmp.find("[At]"), 4, "*");
void ECMol::MkSMARTS(bool AddH) // specific SMART rule
void BBMol::SetOverlapFragments_Ref()
void SetOverlapFragments_Ref(int ele);
void SetOverlapFragments_Ref(string attr, int val);
void SetOverlapFragments_Fra();