Mercurial > repos > vijay > pancancer_visualize_decisions
comparison visualize_decisions.xml @ 0:f6dd27775d28 draft default tip
"planemo upload for repository http://github.com/nvk747/papaa/galaxy/ commit 954b283ef7f82f59f55476a4b3a230d655187ac1"
author | vijay |
---|---|
date | Wed, 16 Dec 2020 23:30:56 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f6dd27775d28 |
---|---|
1 <tool id="pancancer_visualize_decisions" name="PAPAA: PanCancer visualize decisions" version="@VERSION@"> | |
2 <description>visualize decisions</description> | |
3 <macros> | |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <expand macro="requirements"/> | |
7 <expand macro="stdio"/> | |
8 <version_command><![CDATA['papaa_visualize_decisions.py' --version]]></version_command> | |
9 <command><![CDATA[ | |
10 mkdir 'classifier' && | |
11 ln -s '${classifier_decisions}' 'classifier/classifier_decisions.tsv' && | |
12 papaa_visualize_decisions.py | |
13 --classifier_decisions 'classifier' | |
14 #if str($custom): | |
15 --custom '$custom' | |
16 #end if | |
17 > '${log}' | |
18 ]]> | |
19 </command> | |
20 <inputs> | |
21 <param argument="--classifier_decisions" label="pancancer decisions" name="classifier_decisions" optional="false" type="data" format="tabular" help="classifier_decisions.tsv"/> | |
22 <param area="false" argument="--custom" label="comma separated list of columns to plot" name="custom" optional="true" type="text"/> | |
23 </inputs> | |
24 <outputs> | |
25 <data format="txt" name="log" label="${tool.name} on ${on_string} (Log)"/> | |
26 <collection name="classifier_decisions_figures" type="list" label="Disease classifier decisions figures"> | |
27 <discover_datasets pattern="decision_plot_(?P<identifier_0>.+)\.pdf" format="pdf" directory="classifier/figures" visible="false" /> | |
28 </collection> | |
29 <data format="pdf" name="total_decisions" label="${tool.name} on ${on_string} (total_decisions.pdf)" from_work_dir="classifier/figures/total_decisions.pdf"/> | |
30 <data format="pdf" name="hyper_mutated" label="${tool.name} on ${on_string} (hyper_mutated.pdf)" from_work_dir="classifier/figures/hyper_mutated.pdf" /> | |
31 <collection name="custom_classifier_decisions_figures" type="list" label="custom classifier decisions figures"> | |
32 <filter>custom != ""</filter> | |
33 <discover_datasets pattern="(?P<identifier_0>.+)_decision_plot\.pdf" format="pdf" directory="classifier" visible="false" /> | |
34 </collection> | |
35 </outputs> | |
36 <tests> | |
37 <test> | |
38 <param name="classifier_decisions" value="classifier_decisions.tsv" ftype="tabular"/> | |
39 <output_collection name="classifier_decisions_figures" type="list"> | |
40 <element name="OV" file="OV.pdf" compare="sim_size" delta="50"/> | |
41 <element name="LUAD" file="LUAD.pdf" compare="sim_size" delta="50"/> | |
42 <element name="GBM" file="GBM.pdf" compare="sim_size" delta="50"/> | |
43 </output_collection> | |
44 <output name="log" file="visualize_decisions_Log.txt"/> | |
45 <output name="total_decisions" file="total_decisions.pdf" compare="sim_size" delta="30"/> | |
46 <output name="hyper_mutated" file="hyper_mutated.pdf" compare="sim_size" delta="30"/> | |
47 </test> | |
48 </tests> | |
49 <help><![CDATA[ | |
50 **Pancancer_Aberrant_Pathway_Activity_Analysis scripts/papaa_visualize_decisions.py:** | |
51 | |
52 **Inputs:** | |
53 --classifier_decisions String of the folder location of classifier_decisions.tsv | |
54 --custom comma separated list of columns to plot (optional: True) | |
55 | |
56 **Outputs:** | |
57 Visualize decision function for all samples ("total_decisions.pdf") | |
58 | |
59 Plot disease type specific decision functions ("decision_plot_{}.pdf") | |
60 | |
61 Visualize decision function for hyper mutated tumors ("hyper_mutated.pdf") ]]> | |
62 </help> | |
63 <expand macro="citations" /> | |
64 </tool> |