Is it possible to search Pubmed articles for a specific organism?
2
1
Entering edit mode
7.6 years ago
c_u ▴ 520

Hi,

I wanted to download 10 abstracts for 10 specific mouse genes (for a total of 100 abstracts). I was thinking of searching Pubmed for it, so I put in my first gene (FOS) in the search bar. But there was no option (that I could find) for mentioning the species I want to restrict my search to. So the results were either for 'Humans' or 'All organisms'.

Since this is a pretty basic feature, I was hoping that Pubmed would allow it inherently. But it wasn't even mentioned in the 'Advanced' options. So, does anyone know if and how this can be done?

pubmed search • 1.7k views
ADD COMMENT
3
Entering edit mode
7.6 years ago
Jake Warner ▴ 840

This thread piqued my interest since I wanted to write a script to do this for a web app. I'm not sure why the above examples don't work but here's how I got it going. First you need the gene ID for Fos. You can do that just by searching:

https://www.ncbi.nlm.nih.gov/gene/14281

The Gene ID is the number at the end of the URL above. You can put this directly into pubmed as the &from_uid= in this url:

https://www.ncbi.nlm.nih.gov/pubmed?LinkName=gene_pubmed&from_uid=14281

You can also use elink as suggested by Pierre. To do that just tack it onto this url on the &id=:

https://eutils.ncbi.nlm.nih.gov/entrez/eutils/elink.fcgi?dbfrom=gene&dbto=pubmed&cmd=neighbor&retmode=xml&id=14281

Change 'gene' to 'protein' if you use protein accession numbers. This will return an XML like so:

    <eLinkResult>
            <LinkSet>
                  <DbFrom>gene</DbFrom>
                  <IdList>
                        <Id>14281</Id>
                  </IdList>
                  <LinkSetDb>
                       <DbTo>pubmed</DbTo>
                       <LinkName>gene_pubmed</LinkName>
                       <Link>
                           <Id>26762887</Id>
                       </Link>
                       <Link>
                           <Id>26143639</Id>
                       </Link>
etc...

The pub med hits are in <LinkSetDb><Link><Id>. You can extract these with a parsing tool or do it by hand for a few genes. Then put them into pubmed as a unique id:

https://www.ncbi.nlm.nih.gov/pubmed/?term=26762887

To put this in a program you could loop the gene names and paste them into either of the links above. For the eutils link you need to capture the url and parse it, extract the ids and paste them into a url.

ADD COMMENT
2
Entering edit mode
7.6 years ago

using NCBI e-utils, first search for the mouse genes Mus musculus[Organism] and then do a loop with elink to fetch the paper associated to the genes : Gene Or Protein Queries In Pubmed

ADD COMMENT
0
Entering edit mode

Thanks Pierre for the answer. I checked out the answer you have linked but the corresponding URL does not give any article results, just some XML text, and not the ID/link of the paper you mention right after it. Also, since I am new to NCBI e-utils, I didn't understand how to

first search for the mouse genes

because when I go to https://eutils.ncbi.nlm.nih.gov, it redirects to the manual book. Also, I didn't understand how to

do a loop with elink

because even if I come up with such a code, I don't know where to input it. In the address bar?

ADD REPLY

Login before adding your answer.

Traffic: 2742 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