Closed khoran closed 7 years ago
Hi. @TylerBackman I almost forgot our conversation in Dublin. You mentioned that it would be possible to have this fallback to pulling it from your online service or something like that?
@stanstrup I added a feature to the ChemMine Tools web service to generate InChI strings, which you can use directly with the ChemmineR ChemMine Tools interface. This doesn't overload the chemmineOB feature, but you can now use it immediately, without updating your R packages, as the function list is grabbed remotely by ChemmineR.
Here is a code example:
library(ChemmineR)
data(sdfsample)
sdf <- sdfsample
job <- launchCMTool('InChI Strings',sdf)
inchiResult <- result(job)
The full API is documented here: https://www.bioconductor.org/packages/release/bioc/vignettes/ChemmineR/inst/doc/ChemmineR.html#chemmine-tools-r-interface
Thanks! Would it also be possible to get InChIKeys? In the RMassBank project I referenced above I think that is what they need to get rid of direct calls to openbabel.
@stanstrup, I have now added InChIkeys. The interface is the same, there is just now and extra column on the returned data.frame
Fantastic! Thanks. I'll pass it along.
requires either making a dynamic lib work on windows or forcing the inchi shared lib to be included in the static lib via symbol name mangling. Either method will take a long time and be very painful.