| 1 |
EXAMPLES |
| 2 |
|
| 3 |
phrase-search -fields |
| 4 |
|
| 5 |
phrase-search -terms SUBH |
| 6 |
|
| 7 |
phrase-search -count "catabolite repress*" |
| 8 |
|
| 9 |
phrase-search -counts "catabolite repress*" |
| 10 |
|
| 11 |
phrase-search -query "(literacy AND numeracy) NOT (adolescent OR child)" |
| 12 |
|
| 13 |
phrase-search -query "selective serotonin reuptake inhibit*" |
| 14 |
|
| 15 |
phrase-search -query "vitamin c + + common cold" |
| 16 |
|
| 17 |
phrase-search -query "vitamin c ~ ~ common cold" |
| 18 |
|
| 19 |
phrase-search -query "C14.907.617.812* [TREE] AND 2015:2018 [YEAR]" |
| 20 |
|
| 21 |
phrase-search -title "Genetic Control of Biochemical Reactions in Neurospora." |
| 22 |
|
| 23 |
phrase-search -match "nucleotide sequences required for tn3 transposition immunity [PAIR]" | |
| 24 |
just-first-key | cut -f 2 | |
| 25 |
efetch -db pubmed -format abstract |
| 26 |
|
| 27 |
phrase-search -query "Cozzarelli NR [AUTH]" | |
| 28 |
phrase-search -link CITED |
| 29 |
|
| 30 |
phrase-search -totals YEAR | |
| 31 |
print-columns '$2, $1, total += $1' | tee /dev/tty | |
| 32 |
print-columns '$1, log($2)/log(10), log($3)/log(10)' | |
| 33 |
filter-columns '$1 >= 1800 && $1 < YR' | |
| 34 |
xy-plot annual-and-cumulative.png |
| 35 |
|
| 36 |
ascend_mesh_tree() { |
| 37 |
var="${1%\*}" |
| 38 |
target="" |
| 39 |
ev=$( rchive -local pubmed ) |
| 40 |
if [ -n "$ev" ] |
| 41 |
then |
| 42 |
# only care about master volume and its Data subfolder |
| 43 |
target="${ev%:*}" |
| 44 |
target=${target%/} |
| 45 |
fi |
| 46 |
while : |
| 47 |
do |
| 48 |
frst=$( phrase-search -count "$var* [TREE]" ) |
| 49 |
scnd=$( cat "${target}/Data/meshconv.xml" | |
| 50 |
xtract -pattern Rec -if Tree -equals "$var" -first Code Name ) |
| 51 |
printf "${frst}\t${scnd}\n" |
| 52 |
case "$var" in |
| 53 |
*.* ) var="${var%????}" ;; |
| 54 |
* ) break ;; |
| 55 |
esac |
| 56 |
done | |
| 57 |
align-columns -g 4 |
| 58 |
} |
| 59 |
|
| 60 |
ascend_mesh_tree "C01.925.782.417.415" |
| 61 |
|
| 62 |
phrase-search -db taxonomy -totals RANK | |
| 63 |
tbl2xml -set Set -rec Rec Count Name | |
| 64 |
xtract -pattern Rec -element Count Name | |
| 65 |
sort-table -k 1,1n |