Git Product home page Git Product logo

Comments (7)

czodrowskilab avatar czodrowskilab commented on September 3, 2024

We are looking into that..

Not sure if we ever tested VSFlow with a Windows machine (but it could be the case).

from vsflow.

hlgvth avatar hlgvth commented on September 3, 2024

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.

MachineGUN001 avatar MachineGUN001 commented on September 3, 2024

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.

sasjung avatar sasjung commented on September 3, 2024

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.

MachineGUN001 avatar MachineGUN001 commented on September 3, 2024

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.

czodrowskilab avatar czodrowskilab commented on September 3, 2024

Can you let us know once you figured it out?
We will then close this issue.

from vsflow.

MachineGUN001 avatar MachineGUN001 commented on September 3, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.