#entrezdirect — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #entrezdirect, aggregated by home.social.
-
Learnt a new trick with #NCBI #EntrezDirect tools:
$ xtract -pattern ENTREZ_DIRECT -element Count < search.xml
More elegant and readable than the grep I was using before.
For context, sadly I still sometimes get "silent" failures where efetch returns partial data and a return code of 0 ("success"). It does grumble on stderr.
Thus the need to compare the record count after efetch to the expected count from esearch.