mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-01 15:37:32 +08:00
68 lines
2.6 KiB
XML
68 lines
2.6 KiB
XML
<tool id="interactive_tool_simtext_app" name="SimText" tool_type="interactive" version="0.0.2" license="MIT">
|
||
<description>Interactive shiny app to explore SimText output data</description>
|
||
<requirements>
|
||
<container type="docker">dlalgroup/simtext:2.0</container>
|
||
</requirements>
|
||
<entry_points>
|
||
<entry_point name="SimText App" requires_domain="true">
|
||
<port>8888</port>
|
||
</entry_point>
|
||
</entry_points>
|
||
<command><![CDATA[
|
||
Rscript
|
||
'${__tool_directory__}/simtext_app.R'
|
||
--input '$input'
|
||
--matrix '$matrix'
|
||
--host '0.0.0.0'
|
||
--port '8888'
|
||
]]>
|
||
</command>
|
||
<inputs>
|
||
<param argument="--input" label="Input file" name="input" type="data" format="tabular"/>
|
||
<param argument="--matrix" label="Matrix file" name="matrix" type="data" format="tabular"/>
|
||
</inputs>
|
||
<outputs>
|
||
<data format="tabular" name="output" />
|
||
</outputs>
|
||
<tests><!-- cannot test interactive tools yet
|
||
<test>
|
||
<param name="input" value="test_data" ftype="tabular"/>
|
||
<param name="matrix" value="text_to_wordmatrix_output"/>
|
||
</test>-->
|
||
</tests>
|
||
<help><![CDATA[
|
||
|
||
**What it does**
|
||
|
||
The tool enables the exploration of data generated by ‘text_to_wordmatrix’ or ‘pmids_to_pubtator_matrix’ tools in a Shiny local instance.
|
||
The following features can be generated: 1) word clouds for each initial search query, 2) dimension reduction and hierarchical clustering of
|
||
binary matrices, and 3) tables with words and their frequency in the search queries.
|
||
|
||
-----
|
||
|
||
**How it works**
|
||
|
||
|
||
- Input 1, a table with:
|
||
- A column with initial search queries starting with "ID\_" (e.g., "ID_gene" if initial search queries were genes).
|
||
- Column(s) with grouping factor(s) to compare pre-existing categories of the initial search queries with the grouping based on text. The column names should start with "GROUPING\_". If the column name is "GROUPING_disorder", "disorder" will be shown as a grouping variable in the app.
|
||
|
||
| ID_gene | GROUPING_disorder
|
||
| SCN1A | epilepsy
|
||
| ANKRD11 | autism
|
||
|
||
|
||
- Input 2:
|
||
- The output of 'text_to_wordmatrix' or 'pmids_to_pubtator_matrix' tools, or a binary matrix.
|
||
|
||
| scn8a | neuro | patient | spectrum | brain | grin2a
|
||
| 1 | 1 | 1 | 0 | 1 | 1
|
||
| 0 | 1 | 0 | 1 | 1 | 0
|
||
|
||
|
||
]]></help>
|
||
<citations>
|
||
<citation type="doi">10.1101/2020.07.06.190629</citation>
|
||
</citations>
|
||
</tool>
|