Skip to content

Instantly share code, notes, and snippets.

View gpetz's full-sized avatar
🎯
Focusing

Georg Petz gpetz

🎯
Focusing
View GitHub Profile
@hubgit
hubgit / pmc-open-access-eutils.txt
Last active June 3, 2019 14:26
Useful URLs for working with the PMC Open Access Subset via EUtils
Search PubMed for articles in the PMC Open Access Subset for which free full text (i.e. XML) is available:
http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&retmode=xml&term=pubmed+pmc+open+access%5Bfilter%5D+AND+free+full+text%5Bfilter%5D
Find the PMCID for an article by PMID:
http://eutils.ncbi.nlm.nih.gov/entrez/eutils/elink.fcgi?dbfrom=pubmed&db=pmc&retmode=xml&linkname=pubmed_pmc&id=24191168
Fetch full text article XML from PMC by PMCID:
http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pmc&id=3804407
A PMC article for which the full text XML is not available:
@ahankinson
ahankinson / gist:4945722
Created February 13, 2013 16:17
kdu_compress options
Usage:
"kdu_compress ...
-i <file 1>[*<copies>@<size>],... {see also `-fprec' & `-icrop'}
One or more input files. If multiple files are provided, they must be
separated by commas. Any spaces will be treated as part of the file
name. If any filename contains the optional "*<copies>@<size>" suffix,
that file actually contributes <copies> inputs, where the k'th copy
starts (k-1)*<size> bytes into the file; this is most useful for raw
files, allowing a single raw file to contribute multiple image
components.