annotate venn_diagram.xml @ 0:3d1097835b2f draft default tip

Imported from capsule None
author jjohnson
date Mon, 22 Sep 2014 11:54:41 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
1 <tool name="Venn Diagram" id="ceas_venn" version="0.1.0">
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
2 <description>Given 2 or 3 intervals, generate a venn diagram of their intersections</description>
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
3 <macros>
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
4 <import>corr_macros.xml</import>
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
5 </macros>
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
6 <expand macro="requirements" />
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
7 <command>
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
8 #if not bool(str($bf1label))
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
9 #set $bf1label=$bfile1.name
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
10 #end if
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
11 #if not bool(str($bf2label))
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
12 #set $bf2label=$bfile2.name
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
13 #end if
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
14 #if not bool(str($bf3label))
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
15 #set $bf3label=$bfile3.name
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
16 #end if
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
17 venn_diagram.py $bfile1 $bfile2 $bfile3 -H $height -W $width -t "$title" -l "$bf1label" -l "$bf2label" -l "$bf3label" &amp;> $log;
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
18 </command>
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
19 <inputs>
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
20 <param ftype="interval" format="bed" name="bfile1" type="data" label="BED file 1(total number of lines in the 3 files should not exceed 100,000)"/>
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
21 <param name="bf1label" type="text" label="Bed file 1 label:" optional="true"/>
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
22 <param ftype="interval" format="bed" name="bfile2" type="data" label="BED file 2(total number of lines in the 3 files should not exceed 100,000)"/>
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
23 <param name="bf2label" type="text" label="Bed file 2 label:" optional="true"/>
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
24 <param ftype="interval" format="bed" name="bfile3" type="data" label="BED file 3(total number of lines in the 3 files should not exceed 100,000)" optional="true"/>
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
25 <param name="bf3label" type="text" label="Bed file 3 label:" optional="true"/>
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
26 <param name="height" type="integer" label="Pic Height" value="500">
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
27 <validator type="in_range" max="5000" min="500" message="Pic Height is out of range, Pic Height has to be between 500 to 5000" />
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
28 </param>
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
29 <param name="width" type="integer" label="Pic Width" value="500">
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
30 <validator type="in_range" max="5000" min="500" message="Pic Width is out of range, Pic Width has to be between 500 to 5000" />
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
31 </param>
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
32 <param name="title" type="text" label="Diagram title" value="Bed Venn Diagram"/>
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
33 <param name="porportional" type="boolean" label="Draw Porportional Diagrams" checked="yes"
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
34 truevalue="" falsevalue="-n" />
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
35 </inputs>
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
36 <outputs>
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
37 <data format="png" name="output" from_work_dir="venn_diagram.png"/>
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
38 <data format="txt" name="log" label="log file" />
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
39 </outputs>
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
40 <expand macro="stdio"/>
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
41 <configfiles>
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
42 <configfile name="shscript">
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
43 #!/bin/bash
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
44 #import os
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
45
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
46 #include source=$script_chars#
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
47
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
48 #set $path = os.path.abspath($__app__.config.tool_path)
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
49
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
50 ##Note: the third bed file is optional, if it is not specified, we duplicate
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
51 ##the second file as the third argument
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
52 THIRD=$bfile3
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
53 if [ $bfile3 = "None" ]; then ##duplicate the second arg
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
54 THIRD=$bfile2
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
55 lines=`wc -l $bfile1 $bfile2 | tail -1 | awk '{print ${dollar}1}'`
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
56 else
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
57 lines=`wc -l $bfile1 $bfile2 ${dollar}THIRD | tail -1 | awk '{print ${dollar}1}'`
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
58 fi
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
59
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
60 ##check the format of the 3 bed files
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
61 format1='passed' ##`$path/validation/fcfunc.py $bfile1`
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
62 format2='passed' ##`$path/validation/fcfunc.py $bfile2`
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
63 format3='passed' ##`$path/validation/fcfunc.py ${dollar}THIRD`
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
64
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
65 #if not bool(str($bf1label))
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
66 #set $bf1label=$bfile1.name
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
67 #end if
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
68 #if not bool(str($bf2label))
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
69 #set $bf2label=$bfile2.name
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
70 #end if
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
71 #if not bool(str($bf3label))
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
72 #set $bf3label=$bfile3.name
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
73 #end if
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
74
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
75 #set $tlablelen1=len(str($bf1label))
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
76 #set $tlablelen2=len(str($bf2label))
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
77 #set $tlablelen3=len(str($bf3label))
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
78 #set $tlablelen4=len(str($title))
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
79
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
80 if [[ ${dollar}lines -gt 100000 ]];then
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
81 echo "Total lines of the files exceed the limit of 100000 lines!" ${gt}${ad}2;
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
82 exit;
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
83 elif [[ ${dollar}format1 != "passed" ]];then
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
84 echo "BED file 1: ${dollar}format1" ${gt}${ad}2;
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
85 exit;
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
86 elif [[ ${dollar}format2 != "passed" ]];then
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
87 echo "BED file 2: ${dollar}format2" ${gt}${ad}2;
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
88 exit;
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
89 elif [[ ${dollar}format3 != "passed" ]];then
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
90 echo "BED file 3: ${dollar}format3" ${gt}${ad}2;
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
91 exit;
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
92 elif [[ $tlablelen1 -gt 255 ]];then
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
93 echo "Bed file 1 label is too long! 255 characters is at most!" ${gt}${ad}2
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
94 exit;
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
95 elif [[ $tlablelen2 -gt 255 ]];then
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
96 echo "Bed file 2 label is too long! 255 characters is at most!" ${gt}${ad}2
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
97 exit;
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
98 elif [[ $tlablelen3 -gt 255 ]];then
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
99 echo "Bed file 3 label is too long! 255 characters is at most!" ${gt}${ad}2
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
100 exit;
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
101 elif [[ $tlablelen4 -gt 255 ]];then
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
102 echo "Diagram title is too long! 255 characters is at most!" ${gt}${ad}2
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
103 exit;
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
104 else
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
105 venn_diagram.py $bfile1 $bfile2 $bfile3 -H $height -W $width -t "$title" -l "$bf1label" -l "$bf2label" -l "$bf3label" ${gt}${ad} $log;
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
106 cp venn_diagram.png $output;
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
107 fi
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
108 </configfile>
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
109 </configfiles>
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
110 <tests>
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
111 <test maxseconds="3600" name="VennDiagram_1">
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
112 <param name="bfile1" value="bedfile1.bed" />
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
113 <param name="bf1label" value="BedFile1" />
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
114 <param name="bfile2" value="bedfile2.bed" />
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
115 <param name="bf2label" value="BedFile2" />
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
116 <param name="bfile3" value="bedfile3.bed" />
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
117 <param name="bf3label" value="BedFile3" />
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
118 <param name="height" value="500" />
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
119 <param name="width" value="500" />
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
120 <param name="title" value="BedVennDiagram" />
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
121 <param name="porportional" value="" />
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
122 <output name="output" file="venndiagram_1/venndiagram_1.png" lines_diff = "40" />
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
123 <output name="output" file="venndiagram_1/venndiagram_1.log" lines_diff = "200" />
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
124 </test>
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
125 <test maxseconds="3600" name="VennDiagram_2">
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
126 <param name="bfile1" value="bedfile1.bed" />
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
127 <param name="bf1label" value="BedFile1" />
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
128 <param name="bfile2" value="bedfile2.bed" />
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
129 <param name="bf2label" value="BedFile2" />
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
130 <param name="bfile3" value="bedfile3.bed" />
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
131 <param name="bf3label" value="BedFile3" />
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
132 <param name="height" value="5000" />
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
133 <param name="width" value="5000" />
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
134 <param name="title" value="BedVennDiagram" />
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
135 <param name="porportional" value="" />
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
136 <output name="output" file="venndiagram_2/venndiagram_2.png" lines_diff = "40" />
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
137 <output name="output" file="venndiagram_2/venndiagram_2.log" lines_diff = "200" />
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
138 </test>
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
139 </tests>
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
140 <help>
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
141 This tool generates a venn diagram of the intersection of multiple intervals
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
142 files. The original code is written by Jacqueline Wentz and revised by
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
143 Tao Liu. It will calculate how many regions are overlapped between BED
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
144 files and use the Google Chart API to draw the final figure.
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
145
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
146 .. class:: warningmark
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
147
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
148 **CAUTION:** When three data sets are used, and their sizes differ a
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
149 lot. The figure may not be correct. But the numbers are correct.
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
150
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
151 **CAUTION:** The maximum number of lines in all the input files should
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
152 not exceed 100,000.
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
153
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
154 .. class:: warningmark
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
155
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
156 **NEED IMPROVEMENT**
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
157
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
158 -----
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
159
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
160 **Parameters**
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
161
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
162 - **BED file 1 and 2** are the two BED files to be used to calculate
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
163 the overlap.
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
164 - **BED file 3** is the third BED file to be used. It's optional.
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
165 - **BED file labels** name of the datasets displayed on the diagram
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
166 leave blank to use the default name
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
167 - **Pic Height** is the height of the final image.
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
168 - **Pic Width** is the width of the final image.
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
169 - **Diagram title** is the title of the final image.
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
170
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
171 -----
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
172
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
173 **Outputs**
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
174
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
175 - **PNG file** is the Venn diagram plot. The numbers of overlapped
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
176 regions are included in the figure.
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
177 - **LOG file** is the job log. If you see errors, please attach this in
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
178 the bug report.
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
179
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
180 -----
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
181
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
182 **summary**
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
183
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
184 For the regions in bed file, it will do a cluster first.
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
185 For example, we have 5 regions
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
186
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
187 bed A:
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
188 (200, 900)
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
189 (1000, 1200)
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
190
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
191 bed B:
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
192 (100, 300)
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
193 (700, 1100)
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
194 (1400, 1500)
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
195
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
196 Since they have overlaps, It will cluster them into 2 regions:
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
197 (100, 1200) (1400, 1500), and see whether each region
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
198 (of the 2 regions) is included in bed A or B. So,
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
199
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
200 (100, 1200) is included in bed A, B
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
201
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
202 (1400,1500) is included in bed B
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
203
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
204 Then we draw the venn diagram
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
205 </help>
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
206
3d1097835b2f Imported from capsule None
jjohnson
parents:
diff changeset
207 </tool>