Pubmed Xml To Other Format, Such As Enw
3
0
Entering edit mode
12.4 years ago
xiaoronglv ▴ 20

Hi,guys

I want to convert PubMed xml to other format, For example:

  • endnote enw file
  • RIS format
  • BibTex Format

Are there Projects in github that convert PubMed xml file to other format?

I would appreciate if could help me.

thanks


PS

PubMed xml: http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pubmed&id=22805184&rettype=xml

Endnote enw:

%0 Journal Article

%A Hummer DL

%A Peckham EM

%T Estradiol acts during a post-pubertal sensitive period to shorten free-running circadian period in male Octodon degus

%J The European journal of neuroscience

.........

pubmed • 6.8k views
ADD COMMENT
1
Entering edit mode

Your URL is not an article record but a journal

ADD REPLY
0
Entering edit mode

sorry,I will correct it.

ADD REPLY
0
Entering edit mode

your article is not indexed in pubmed.

ADD REPLY
2
Entering edit mode
12.4 years ago

The idea is to use a XSLT styleheet to transform the XML/Pubmed:

Something like (Biostar is still broken for visualizing the XML, click on "revisions" below to see the real stylesheet):

Result:

$ xsltproc --novalid input.xsl "http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pubmed&id=22805184&rettype=xml"

TY  - JOUR
AU  - Hummer DL
AU  - Peckham EM
AU  - Lee TM
TI  - Estradiol acts during a post-pubertal sensitive period to shorten free-running circadian period in male Octodon degus.
ADD COMMENT
2
Entering edit mode
12.4 years ago

Have you tried looking a this post: http://www.biostars.org/post/show/14051/how-to-generate-a-bibtex-file-from-pmids

Apart from that, the example you provide is a bit odd: the Pubmed XML and Endnote format you provide don't refer to the same paper.

ADD COMMENT
0
Entering edit mode

thanks for your advice, I have corrected the enw file. :smile:

ADD REPLY
2
Entering edit mode
12.4 years ago
Neilfws 49k

There are repositories other than Github ;)

and at one of them, Sourceforge, you will find bibutils. It's a mature software project with tools to interconvert between many bibliographic formats, including Pubmed XML.

ADD COMMENT
0
Entering edit mode

the bibutils is great thanks

ADD REPLY

Login before adding your answer.

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