comparison closestBed.xml @ 0:b8348686a0b9 draft

Imported from capsule None
author iuc
date Tue, 04 Nov 2014 01:45:04 -0500
parents
children 82aac94b06c3
comparison
equal deleted inserted replaced
-1:000000000000 0:b8348686a0b9
1 <tool id="bedtools_closestbed" name="ClosestBed" version="@WRAPPER_VERSION@.0">
2 <description></description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
6 <expand macro="requirements" />
7 <expand macro="stdio" />
8 <command>
9 closestBed
10 $strand
11 $addition
12 -t $ties
13 -a $inputA
14 -b $inputB
15 &gt; $output
16 </command>
17 <inputs>
18 <param format="bed,vcf,gff,gff3" name="inputA" type="data" label="BED/VCF/GFF file"/>
19 <param format="bed,gff,vcf,gff3" name="inputB" type="data" label="overlap intervals in this BED/VCF/GFF file?"/>
20
21 <param name="ties" type="select" label="How ties for closest feature should be handled" help="This occurs when two features in B have exactly the same overlap with a feature in A.">
22 <option value="all" selected="True">all - Report all ties (default)</option>
23 <option value="first">first - Report the first tie that occurred in the B file</option>
24 <option value="last">last - Report the last tie that occurred in the B file</option>
25 </param>
26
27 <param name="strand" type="boolean" checked="false" truevalue="-s" falsevalue="" label="Force strandedness" help="That is, find the closest feature in B overlaps A on the same strand. By default, this is disabled" />
28 <param name="addition" type="boolean" checked="false" truevalue="-d" falsevalue="" label="In addition to the closest feature in B, report its distance to A as an extra column. The reported distance for overlapping features will be 0" />
29 </inputs>
30 <outputs>
31 <data format_source="inputA" name="output" metadata_source="inputA" label="Intersection of ${inputA.name} and ${inputB.name}"/>
32 </outputs>
33 <help>
34
35 **What it does**
36
37 Similar to intersectBed, closestBed searches for overlapping features in A and B. In the event that no feature in B overlaps the current feature in A, closestBed will report the closest (that is, least genomic distance from the start or end of A) feature in B. For example, one might want to find which is the closest gene to a significant GWAS polymorphism. Note that closestBed will report an overlapping feature as the closest—that is, it does not restrict to closest non-overlapping feature.
38
39 @REFERENCES@
40 </help>
41 <expand macro="citations" />
42 </tool>