Mercurial > repos > iuc > text_to_wordmatrix
annotate test/commands_tests @ 0:0692d11af909 draft default tip
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
| author | iuc | 
|---|---|
| date | Wed, 24 Mar 2021 08:33:25 +0000 | 
| parents | |
| children | 
| rev | line source | 
|---|---|
| 
0
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
1 #commands to test the tools with "test_data" | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
2 | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
3 $ cd <path>/simtext | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
4 | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
5 $ Rscript pubmed_by_queries.R --input "test-data/test_data" --output "test-data/pubmed_by_queries_output" | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
6 #output: test-data/pubmed_by_queries_output --install_packages | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
7 | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
8 $ Rscript pubmed_by_queries.R --input "test-data/test_data" --abstract --output "test-data/pubmed_by_queries_output_abstracts" --install_packages | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
9 #output: test-data/pubmed_by_queries_output_abstracts | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
10 | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
11 $ Rscript abstracts_by_pmids.R --input "test-data/pubmed_by_queries_output" --output "test-data/abstracts_by_pmids_output" --install_packages | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
12 #output: test-data/abstracts_by_pmids_output | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
13 | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
14 $ Rscript text_to_wordmatrix.R --input "test-data/pubmed_by_queries_output_abstracts" --output "test-data/text_to_wordmatrix_output" --install_packages | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
15 #output: test-data/text_to_wordmatrix_output | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
16 | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
17 $ Rscript text_to_wordmatrix.R --input "test-data/pubmed_by_queries_output_abstracts" --output "test-data/text_to_wordmatrix_output_args" --remove_num --remove_stopwords --plurals --install_packages | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
18 #output: test-data/text_to_wordmatrix_output_args | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
19 | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
20 $ Rscript test-data/pmids_to_pubtator_matrix.R --input "test-data/pubmed_by_queries_output" --output "test-datadata/pmids_to_pubtator_matrix_output" --number 50 --categories Gene Mutation --install_packages | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
21 #output: test-data/pmids_to_pubtator_matrix_output | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
22 | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
23 $ Rscript pmids_to_pubtator_matrix.R --input "test-data/pubmed_by_queries_output" --output "test-data/pmids_to_pubtator_matrix_output_byid" --number 50 --categories Gene Disease --install_packages --byid | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
24 #output: test-data/pmids_to_pubtator_matrix_output_byid | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
25 | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
26 $ Rscript pmids_to_pubtator_matrix.R --input "test-data/pubmed_by_queries_output" --output "test-data/pmids_to_pubtator_matrix_output_number" --number 5 --categories Gene Disease --install_packages | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
27 #output: test-data/pmids_to_pubtator_matrix_output_number | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
28 | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
29 $ Rscript simtext_app.R -i "test-data/test_data" -m "test-data/text_to_wordmatrix_output" --install_packages | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
30 #output: ShinyApp | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
31 | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
32 $ Rscript simtext_app.R -i "test-data/test_data" -m "test-data/pmids_to_pubtator_matrix_output" --install_packages | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
33 #output: ShinyApp | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
34 | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
35 | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
36 | 
| 
 
0692d11af909
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/simtext commit 63a5e13cf89cdd209d20749c582ec5b8dde4e208"
 
iuc 
parents:  
diff
changeset
 | 
37 | 
