Retrieving matched search terms when using NCBI's API
0
0
Entering edit mode
3 months ago
langziv ▴ 50

Hi.
Is there a way to get which terms matched each retrieved result?
Here's an example of an API call:

https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&term="yhiM" AND (metal OR Magnesium-cobalt OR Lead OR Magnesium) AND (resistan* OR toleran*) NOT (antibiotic* OR drug OR multidrug OR multi-drug) NOT review[Publication Type] AND (bacter* OR microbe*)&retmode=json&sort=relevance&retmax=100000
NCBI API • 447 views
ADD COMMENT
0
Entering edit mode

Question as posted is not answerable. Provide examples of what you are looking for and anything you have already done.

ADD REPLY
0
Entering edit mode

I don't understand why.
I'm looking for a tool that does that or addition of a parameter to the API call to retrieve that information from NCBI.
I'll add an example.

ADD REPLY
0
Entering edit mode

You could retrieve the result as medline format or abstract. You will then need to use a parser to get details about which search terms were present in each record.

I don't get any results for the query as posted above so are you sure it is correct?

ADD REPLY
0
Entering edit mode

Thanks.
The query I posted is not the full one. The original one has many other search terms.

ADD REPLY

Login before adding your answer.

Traffic: 1380 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6