Giter VIP home page Giter VIP logo

rfscorevs_binary's Introduction

Open Drug Discovery Toolkit

Open Drug Discovery Toolkit (ODDT) is modular and comprehensive toolkit for use in cheminformatics, molecular modeling etc. ODDT is written in Python, and make extensive use of Numpy/Scipy

Documentation Status Build Status Coverage Status Code Health Conda packages Latest Version

Documentation, Discussion and Contribution:

Requirements

  • Python 3.6+
  • OpenBabel (3.0+) or/and RDKit (2018.03+)
  • Numpy (1.12+)
  • Scipy (0.19+)
  • Sklearn (0.18+)
  • joblib (0.10+)
  • pandas (0.19.2+)
  • Skimage (0.12.3+) (optional, only for surface generation)

Install

Using PyPi (pip)

When all requirements are met, then installation process is simple

python setup.py install

You can also use pip. All requirements besides toolkits (OpenBabel, RDKit) are installed if necessary. Installing inside virtualenv is encouraged, but not necessary.

pip install oddt

To upgrade oddt using pip (without upgrading dependencies):

pip install -U --no-deps oddt

Using conda

Install a clean Miniconda environment, if you already don't have one.

Install ODDT:

conda install -c oddt oddt

You can add a toolkit of your choice or install them along with oddt:

conda install -c conda-forge oddt rdkit openbabel

(Optionally) Install OpenBabel (using official channel):

conda install -c conda-forge openbabel

(Optionally) Install RDKit (using official channel):

conda install -c conda-forge rdkit

Upgrading procedure using conda is straightforward:

conda update -c oddt oddt

Documentation

Automatic documentation for ODDT is available on Readthedocs.org. Additionally, it can be build locally:

cd docs

make html

make latexpdf

License

ODDT is released under permissive 3-clause BSD license

Reference

If you found Open Drug Discovery Toolkit useful for your research, please cite us!

  1. Wójcikowski, M., Zielenkiewicz, P., & Siedlecki, P. (2015). Open Drug Discovery Toolkit (ODDT): a new open-source player in the drug discovery field. Journal of Cheminformatics, 7(1), 26. doi:10.1186/s13321-015-0078-2

Analytics

rfscorevs_binary's People

Contributors

mwojcikowski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

rfscorevs_binary's Issues

system irresponsible /tmp/ folder

When running rfscore_vs with multiple CPUs with a large compound libraries, the system becomes irresponsible due to heavy load.

I noticed it writes temporary files to /tmp and well a large library implicates lots of writes ~227 Mb "compiledtrees_XXXXX.so" one for each core.

This process slows down system performance over time, even when /tmp is mounted on a SSDs. It is more pronounced when non-PRO SSDs are used after it's "fast-cache" fills ups.

Frequent "large" writes can degrade SSDs, as they have a limited number of write cycles to each NAMD cell.

I think it would be beneficial to write temporary files to RAM (/dev/shm/) as a way to speed things up systematically or at least give this option to the user.

wojcikowski.pl is down

Hi, I am trying to test this scoring function, but the server is down and, as a result, binaries not accessible, nor the *.pickle files. Maybe they can be uploaded as a GitHub release for permanent storage? Thank you, Jaime.

rf-score-vs start

Hi @mwojcikowski,

I am trying to use your tool to perform a rescoring of Vina's results, however I am not succeeding. I have ligands with different structures, but the tool generates identical scores values in all cases. Could you help me with a possible answer to the error I might be making?

Thanks

Scores are almost the same for RF-Score-VS on PDBbind

Dear developer,
When I use your binary RF-Score-VS to dock multiple complexes in PDBbind2019, they just get almost the same score (near 6), which is unbelievable terrible!

pdb_id,prot_name,rf_score_vs_v2,ref_affinity
1a1e,1a1e_pocket,6.00580229596,6.00
1a4k,1a4k_pocket,6.00794721751,8.00
1a4r,1a4r_pocket,6.20134056292,6.66
1a4w,1a4w_pocket,6.38927082738,5.92
1a9m,1a9m_pocket,6.1346691244,6.92
1a9q,1a9q_pocket,5.97711068812,6.17
1a28,1a28_pocket,7.25402944261,8.29
1a69,1a69_pocket,6.15717254042,5.30
1a94,1a94_pocket,6.76315462617,7.85
1a99,1a99_pocket,5.98602117631,5.70
1aaq,1aaq_pocket,6.08011277506,8.40
1add,1add_pocket,6.31263890627,6.74
1adl,1adl_pocket,5.97653251803,5.36
1ado,1ado_pocket,5.62528809888,6.00
1afk,1afk_pocket,6.07168576653,6.62
1afl,1afl_pocket,6.14445310932,6.28
1ai4,1ai4_pocket,6.06714064078,2.50
1ai5,1ai5_pocket,6.01511559545,3.72
1ai7,1ai7_pocket,5.97128016745,4.09
1aid,1aid_pocket,6.00623191904,4.82
1aj7,1aj7_pocket,6.04805370093,3.87
1ajn,1ajn_pocket,6.01279242565,2.63
1ajp,1ajp_pocket,6.12961282626,2.23

The following is part of my code:

    for prot_ in os.listdir(datasets_pro_dir):
        prot_name = prot_[:-4]
        pdb_id = prot_[:4]
        pocket_file = os.path.join(datasets_pro_dir, prot_)
        ligand_file = os.path.join(datasets_lig_dir, f'{pdb_id}_ligand.mol2')
        
        if pocket_file and ligand_file:
            command = f'./rf-score-vs --receptor {pocket_file} {ligand_file} -o csv --field "name" --field "RFScoreVS_v2"'
            output = subprocess.check_output(command, shell=True).decode('utf-8')
            rf_score = output.split('\n')[1].split(',')[1]
            writer.writerow({'pdb_id': pdb_id, 'prot_name': prot_name,'rf_score_vs_v2': rf_score})

AttributeError: module 'sys' has no attribute 'frozen'

Hello,

I am trying to run the binary using the latest version of oddt, anaconda, and relevant packages (rdkit, openbabel). I am receiving the following error:

File "/local_programs/rfscorevs/rf-score-vs", line 117, in
score_file = path_join(sys._MEIPASS if sys.frozen else dirname(abspath(file)), 'RFScoreVS_v2_vina.pickle')
AttributeError: module 'sys' has no attribute 'frozen'

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.