User 873a9ae9d0
09-05-2014 09:18:28
HI,
I have a WCF service that does substructure search in a ChemAxon moltable.
This is what I do:
connect to db to
JChemSearch search = new JChemSearch();
call setConnectionHandler
create Molecule from molfile using MolImporter
setQueryStructure(Molecule)
Set JChemSearchOptions to use SUBSTRUCTURE
search.run()
int[] cidlist = search.GetResult();
This works fine. I get my array with cd_id's.
What I want is to fetch a different identifier (a varchar that is used as our external identifier). This identifieriers are stored in a column defined in the chemaxon moltable.
QUESTION: How do I get back a list of external identifiers rather than cd_id's ?
ANOTHER QUESTION:
The final step would be to retrieve the structures (in molfile format) associated with the external identifiers (or alternatively with the cd_ids (since those are for sure unique).
How can I achieve that latter goal ?
The .Net is very powerful and I did not use any ChemAxon API's in the past, so getting a hint would help me a lot to get to results in shorter time than trying to understand the complete API.
Best regards and best wishes for the upcoming weekend
Hans-Juergen
AKos GmbH