0
|
1 <tool id="spatialproximity" name="spatial proximity">
|
|
2 <description>of two interval sets</description>
|
|
3 <command interpreter="python">spatial_proximity.py $inputa $inputb $genome $outplot $outlog $outbed $strandness
|
|
4 </command>
|
|
5 <inputs>
|
|
6 <param name="inputa" format="interval" type="data" label="Interval set 1" />
|
|
7 <param name="inputb" format="interval" type="data" label="Interval set 2" />
|
|
8 <param name="genome" type="select" label="Select chromsome size file" >
|
|
9 <options from_file="chrsize.loc">
|
|
10 <column name="name" index="0"/>
|
|
11 <column name="value" index="1"/>
|
|
12 </options>
|
|
13 </param>
|
|
14 <param name="strandness" type="select" label="Strand requirement" >
|
|
15 <option value="" selected="true"> none </option>
|
|
16 <option value="-s" > -s: closest feature on the same strand</option>
|
|
17 <option value="-S" > -S: closest feature on the opposite strand </option>
|
|
18 </param>
|
|
19 </inputs>
|
|
20 <outputs>
|
|
21 <data format="input" name="outbed" label="${tool.name} on ${on_string}: (bed)" />
|
|
22 <data format="pdf" name="outplot" label="${tool.name} on ${on_string}: (plot)" />
|
|
23 <data format="txt" name="outlog" label="${tool.name} on ${on_string}: (log)" />
|
|
24 </outputs>
|
|
25 <help>
|
|
26
|
|
27 .. class:: infomark
|
|
28
|
|
29 for each feature in the first interval set, find the closest in the second set, then compared the distance distribution to shuffled set 1.
|
|
30
|
|
31 </help>
|
|
32 </tool>
|