annotate bed_overlap_significance.xml @ 1:4c8d2882b52e

Uploaded
author xuebing
date Sat, 31 Mar 2012 20:41:06 -0400
parents bda15bf10ab4
children 94e3d9f4ebaf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
bda15bf10ab4 Uploaded
xuebing
parents:
diff changeset
1 <tool id="intersect_significance" name="intersect_significance">
bda15bf10ab4 Uploaded
xuebing
parents:
diff changeset
2 <description>significance of two interval sets overlapping</description>
bda15bf10ab4 Uploaded
xuebing
parents:
diff changeset
3 <command interpreter="python"> bed_overlap_significance.py $fileA $fileB $outfile $outplot $outshuffle $n $genome $fraction $reciprocal </command>
bda15bf10ab4 Uploaded
xuebing
parents:
diff changeset
4 <inputs>
bda15bf10ab4 Uploaded
xuebing
parents:
diff changeset
5 <param name="fileA" type="data" format="interval" label="Return intervals in file A" />
bda15bf10ab4 Uploaded
xuebing
parents:
diff changeset
6 <param name="fileB" type="data" format="interval" label="that overlap with intervals in file B" />
bda15bf10ab4 Uploaded
xuebing
parents:
diff changeset
7 <param name="genome" type="select" label="Select chromsome size file" >
bda15bf10ab4 Uploaded
xuebing
parents:
diff changeset
8 <options from_file="chrsize.loc">
bda15bf10ab4 Uploaded
xuebing
parents:
diff changeset
9 <column name="name" index="0"/>
bda15bf10ab4 Uploaded
xuebing
parents:
diff changeset
10 <column name="value" index="1"/>
bda15bf10ab4 Uploaded
xuebing
parents:
diff changeset
11 </options>
bda15bf10ab4 Uploaded
xuebing
parents:
diff changeset
12 </param>
bda15bf10ab4 Uploaded
xuebing
parents:
diff changeset
13 <param name="fraction" size="10" type="float" value="1e-9" label="Minimum overlap required as a fraction of interval in file A" help="Default is 1E-9 (i.e., 1bp)."/>
bda15bf10ab4 Uploaded
xuebing
parents:
diff changeset
14 <param name="reciprocal" label="Require that the fraction overlap be reciprocal for A and B" type="boolean" truevalue="-r" falsevalue="" checked="False"/>
bda15bf10ab4 Uploaded
xuebing
parents:
diff changeset
15 <param name="n" size="10" type="integer" value="100" label="Number of permutations to run" help="File A is shuffled this number of times and the number of random overlaps is used to estimate the null distribution and compute the p value"/>
bda15bf10ab4 Uploaded
xuebing
parents:
diff changeset
16 </inputs>
bda15bf10ab4 Uploaded
xuebing
parents:
diff changeset
17 <outputs>
bda15bf10ab4 Uploaded
xuebing
parents:
diff changeset
18 <data format="interval" name="outfile" label="${tool.name} on ${on_string}:overlap"/>
bda15bf10ab4 Uploaded
xuebing
parents:
diff changeset
19 <data format="txt" name="outshuffle" label="${tool.name} on ${on_string}:null"/>
bda15bf10ab4 Uploaded
xuebing
parents:
diff changeset
20 <data format="pdf" name="outplot" label="${tool.name} on ${on_string}:plot"/>
bda15bf10ab4 Uploaded
xuebing
parents:
diff changeset
21 </outputs>
bda15bf10ab4 Uploaded
xuebing
parents:
diff changeset
22 <help>
bda15bf10ab4 Uploaded
xuebing
parents:
diff changeset
23
bda15bf10ab4 Uploaded
xuebing
parents:
diff changeset
24 **What it does**
bda15bf10ab4 Uploaded
xuebing
parents:
diff changeset
25
bda15bf10ab4 Uploaded
xuebing
parents:
diff changeset
26 This tool uses intersectBed to find intervals in the first dataset that overlap with intervals in the second dataset. To estimate the significance of the overlap, the first dataset is shuffled then intersect with the second dataset to generate a null distribution of the number of overlaps. The tool returns venn diagram plot, histogram of the null distribution, overlapped intervals from the first input, and the null distribution of overlaps.
bda15bf10ab4 Uploaded
xuebing
parents:
diff changeset
27
bda15bf10ab4 Uploaded
xuebing
parents:
diff changeset
28 </help>
bda15bf10ab4 Uploaded
xuebing
parents:
diff changeset
29 </tool>
bda15bf10ab4 Uploaded
xuebing
parents:
diff changeset
30