Comments (7)
We are looking into that..
Not sure if we ever tested VSFlow with a Windows machine (but it could be the case).
from vsflow.
Could you specify how your input looked like: what kind of filetype (sdf, smiles within text file, etc.) was it and with which molecules did you want to prepare a database?
Thanks
from vsflow.
Could you specify how your input looked like: what kind of filetype (sdf, smiles within text file, etc.) was it and with which molecules did you want to prepare a database? Thanks
thanks for your reply.
I tried to use the below molecules in sdf file for preparing the database.
Components-pub.sdf.gz
However, some errors I mentioned above can cause the scripts to cease.
could you please hlep check what problems for those problems?
many thanks
from vsflow.
These are compounds from the PDB database, right? The problem might be that some compounds are metal complexes (e.g. heme, HEM ligand of the pdb) which may not be processed properly by the underlying RDKit. We may add an option to skip these compounds in the next version. You could try to filter out all metal containing ligands first and then re-run the preparedb step.
from vsflow.
thanks for quick feedback.
some compounds containing metal complexes might cause the errors. I will try again after removing those molecules.
many thanks for your help.
best,
from vsflow.
Can you let us know once you figured it out?
We will then close this issue.
from vsflow.
Can you let us know once you figured it out? We will then close this issue.
yep, I tried to filter the molecules by using the LargestFragmentChooser method, RDKit or molvs.
here are some codes for your reference
from rdkit import Chem
from rdkit.Chem.MolStandardize import rdMolStandardize
largest_Fragment = rdMolStandardize.LargestFragmentChooser()
df['largest_mol']=[largest_Fragment.choose(m) for m in tqdm(df.mol)]
df['largest_smiles']=[Chem.MolToSmiles(m) for m in tqdm(df.largest_mol)]
df1[['largest_smiles', 'ID']].to_csv("./data/pdb_ligs001.smi",
header=None, index= False, sep=' '
)
then run the vsflow preparedb script
vsflow preparedb -i ./data/pdb_ligs001.smi -o ./data/PDB_ligands3D -c --nconfs 10 --rms_thresh 0.3
PDB_ligands3D.vsdb was generated successfully.
done!
many thanks for your helps.
best
from vsflow.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vsflow.