I have the URL for a file download that lists the IDs of abstracts found in Pubmed. Here is the URL:
Part of the URL is a HistoryID:
NCID_1_1822965_130.14.18.97_5555_1553809026_4183211640_0MetA0_S_HStore
Is there any way to determine the search that was carried out to get the results stored in the HistoryID?
For instance, in this case, I know that the search was this one:
https://www.ncbi.nlm.nih.gov/pubmed/?term=leukemia%5Btitle%5D
There are cases, however, where I have a HistoryID and I do not know the search that was used to generate it, but it would be very helpful to know.
Is it possible to get the search that was used to generate the contents of a HistoryID and, if so, how?
Terms should appear in the
recent activity
block that you see in bottom right of search pages. If you create an account at NCBI (or use federated login using your own institute credentials, if available) you can access your past search activity via your profile.Thanks for your quick reply.
I'm aware of the Recent Activity area of Pubmed. I'm trying to find a solution to my question, however, when the Recent Activity area does not provide the information I'm looking for. This would be the case, for example, when the search was done by someone else and forwarded to me as the sort of link I shared in my original post, or when the search does not get recorded in the recent activity area of My NCBI.
I guess what you are actually asking is if you could use
NCID_1_1822965_130.14.18.97_5555_1553809026_4183211640_0MetA0_S_HStore
to continue with aefetch
search etc.I would suggest contacting PubMed/NCBI help desk for a definitive answer.
Yes, knowing how the search was conducted would allow me to duplicate it at later times with updated Pubmed data, not just the data used to generate the IDs stored with the history.
I reached out to the Pubmed/NCBI help desk yesterday via email. This is the first time I've had to do so, however, so I'm not sure what to expect in terms of both expertise and speed of response. I also felt it might be helpful to have a solution posted here for the benefit of others. That's why I posted the original question in this thread.
Expertise should not be an issue.It takes 2-4 business days to hear back from NCBI help desk (likely because of queries they get) when I have mailed them in past.
I will tag @vkkodali (who knows these tools well) to see if they would respond.
My personal hunch is that there is not enough info in that term to continue. You may need to minimally construct an input like
and then pass it along to whatever next you would be doing.
Note: I am using command line version of Entredirect. Value of
Db
would be needed.Your hunch was correct. The help desk got back to me and said that there is no way to retrieve the original search that generated the collection identified by the HistoryID.
Thanks again for your feedback.