blob: 73d0a54e9d6fadcff08e9326ff01845470b63939 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/bash
# Public domain notice for all NCBI EDirect scripts is located at:
# https://www.ncbi.nlm.nih.gov/books/NBK179288/#chapter6.Public_Domain_Notice
xtract -set IdxDocumentSet -rec IdxDocument -pattern PubmedArticle \
-wrp IdxUid -element MedlineCitation/PMID -clr -rst -tab "" \
-group PubmedArticle -pkg IdxSearchFields \
-block Article/Journal -wrp JOUR -element Title ISOAbbreviation ISSN \
-block Article/Language -wrp LANG -element Language \
-block MeshHeading/DescriptorName -if "@MajorTopicYN" -equals Y \
-wrp MAJR -element DescriptorName \
-block MeshHeading/DescriptorName -wrp MESH -element DescriptorName \
-block MeshHeading/QualifierName -wrp SUBH -element QualifierName |
transmute -format
|