Debian Codegraph @

idx-auid

raw
1 #!/bin/bash
2
3 # Public domain notice for all NCBI EDirect scripts is located at:
4 # https://www.ncbi.nlm.nih.gov/books/NBK179288/#chapter6.Public_Domain_Notice
5
6 xtract -set IdxDocumentSet -rec IdxDocument -pattern PubmedArticle \
7 -wrp IdxUid -element MedlineCitation/PMID -clr -rst -tab "" \
8 -group PubmedArticle -pkg IdxSearchFields \
9 -block Article/AuthorList/Author/Identifier \
10 -if "Identifier@Source" -equals ORCID \
11 -subset Identifier -if Identifier -starts-with "http" \
12 -wrp AUID -element "Identifier[orcid.org/|]" \
13 -else -wrp AUID -element "Identifier" |
14 transmute -format