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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
1 <tool name="OntologyVis" id="ontologyVis" version="0.0.1">
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
2 <description>visualize 'ontology mapped' quantitative results</description>
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
3 <!--
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
4 For remote debugging start you listener on port 8000 and use the following as command interpreter:
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
5 java -jar -Xdebug -Xrunjdwp:transport=dt_socket,address=D0100564.wurnet.nl:8000
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
6 -->
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
7 <command interpreter="java -jar ">
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
8 OntologyAndObservationsVis.jar
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
9 -ontologyFile $ontologyFile
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
10 -ontologyObservationsFile $ontologyObservationsFile
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
11
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
12 -maxDepth $maxDepth
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
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
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
25 </command>
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
26
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
27 <inputs>
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
28
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
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
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
32
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
33 <param name="maxDepth" type="integer" value="10" label="Maximum depth"
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
34 help="Maximum depth for the level of detail to show in the visualization"/>
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
35
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
36
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
37 <param name="allowedOntologySubsets" type="text" size="100" value="" label="(Optional) Ontology subsets"
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
38 help="Specify the comma-separated list of ontology subsets to use. If set, only the
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
39 ontology entries that are generic (not belonging to any subset) and ontology entries that are
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
40 marked as being part of one of the allowed subsets are added to the result list of entries."/>
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
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
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
67 </inputs>
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
68 <outputs>
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
69 <data name="htmlReportFile" format="html" label="${tool.name} on ${on_string}: ontology observations report (HTML)"></data>
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
70 </outputs>
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
71 <tests>
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
72 <!-- find out how to use -->
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
73 <test>
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
74 </test>
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
75 </tests>
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
76 <help>
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
77
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
78 .. class:: infomark
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
79
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
80
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
81
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
82 **Output**
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
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
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
100
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
101 </help>
b868e946247a Adding ontologyVis tool
pieter.lukasse@wur.nl
parents:
diff changeset
102 </tool>