Question: fingerprint calculation; chemoinformatics; Problem in rcdk R package
gravatar for khanirfanbioinformatics
3.6 years ago by

Hi. I am using smile codes for the FDA approved drugs available in chEMBL 22 database. I am using the r package rcdk and I am using this code

smi <-lapply(as.character(dat1$CANONICAL_SMILES),parse.smiles)
## generate fingerprints
for (i in 1:nrow(dat1)){

##Convert fingerprints to matrix form

But when I do this step

smi <- lapply(as.character(chembl_22_drug_export$CANONICAL_SMILES), parse.smiles)

I get the following error

Error in .jnew("org/openscience/cdk/smiles/SmilesParser", dcob) : 
  Java Exception <no description because toString() failed>.jnew("org/openscience/cdk/smiles/SmilesParser", dcob)<S4 object of class "jobjRef">

Kindly guide me how do I resolve this error?

R • 1.9k views
ADD COMMENTlink modified 3.6 years ago • written 3.6 years ago by khanirfanbioinformatics0

I added code markup to your post for increased readability. You can do this by selecting the text and clicking the 101010 button. When you compose or edit a post that button is in your toolbar, see image below:

101010 Button

ADD REPLYlink written 3.6 years ago by WouterDeCoster44k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1437 users visited in the last hour