Code Monkey home page Code Monkey logo

Comments (10)

mwojcikowski avatar mwojcikowski commented on May 24, 2024

I must look into that deeper, although there seam to be an issue with implicit arguments order. The code was fully functioning and tested. For now try changing dock method call to explicitly give auto_ligand parameter:

pipeline.dock('autodock_vina', 'ampc/receptor.pdbqt', auto_ligand='ampc/crystal_ligand.mol2')

from oddt.

mwojcikowski avatar mwojcikowski commented on May 24, 2024

Please upgrade ODDT from pip. The bug is fixed.

pip install -U --no-deps oddt

from oddt.

ever4cyth avatar ever4cyth commented on May 24, 2024

Thanks! it works now.

On Mon, Jul 13, 2015 at 10:38 AM, Maciej Wójcikowski <
[email protected]> wrote:

Closed #5 #5.


Reply to this email directly or view it on GitHub
#5 (comment).

from oddt.

SuhadJihad avatar SuhadJihad commented on May 24, 2024

Hi,
Thanks for your code,
When I try to use it every thing is OK but when I reach pipeline.write('mol2', 'ampc_docked.mol2', overwrite=True, opt={'c':None}) nothing appear even the prompt the terminal of python is latch like you see in the attachment
screenshot from 2015-11-14 01 29 52
and when I interrupt it I get this error:
screenshot from 2015-11-14 01 41 13
I appreciate any help ....

from oddt.

SuhadJihad avatar SuhadJihad commented on May 24, 2024

Sorry, but I forget to tell you that the software is up-to-date that you can see here
screenshot from 2015-11-14 02 08 32

from oddt.

mwojcikowski avatar mwojcikowski commented on May 24, 2024

Pipelines are lazy. This means that unless you execute the chained pipeline by fetching the ligands or writing to the output file actually no computation is done.

So in your case the docking is being done when you enter pipeline.write(...) command. Be patient and check the top/htop for the running processes.

from oddt.

SuhadJihad avatar SuhadJihad commented on May 24, 2024

Thank you for your answer ,you are right I wait and finally get a result but I face another problem :
screenshot from 2015-11-17 00 54 00
When I read the journal and the code I understand that there is no pickle files but I am newbie in this field and couldn't resolve it.
screenshot from 2015-11-17 01 03 32
Thanks a lot for explanation.

from oddt.

mwojcikowski avatar mwojcikowski commented on May 24, 2024

Pickle is a Python object saved to a file for later use. It is not recommended to use pickle files from unknown sources because of security reasons. Other than that all the libraries version must match.

Considering this scoring functions in ODDT have to be built upon first run. The RF-score is really fast, but NNscore can be veeery slow (it might take over an hour to build). According to original release of NNScore 2.0 there are 1000 neural-netwoks being built, then the best are selected.

To sum up - just be patient once again.

PS.
We are working hard to do something about it, like switching to netter neural-network library, although it's not that straightforward.

from oddt.

SuhadJihad avatar SuhadJihad commented on May 24, 2024

Thanks for your quick response,
when I wait nnscore an error appear and nothing happened because I check the htop.
screenshot from 2015-11-18 03 40 54
and when I try to write to the _csv file the file exist but it is 0 byte.
then I try to score the result only with rfscore I get this error when I want to write the result to _csv file
screenshot from 2015-11-18 04 06 12
and this error appear many times:
AttributeError: Molecule has no such property: atom_dict

Then I repeat the scoring by these two function this time have no error
screenshot from 2015-11-18 04 17 36
but when I start writing nothing happened and 0byte file exist
screenshot from 2015-11-18 04 19 14

from oddt.

mwojcikowski avatar mwojcikowski commented on May 24, 2024

First of all please move that question to the mailing list [[email protected]], since that has nothing to do with current closed issue.

Secondly, as you can see the NNScore has trained itself. There should be .pickle file in working directory.

Third thing - the Molecule class is somehow loaded from outside of ODDT, since it has some attributes missing (most probable from pybel/cinfony). Have you tried clean terminal or assembling a script and executing the pipeline separately?

from oddt.

Related Issues (20)

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.