I need to get full text articles as well as their MeSH terms from Pubmed central using Biopython's implementation of the E-utilities. So far, I have :
search_results = Entrez.read(Entrez.esearch(db="pmc", term=search_query, retmax=10, usehistory="y"))
My search queryis such that I get only open access medline articles about some subject from the pubmed central database. When I download articles, I use
efetch like so :
handle = Entrez.efetch(db="pmc", rettype="full", retmode="xml", retstart=start, retmax=max, webenv=search_results["WebEnv"], query_key=search_results["QueryKey"])
So in my experience, the only way to get full text is with
rettype="medline" doesn't seem to change much. My problem is I can't seem to get MeSH terms with these settings and I can't seem to get the full text with any other settings. Do you know if I'm missing something? Are MeSH terms not in a
<MeshHeadingList> tag? Do PMC's open access articles not have MeSH terms associated to them?