Mercurial > repos > dlalgroup > abstracts_by_pmids
annotate examples/commands_examples @ 0:d7aea8ba1e30 draft
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
| author | dlalgroup | 
|---|---|
| date | Thu, 24 Sep 2020 03:11:08 +0000 | 
| parents | |
| children | 
| rev | line source | 
|---|---|
| 
0
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
1 #Commands to reproduce use-case examples | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
2 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
3 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
4 #### Use-case 1a ##### | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
5 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
6 $ cd <path>/SimText | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
7 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
8 $ Rscript pubmed_by_queries.R \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
9 --input examples/data/1a/clingen_data \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
10 --output examples/data/1a/pubmed_by_queries_output \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
11 --number 500 \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
12 --abstract \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
13 --install_packages | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
14 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
15 $ Rscript text_to_wordmatrix.R \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
16 --input "examples/data/1a/pubmed_by_queries_output" \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
17 --output "examples/data/1a/clingen_data_matrix" \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
18 --number 100 \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
19 --install_packages | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
20 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
21 $ Rscript simtext_app.R \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
22 --input "examples/data/1a/clingen_data" \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
23 --matrix "examples/data/1a/clingen_data_matrix" \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
24 --install_packages | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
25 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
26 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
27 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
28 #### Use-case 1b ##### | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
29 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
30 $ cd <path>/SimText | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
31 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
32 $ Rscript pubmed_by_queries.R \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
33 --input "examples/data/1b/clingen_data" \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
34 --output "examples/data/1b/pubmed_by_queries_output" \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
35 --number 500 \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
36 --install_packages | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
37 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
38 $ Rscript pmids_to_pubtator_matrix.R \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
39 --input "examples/data/1b/pubmed_by_queries_output" \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
40 --output "examples/data/1b/clingen_data_matrix" \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
41 --categories Disease Gene \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
42 --number 100 \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
43 --install_packages | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
44 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
45 $ Rscript simtext_app.R \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
46 --input "examples/data/1b/clingen_data" \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
47 --matrix "examples/data/1b/clingen_data_matrix" \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
48 --install_packages | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
49 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
50 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
51 #### Use-case 2 ##### | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
52 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
53 cd <path>/SimText | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
54 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
55 $ Rscript abstracts_by_pmids.R \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
56 --input "examples/data/2/researcher_data.txt" \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
57 --output "examples/data/2/abstracts_by_pmids_output" | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
58 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
59 $ Rscript text_to_wordmatrix.R \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
60 --input "examples/data/2/abstracts_by_pmids_output" \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
61 --output "examples/data/2/researcher_data_matrix" \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
62 --number 50 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
63 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
64 $ Rscript simtext_app.R \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
65 --input "examples/data/2/researcher_data.txt" \ | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
66 --matrix "examples/data/2/researcher_data_matrix" | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
67 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
68 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
69 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
70 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
71 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
72 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
73 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
74 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
75 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
76 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
77 | 
| 
 
d7aea8ba1e30
"planemo upload for repository https://github.com/dlal-group/simtext commit fd3f5b7b0506fbc460f2a281f694cb57f1c90a3c-dirty"
 
dlalgroup 
parents:  
diff
changeset
 | 
78 | 
