20
|
1 <tool id="intersectsig" name="test overlap">
|
|
2 <description>of two interval lists</description>
|
|
3 <command interpreter="python"> intersectSig.py $fileA $fileB $outfile $outplot $outshuffle $n $genome $fraction $reciprocal </command>
|
|
4 <inputs>
|
|
5 <param name="fileA" type="data" format="interval" label="Return intervals in file A" />
|
|
6 <param name="fileB" type="data" format="interval" label="that overlap with intervals in file B" />
|
|
7 <param name="genome" type="select" label="Select genome">
|
|
8 <option value="/Users/xuebing/galaxy-dist/tool-data/genome/chrsize/mouse.mm9.genome" selected="true">mm9</option>
|
|
9 <option value="/Users/xuebing/galaxy-dist/tool-data/genome/chrsize/mouse.mm8.genome">mm8</option>
|
|
10 <option value="/Users/xuebing/galaxy-dist/tool-data/genome/chrsize/human.hg18.genome">hg18</option>
|
|
11 <option value="/Users/xuebing/galaxy-dist/tool-data/genome/chrsize/human.hg19.genome">hg19</option>
|
|
12 </param>
|
|
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)."/>
|
|
14 <param name="reciprocal" label="Require that the fraction overlap be reciprocal for A and B" type="boolean" truevalue="-r" falsevalue="" checked="False"/>
|
|
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"/>
|
|
16 </inputs>
|
|
17 <outputs>
|
|
18 <data format="interval" name="outfile" label="${tool.name} on ${on_string}:overlap"/>
|
|
19 <data format="txt" name="outshuffle" label="${tool.name} on ${on_string}:null"/>
|
|
20 <data format="pdf" name="outplot" label="${tool.name} on ${on_string}:plot"/>
|
|
21 </outputs>
|
|
22 <help>
|
|
23
|
|
24 **What it does**
|
|
25
|
|
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.
|
|
27
|
|
28 </help>
|
|
29 </tool>
|
|
30
|