Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8914249
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T04:40:14+00:00 2026-06-15T04:40:14+00:00

quick question — first time using biopython and I’m just trying to jury-rig something

  • 0

quick question — first time using biopython and I’m just trying to jury-rig something real quick based on tutorials.

I can’t seem to get Entrez.efetch() to return mesh terms for a given article, and the only method appears to be what I’m doing, namely:

handle = Entrez.efetch(db="pubmed", id=pmids, rettype="medline", retmode="xml")
records = Entrez.read(handle)

where pmids is a list of pubmed IDs

this returns the following: http://pastie.org/5459700

I’ve tried tweaking the rettype and retmode parameters per http://www.ncbi.nlm.nih.gov/books/NBK25499/ with no luck. anything obvious I’m missing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T04:40:15+00:00Added an answer on June 15, 2026 at 4:40 am

    This question is best asked on the Biopython mailing list or perhaps the http://www.biostars.org/ . It’s much more likely there to find people with Entrez experience.

    The problem is that the record with PMID 23165874 doesn’t have any MeSH terms. Compare the raw XML of that record to one which has MeSH terms. The latter has a section starting:

    <MeshHeadingList>
      <MeshHeading>
        <DescriptorName MajorTopicYN="N">ADP Ribose Transferases</DescriptorName>
        <QualifierName MajorTopicYN="Y">genetics</QualifierName>
      </MeshHeading>
      <MeshHeading>
        <DescriptorName MajorTopicYN="N">Acinetobacter</DescriptorName>
        <QualifierName MajorTopicYN="Y">drug effects</QualifierName>
        <QualifierName MajorTopicYN="Y">genetics</QualifierName>
      </MeshHeading>
      ..
    

    In other words, it’s hard to get something which doesn’t exist.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Quick question. I'm trying yo access one of the fields of a model using
Quick question just to verify something. If I have an HTML5 mobile advertisement that
Quick question. If i am trying to clear multiple divs with the same class
Quick question, indexof() find the first occur position of the string character? what about
quick question I'm struggling with, hopefully I've just got a brain-blockage and I'm missing
Quick question, How does Game Center handle different app versions for turn based games?
Quick question: It's kind of tough to describe so let me just show an
Quick question about general MVC design principle in PHP, using CodeIgniter or Kohana (I'm
Quick question - I'm trying to decide the best way to store some site
Quick question: is this kind of nesting possible? An if statement first passing a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.