Mercurial > repos > glogobyte > viztool
changeset 21:2d930a1bc77a draft
Uploaded
author | glogobyte |
---|---|
date | Wed, 28 Oct 2020 08:16:26 +0000 |
parents | 546b6ff7cb49 |
children | a25640ae36df |
files | viz.xml |
diffstat | 1 files changed, 49 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/viz.xml Wed Oct 28 08:16:26 2020 +0000 @@ -0,0 +1,49 @@ +<tool id="viz_tool" name="Viz_tool: After Deseq2" version="0.1.0"> + <description>for each sequence in a file</description> + <requirements> + <requirement type="package" version="1.7">fpdf</requirement> + <requirement type="package" version="3.7.4">python</requirement> + <requirement type="package" version="1.17.3">numpy</requirement> + <requirement type="package" version="3.1.2">matplotlib</requirement> + <requirement type="package" version="1.0.3">pandas</requirement> + </requirements> + <command> + #if $stats.choice == "1": + python $__tool_directory__/viz_ultra.py -in $input_file -p_value "$stats.pvalue" -fc $log2fc -top $top_mirna -tool_dir $__tool_directory__ -statistic "$stats.choice" -diff_tool "$tool" + #else: + python $__tool_directory__/viz_ultra.py -in $input_file -p_value "$stats.padj" -fc $log2fc -top $top_mirna -tool_dir $__tool_directory__ -statistic "$stats.choice" -diff_tool "$tool" + #end if + </command> + <inputs> + <param name="tool" type="select" label="File comes from" help="Choose the tool which generates the input file."> + <option value="1" selected="true">Deseq2</option> + <option value="2">EdgeR</option> + </param> + <param name="input_file" type="data" format="tabular" label="Input file" help="File from Deseq2 or EdgeR"/> + <param name="top_mirna" type="select" label="Choose the top differentially miRNAs of the analysis" help="Choose the number of top differentially expressed miRNAs."> + <option value="10" selected="true">Top 10</option> + <option value="20">Top 20</option> + <option value="30">Top 30</option> + <option value="40">Top 40</option> + <option value="50">Top 50</option> + </param> + <conditional name="stats"> + <param name="choice" type="select" label="Choose p-value or p-adj" help="asdadadasd"> + <option value="1" selected="true">Pvalue</option> + <option value="2">Padj</option> + </param> + <when value="1"> + <param name="pvalue" type="float" min="0" max="1" value="0.05" label="P-value (max value)" help="p-value threshold" /> + </when> + <when value="2"> + <param name="padj" type="float" min="0" max="1" value="0.05" label="P-adjustment (max value)" help="p-adjustment threshold" /> + </when> + </conditional> + <param name="log2fc" type="float" min="0" max="10" value="1" label="Log2FC (Absolute value)" help="Log2FC threshold" /> + </inputs> + <outputs> + <data name="File" format="pdf" label="PDF" from_work_dir="$__tool_directory__/report2.pdf" /> + </outputs> + <help> + </help> +</tool>