-
Notifications
You must be signed in to change notification settings - Fork 3
/
example_command.sh
46 lines (41 loc) · 967 Bytes
/
example_command.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/usr/bin/env bash
: '
this shell script was created to run pubmed2doc with tweaking some of
its arguments.
'
# You should insert your email below.
email="INSERT_YOUR_EMAIL_HERE"
# you can change the query to your own query
query="gene therapy in cancer"
# write the results to PDF with a citation view and no abstract
python pubmed2doc.py \
-q "$query" \
-e $email \
-pdf T \
-word F \
-sopt citation \
-abs F
# write the results to PDF with a listview and no abstract
python pubmed2doc.py \
-q "$query" \
-e $email \
-pdf T \
-word F \
-sopt listview \
-abs F
# write the results to Word with a listview and no abstract
python pubmed2doc.py \
-q "$query" \
-e $email \
-pdf F \
-word T \
-sopt listview \
-abs F
# write the results to Word with a citation and no abstract
python pubmed2doc.py \
-q "$query" \
-e $email \
-pdf F \
-word T \
-sopt citation \
-abs F