comparison overlapBed.xml @ 1:82aac94b06c3 draft

Uploaded
author iuc
date Thu, 08 Jan 2015 14:25:51 -0500
parents b8348686a0b9
children 607c0576c6ab
comparison
equal deleted inserted replaced
0:b8348686a0b9 1:82aac94b06c3
4 <import>macros.xml</import> 4 <import>macros.xml</import>
5 </macros> 5 </macros>
6 <expand macro="requirements" /> 6 <expand macro="requirements" />
7 <expand macro="stdio" /> 7 <expand macro="stdio" />
8 <command> 8 <command>
9 overlap 9 <![CDATA[
10 -i $inputA 10 bedtools overlap
11 -i $input
11 -cols $cols 12 -cols $cols
12 &gt; $output 13 > $output
14 ]]>
13 </command> 15 </command>
14 <inputs> 16 <inputs>
15 <param format="bed,vcf,gff,gff3" name="inputA" type="data" label="BED/VCF/GFF file"/> 17 <param format="bed,vcf,gff,gff3" name="input" type="data" label="BED/VCF/GFF file"/>
16 <param name="cols" type="text" value="" area="True" size="20x10" label="Specify the columns (1-based) for the starts and ends of the features for which you’d like to compute the overlap/distance. The columns must be listed in the following order: start1,end1,start2,end2" /> 18 <param name="cols" type="data_column" multiple="True" data_ref="input"
19 label="Specify the columns for the starts and ends of the features for which you’d like to compute the overlap/distance"
20 help="The columns must be listed in the following order: start1,end1,start2,end2" />
17 </inputs> 21 </inputs>
18 <outputs> 22 <outputs>
19 <data format_source="inputA" name="output" metadata_source="inputA" label="Overlap of ${inputA.name}"/> 23 <data format_source="input" name="output" metadata_source="input" label="Overlap of ${input.name}"/>
20 </outputs> 24 </outputs>
25 <tests>
26 <test>
27 <param name="input" value="windowBed_result1.bed" ftype="bed" />
28 <param name="cols" value="2,3,5,6" />
29 <output name="output" file="overlapBed_result1.bed" ftype="bed" />
30 </test>
31 </tests>
21 <help> 32 <help>
22 33 <![CDATA[
23 **What it does** 34 **What it does**
24 35
25 overlap computes the amount of overlap (in the case of positive values) or distance (in the case of negative values) between feature coordinates occurring on the same input line and reports the result at the end of the same line. In this way, it is a useful method for computing custom overlap scores from the output of other BEDTools. 36 overlap computes the amount of overlap (in the case of positive values) or distance (in the case of negative values) between feature coordinates occurring on the same input line and reports the result at the end of the same line. In this way, it is a useful method for computing custom overlap scores from the output of other BEDTools.
26 37
27 @REFERENCES@ 38 @REFERENCES@
39 ]]>
28 </help> 40 </help>
29 <expand macro="citations" /> 41 <expand macro="citations" />
30 </tool> 42 </tool>