kmansouri / OPERA

Free and open-source application (command line and GUI) providing QSAR models predictions as well as applicability domain and accuracy assessment for physicochemical properties, environmental fate and toxicological endpoints. ==================>Download the latest compiled version from the "releases" tab and run the executable installer.
MIT License
91 stars 40 forks source link

OPERA 2.2: Issues with PaDEL Calculations #6

Closed dmanheim89 closed 5 years ago

dmanheim89 commented 5 years ago

Hello Kamel,

I've tried to download and run the new OPERA 2.2 code in MATLAB r2018a (Windows, 64 bit operating system). I've successfully downloaded and installed the 2.2 package provided on the github site. However, I keep encountering the following issues when running the source code during the PaDEL calculations:

Exception in thread "Thread-84" java.lang.ArrayIndexOutOfBoundsException: 1 at libpadeldescriptor.CDK_Descriptor.run(Unknown Source) Exception in thread "Thread-91" java.lang.ArrayIndexOutOfBoundsException: 0 at Jama.Matrix.(Matrix.java:113) at libpadeldescriptor.BurdenModifiedEigenvaluesDescriptor.calculate(Unknown Source) at libpadeldescriptor.CDK_Descriptor.run(Unknown Source) Exception in thread "Thread-123" java.lang.ArrayIndexOutOfBoundsException: 0 at libpadeldescriptor.TopologicalChargeDescriptor.calculate(Unknown Source) at libpadeldescriptor.CDK_Descriptor.run(Unknown Source) Exception in thread "Thread-124" java.lang.ArrayIndexOutOfBoundsException: -1 at Jama.EigenvalueDecomposition.tred2(EigenvalueDecomposition.java:173) at Jama.EigenvalueDecomposition.(EigenvalueDecomposition.java:884) at libpadeldescriptor.TopologicalDistanceMatrixDescriptor.calculate(Unknown Source) at libpadeldescriptor.CDK_Descriptor.run(Unknown Source) Exception in thread "Thread-99" java.lang.ArrayIndexOutOfBoundsException: -1 at Jama.EigenvalueDecomposition.tred2(EigenvalueDecomposition.java:173) at Jama.EigenvalueDecomposition.(EigenvalueDecomposition.java:884) at libpadeldescriptor.DetourMatrixDescriptor.calculate(Unknown Source) at libpadeldescriptor.CDK_Descriptor.run(Unknown Source)

These errors are causing the code to produce the same physico-chemical property (i.e., VP, BCF, etc.) estimates no matter the input files used (even when I input other chemical sdf or mol files). I am not sure what the problem is here. Thank you for your assistance.

Regards,

Derek Manheim

dmanheim89 commented 5 years ago

I resolved this issue by modifying the input files to the PaDEL software. The .sdf files downloaded from the EPA Comptox dashboard contain mol v3000 data that is not compatible with the current version of PaDEL (2.21). One must convert the output from the dashboard to mol v2000 data in order to run this software successfully.