CDK-R / cdkr

Integrating R and the CDK
https://cdk-r.github.io/cdkr/
42 stars 27 forks source link

Partial charge not-supported for element: 'B' #146

Open dischiessel opened 1 year ago

dischiessel commented 1 year ago

Compounds that contain covalently bound Boron have an issue with calculating all BCUT descriptors. A warning is returned and all the BCUT values are NA.

Example of Epetraborole: qsar_p <- eval.desc(parse.smiles('B1(C2=C(C=CC=C2OCCCO)C@HCN)O'), 'org.openscience.cdk.qsar.descriptors.molecular.BCUTDescriptor')

Yields: BCUTw.1l BCUTw.1h BCUTc.1l BCUTc.1h BCUTp.1l BCUTp.1h B1(C2=C(C=CC=C2OCCCO)C@HCN)O NA NA NA NA NA NA

Warning message: In FUN(X[[i]], ...) : Could not calculate partial charges: Partial charge not-supported for element: 'B'.

System (please complete the following information):

Additional context This might be a CDK issue and not an issue with rCDK but this is just how I'm getting the error. Perhaps it's the CDK that needs to add the capability to calculate partial charges on Boron.