annotate venn_diagram.xml @ 0:6f22d2726103 draft default tip

planemo upload
author lnguyen
date Fri, 15 Sep 2017 09:32:19 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
1 <?xml version="1.0"?>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
2 <tool id="Jvenn" name="Venn diagram plotter" version="1.0">
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
3 <description>An integrative tool for comparing up to 6 ID lists with Venn Diagrams (based on Jvenn).
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
4 </description>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
5 <command><![CDATA[
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
6 python $__tool_directory__/venn_diagram.py
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
7
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
8 #for $i, $s in enumerate($series)
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
9 --input
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
10 #if $s.se.input == "file"
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
11 "$s.se.file" "$s.se.name" "file" "$s.se.header" "$s.se.ncol"
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
12 #else
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
13 "$s.se.list" "$s.se.name" "list"
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
14 #end if
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
15 #end for
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
16 --summary "$output_summary"
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
17 ]]></command>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
18 <inputs>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
19 <!-- Files -->
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
20 <repeat name="series" title="Lists to compare" min="2" max="6" >
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
21 <conditional name="se" >
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
22 <param type="select" name="input" label="Please provide your identifiers" help="Copy/paste or ID list from a file (e.g. table)" >
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
23 <option value="list">Copy/paste your identifiers </option>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
24 <option value="file">Input file containing your identifiers</option>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
25
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
26 </param>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
27 <when value="file">
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
28 <param type="data" name="file" format="txt,tabular" label="Choose a file that contains your list of IDs" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
29 <param name="header" type="boolean" checked="true" truevalue="true" falsevalue="false" label="Does your input file contain header?" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
30 <param type="text" name="ncol" value="c1" label="Please specify the column where you would like to apply the comparison" help ='For example, fill in "c1" if you want to filter the first column' />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
31 <param type="text" name="name" value="" label="Please enter the name of this list" help="This name will be displayed on venn diagram" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
32 </when>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
33 <when value="list">
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
34 <param type="text" name="list" label="Copy/paste your identifiers" help='IDs must be separated by spaces into the form field, for example: P31946 P62258' >
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
35 <sanitizer>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
36 <valid initial="string.printable">
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
37 <remove value="&apos;"/>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
38 </valid>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
39 <mapping initial="none">
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
40 <add source="&apos;" target="__sq__"/>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
41 </mapping>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
42 </sanitizer>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
43 </param>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
44 <param type="text" name="name" value="" label="Please enter the name of this list" help="This name will be displayed on venn diagram" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
45 </when>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
46 </conditional>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
47 </repeat>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
48 </inputs>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
49 <outputs>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
50 <data format="html" name="output_summary" label="Venn diagram" from_work_dir="venn_diagram_summary.html" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
51 <data format="tabular" name="output_text" label="Venn diagram text output" from_work_dir="venn_diagram_text_output.txt" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
52 </outputs>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
53 <tests>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
54 <test>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
55 <repeat name="series">
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
56 <conditional name="se">
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
57 <param name="input" value="mq_file" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
58 <param name="mq_file" value="DESeq.txt" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
59 <param name="header" value="false" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
60 <param name="ncol" value="c1" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
61 <param name="name" value="DESeq" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
62 </conditional>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
63 </repeat>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
64 <repeat name="series">
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
65 <conditional name="se">
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
66 <param name="input" value="mq_file" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
67 <param name="mq_file" value="FQ.txt" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
68 <param name="header" value="false" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
69 <param name="ncol" value="c1" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
70 <param name="name" value="FQ" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
71 </conditional>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
72 </repeat>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
73 <repeat name="series">
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
74 <conditional name="se">
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
75 <param name="input" value="mq_file" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
76 <param name="mq_file" value="RPKM.txt" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
77 <param name="header" value="false" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
78 <param name="ncol" value="c1" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
79 <param name="name" value="RPKM" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
80 </conditional>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
81 </repeat>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
82 <repeat name="series">
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
83 <conditional name="se">
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
84 <param name="input" value="mq_file" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
85 <param name="mq_file" value="TC.txt" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
86 <param name="header" value="false" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
87 <param name="ncol" value="c1" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
88 <param name="name" value="TC" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
89 </conditional>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
90 </repeat>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
91 <repeat name="series">
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
92 <conditional name="se">
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
93 <param name="input" value="mq_file" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
94 <param name="mq_file" value="TMM.txt" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
95 <param name="header" value="false" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
96 <param name="ncol" value="c1" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
97 <param name="name" value="TMM" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
98 </conditional>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
99 </repeat>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
100 <repeat name="series">
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
101 <conditional name="se">
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
102 <param name="input" value="mq_file" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
103 <param name="mq_file" value="UQ.txt" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
104 <param name="header" value="false" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
105 <param name="ncol" value="c1" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
106 <param name="name" value="UQ" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
107 </conditional>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
108 </repeat>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
109 <output name="output_summary" file="venn_diagram_summary.html" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
110 <output name="output_text" file="venn_diagram_text_output.txt" />
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
111
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
112 </test>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
113 </tests>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
114 <help>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
115
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
116 This tool draw a venn diagram from lists/files using Jvenn plug-in (http://jvenn.toulouse.inra.fr/app/index.html). It also creates output files that contain common or specific elements between query and each compared lists/files.
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
117
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
118 **Inputs**
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
119
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
120 * **Query file:** A file containing different information of proteins, could be output of previous components.
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
121
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
122 * **File of a list of IDs:** .TXT format, each line contains 1 ID
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
123
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
124 AMY1A
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
125
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
126 ALB
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
127
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
128 IGKC
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
129
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
130 CSTA
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
131
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
132 IGHA1
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
133
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
134 ACTG1
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
135
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
136 * **List of IDs:** IDs separated by a space
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
137 AMY1A ALB IGKC CSTA IGHA1 ACTG1
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
138
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
139 If you choose a file, it is necessary to specify the column where you would like to perform the comparison.
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
140
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
141 **Outputs**
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
142
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
143 * **Summary file** (venn_diagram_summary.html):
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
144 Venn diagram: Could be downloaded as image (PNG, SVG)
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
145
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
146 * **Venn text output file**
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
147 A text file containing common/specific elements among compared lists/files.
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
148
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
149 -----
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
150
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
151 .. class:: infomark
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
152
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
153 **Authors**
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
154
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
155 Philippe Bardou, Jérôme Mariette, Frédéric Escudié, Christophe Djemiel and Christophe Klopp. jvenn: an interactive Venn diagram viewer. BMC Bioinformatics 2014, 15:293 doi:10.1186/1471-2105-15-293
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
156
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
157 .. class:: infomark
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
158
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
159 **Galaxy integration**
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
160
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
161 T.P. Lien Nguyen, Florence Combes, Yves Vandenbrouck CEA, INSERM, CNRS, Grenoble-Alpes University, BIG Institute, FR
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
162 Sandra Dérozier, Olivier Rué, Christophe Caron, Valentin Loux INRA, Paris-Saclay University, MAIAGE Unit,Migale Bioinformatics platform
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
163
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
164 Contact support@proteore.org for any questions or concerns about the Galaxy implementation of this tool.
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
165
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
166 </help>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
167 <citations>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
168 </citations>
6f22d2726103 planemo upload
lnguyen
parents:
diff changeset
169 </tool>