Mercurial > repos > pieterlukasse > primo_multiomics
annotate ontologyvis.xml @ 6:8fa07f40d2eb
added more parameters/options and made Ontology observations file optional;
author | pieter.lukasse@wur.nl |
---|---|
date | Fri, 01 Aug 2014 17:21:30 +0200 |
parents | eb0b7889dd08 |
children | 89264646e458 |
rev | line source |
---|---|
4 | 1 <tool name="OntologyVis" id="ontologyVis" version="0.0.1"> |
2 <description>visualize 'ontology mapped' quantitative results</description> | |
3 <!-- | |
4 For remote debugging start you listener on port 8000 and use the following as command interpreter: | |
5 java -jar -Xdebug -Xrunjdwp:transport=dt_socket,address=D0100564.wurnet.nl:8000 | |
6 --> | |
7 <command interpreter="java -jar "> | |
8 OntologyAndObservationsVis.jar | |
9 -ontologyFile $ontologyFile | |
10 -ontologyObservationsFile $ontologyObservationsFile | |
11 | |
12 -maxDepth $maxDepth | |
13 -allowedOntologySubsets $allowedOntologySubsets | |
5
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
14 |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
15 -sizingType $sizingType |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
16 |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
17 -showObservationItems $showObservationItems |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
18 -oneTermOnlyAnnotation $oneTermOnlyAnnotation |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
19 -allowMultipleSuperClasses $allowMultipleSuperClasses |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
20 |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
21 -htmlReportFile $htmlReportFile |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
22 -htmlReportFilesPath $htmlReportFile.files_path |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
23 |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
24 |
4 | 25 </command> |
26 | |
27 <inputs> | |
28 | |
29 <param name="ontologyFile" type="data" format="obo" label="Ontology file (.obo)" /> | |
5
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
30 <param name="ontologyObservationsFile" type="data" format="tabular" optional="true" |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
31 label="(Optional) Ontology observations file (TSV)" /> |
4 | 32 |
33 <param name="maxDepth" type="integer" value="10" label="Maximum depth" | |
34 help="Maximum depth for the level of detail to show in the visualization"/> | |
35 | |
36 | |
37 <param name="allowedOntologySubsets" type="text" size="100" value="" label="(Optional) Ontology subsets" | |
38 help="Specify the comma-separated list of ontology subsets to use. If set, only the | |
39 ontology entries that are generic (not belonging to any subset) and ontology entries that are | |
40 marked as being part of one of the allowed subsets are added to the result list of entries."/> | |
41 | |
5
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
42 <param name="sizingType" type="select" |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
43 label="Sizing" |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
44 help="How to size the ontology terms in the final output. See details in documentation below."> |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
45 <option value="simple" selected="true">Simple sizing</option> |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
46 <option value="quantification_based">(TODO)Quantification based sizing</option> |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
47 </param> |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
48 <param name="showObservationItems" type="boolean" checked="true" |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
49 label="Display individual observation items" |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
50 help="Whether to render the individual observation items in the visualization. Disable this if you expect many (thousands) of |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
51 individual observation items per ontology entry."/> |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
52 |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
53 <param name="oneTermOnlyAnnotation" type="boolean" checked="true" |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
54 label="Use only one annotation per observation items" |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
55 help="Check this to force each observation item to keep only one of its ontology annotations, |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
56 as a form of redundancy reduction. If checked, the algorithm will |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
57 keep the ontology annotation that has most other (sibling) observation items."/> |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
58 |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
59 <param name="allowMultipleSuperClasses" type="boolean" checked="false" |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
60 label="Allow ontology terms to be nested under more than one super class" |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
61 help="Some ontology classes have multiple super classes. Check this to allow |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
62 nesting the classes under each of its super classes. Not checking this option |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
63 will cause the ontology classes that have more than one super class to |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
64 be nested under the super class that has (initially) most observation items |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
65 under it (directly or in its sub classes)."/> |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
66 |
4 | 67 </inputs> |
68 <outputs> | |
69 <data name="htmlReportFile" format="html" label="${tool.name} on ${on_string}: ontology observations report (HTML)"></data> | |
70 </outputs> | |
71 <tests> | |
72 <!-- find out how to use --> | |
73 <test> | |
74 </test> | |
75 </tests> | |
76 <help> | |
77 | |
78 .. class:: infomark | |
79 | |
80 | |
81 | |
82 **Output** | |
83 | |
5
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
84 This method will generate different visualizations to allow exploring 'ontology annotated' results. |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
85 It generates ontology circles and ontology pie chart visualizations. |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
86 |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
87 Circles: |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
88 The inner circles (white circles) are the most specific (or at depth=maximum depth) level of detail containing |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
89 the individual observation items. |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
90 |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
91 Sizing: |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
92 * Simple sizing: Each observation item is given the same size. The more observation items found for a certain ontology circle, the bigger it will be. |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
93 * Quantification based sizing: Each observation item is sized according to the given quantification column. |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
94 |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
95 Colors: |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
96 * Red borders show the items that have more than one parent in the given ontology scheme. The current visualization avoids redundancy by placing each |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
97 circle inside the parent circle where it has more siblings with observations (not yet an iterative process, so nr of siblings is calculated only at start). |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
98 |
eb0b7889dd08
added more parameters/options and made Ontology observations file optional;
pieter.lukasse@wur.nl
parents:
4
diff
changeset
|
99 |
4 | 100 |
101 </help> | |
102 </tool> |